Hi All,

i have to change default database of hive

when running query in hive i used to give use pdbqa in hive-init script and
initialize hive using

hive -i hiveinit

but how to do it in spark-sql so that it wont use default database for udfs
and tables

is there anyway i can mention default database of hive in hive-site.xml

i know.i can use aliasing and call dbname.tablename but this is not
feasible when using udfs

Regards,
Sirisha

Reply via email to