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

Popular posts from this blog

java - Static nested class instance -

Python Pandas join aggregated tables -

process - Python What is the difference between a Pool of worker processes and just running multiple Processes? -