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

matlab - error with cyclic autocorrelation function -

django - (fields.E300) Field defines a relation with model 'AbstractEmailUser' which is either not installed, or is abstract -

c# - What is a good .Net RefEdit control to use with ExcelDna? -