I want to create an external hive table in spark AWS with just the schema and 0 records. Expectation is when i select the external hive table, i should see just the schema with no records.
Asked
Active
Viewed 70 times
0
-
1what are you trying which is giving error/problem achieving this ? – Gaurang Shah Oct 13 '20 at 14:51
-
can you use `CREATE TABLE xtmp LIKE tmp` ? This will create empty table. – Koushik Roy Oct 14 '20 at 05:02