Przeglądaj źródła

Re-enable text DDL creation.

cartershanklin 12 lat temu
rodzic
commit
5e0cb18bab
2 zmienionych plików z 2 dodań i 2 usunięć
  1. 1 1
      tpcds-gen/Makefile
  2. 1 1
      tpcds-setup.sh

+ 1 - 1
tpcds-gen/Makefile

@@ -12,7 +12,7 @@ tpcds_kit.zip:
 	curl --output tpcds_kit.zip http://www.tpc.org/tpcds/dsgen/dsgen-download-files.asp?download_key=NaN
 
 target/lib/dsdgen.jar: target/tools/dsdgen
-	cd target/; mkdir -p lib/; ( jar cvf lib/dsdgen.jar tools/ || gjar cvf lib/dsdgen.jar tools/ )
+	cd target/; mkdir -p lib/; gjar cvf lib/dsdgen.jar tools/
 
 target/tools/dsdgen: target/tpcds_kit.zip
 	test -d target/tools/ || (cd target; unzip tpcds_kit.zip; cd tools; cat ../../*.patch | patch -p0 )

+ 1 - 1
tpcds-setup.sh

@@ -49,7 +49,7 @@ hadoop dfs -ls ${DIR}/${SCALE} || (cd tpcds-gen; hadoop jar target/*.jar -d ${DI
 hadoop dfs -ls ${DIR}/${SCALE}
 
 # Generate the text/flat tables. These will be later be converted to ORCFile.
-# hive -i settings/load-flat.sql -f ddl/text/alltables.sql -d DB=tpcds_text_${SCALE} -d LOCATION=${DIR}/${SCALE}
+hive -i settings/load-flat.sql -f ddl/text/alltables.sql -d DB=tpcds_text_${SCALE} -d LOCATION=${DIR}/${SCALE}
 
 # Create the partitioned tables.
 for t in ${FACTS}