Parcourir la source

Use bigint for orderkey

Mostafa Mokhtar il y a 10 ans
Parent
commit
fe01d1114c
1 fichiers modifiés avec 2 ajouts et 2 suppressions
  1. 2 2
      ddl-tpch/bin_flat/alltables.sql

+ 2 - 2
ddl-tpch/bin_flat/alltables.sql

@@ -3,7 +3,7 @@ use ${DB};
 
 drop table if exists lineitem;
 create external table lineitem 
-(L_ORDERKEY INT,
+(L_ORDERKEY BIGINT,
  L_PARTKEY INT,
  L_SUPPKEY INT,
  L_LINENUMBER INT,
@@ -84,7 +84,7 @@ LOCATION '${LOCATION}/customer';
 
 drop table if exists orders;
 create external table orders (O_ORDERKEY INT,
- O_CUSTKEY INT,
+ O_CUSTKEY BIGINT,
  O_ORDERSTATUS STRING,
  O_TOTALPRICE DOUBLE,
  O_ORDERDATE STRING,