Open scorpiienator opened 5 years ago
The intent for the tpch-setup.sh command is to pass the REDUCERS variable into the final stage, which checks the table creation in the line
hive -i settings/load-${SCHEMATYPE}.sql -f ddl-tpch/bin${SCHEMA_TYPE}/analyze.sql --database ${DATABASE};
But the $REDUCERS variable cannot be interpreted in load-partitioned.sql in the line
set hive.exec.reducers.max=${REDUCERS};
This results in a hive execution error
The intent for the tpch-setup.sh command is to pass the REDUCERS variable into the final stage, which checks the table creation in the line
hive -i settings/load-${SCHEMATYPE}.sql -f ddl-tpch/bin${SCHEMA_TYPE}/analyze.sql --database ${DATABASE};
But the $REDUCERS variable cannot be interpreted in load-partitioned.sql in the line
set hive.exec.reducers.max=${REDUCERS};
This results in a hive execution error