Open NaveenK79 opened 6 years ago
There is a bug in the script exportdatabase.py, the line 25
command="hive -f "+schema+"_tables.hql -S >> "+schema+".output"
need to be replaced as below
command="hive --database "+schema+" -f "+schema+"_tables.hql -S >> "+schema+".output"
The schema name needs to be specified in case if we are exporting from a schema other than default.
There is a bug in the script exportdatabase.py, the line 25
command="hive -f "+schema+"_tables.hql -S >> "+schema+".output"
need to be replaced as below
command="hive --database "+schema+" -f "+schema+"_tables.hql -S >> "+schema+".output"
The schema name needs to be specified in case if we are exporting from a schema other than default.