0 votes
in Spark Sql by
How to create a table in Hive warehouse programatically from Spark

1 Answer

0 votes
by

How to create a table in Hive warehouse programatically from Spark

Answer: spark.sql("CREATE A TABLE IF NOT EXISTS table_name(column_name_1 DataType,column_name_2 DataType,......,column_name_n DataType) USING hivewarehouse")

...