46944/how-to-find-the-default-database-in-hive
Hi. I am new to Hive and I was going through the commands. While reading about the USE command I saw 2 usage.
My question is that when I use the default database, how will I know which database I am using? Is there a way to know which is the default database?
Yes, you can find out which database is the default database. For that, you will first, change to the default database:
USE DEFAULT;
and then display the current database:
SELECT current_database()
Well, what you can do is use ...READ MORE
hdfs dfsadmin -report This command tells fs ...READ MORE
You can try this: CREATE TABLE temp ...READ MORE
You can get the column names by ...READ MORE
Firstly you need to understand the concept ...READ MORE
org.apache.hadoop.mapred is the Old API org.apache.hadoop.mapreduce is the ...READ MORE
Hi, You can create one directory in HDFS ...READ MORE
In your case there is no difference ...READ MORE
Hey, This step shows the configuration properties you ...READ MORE
To compress the output of the MapReduce ...READ MORE
OR
At least 1 upper-case and 1 lower-case letter
Minimum 8 characters and Maximum 50 characters
Already have an account? Sign in.