How to Create a Database in Spark SQL -
how create database or multiple databases in sparksql. executing sql spark-sql cli. query in hive create database sample_db
not work here. have hadoop 2.7 , spark 1.6 installed on system.
spark.sql("create database test") //fetch metadata data catalog. database name listed here spark.catalog.listdatabases.show(false)
Comments
Post a Comment