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")

Related questions

0 votes
asked Aug 19, 2023 in Spark Sql by GeorgeBell
0 votes
asked Aug 18, 2023 in Spark Sql by GeorgeBell
...