Hive: Change data format for DDL output

0 votes
Hi. How can I change the data format for DDL output to json format. For example, when I use the DESCRIBE command to get the table information, the output is in plain text, I want this output to be in json. How can I do this?
May 20 in Big Data Hadoop by Ron
36 views

1 answer to this question.

0 votes

By default, the DDL output is set to text. To get the data in json format, you'll have to mention it while using the hive command. Refer to the syntax below:

$ hive --hiveconf hive.ddl.output.format="json"
answered May 20 by Karan

Related Questions In Big Data Hadoop

0 votes
1 answer
0 votes
1 answer

How can you change a column data type in Hive?

Hi, By using this command below one can ...READ MORE

answered Jun 24 in Big Data Hadoop by Gitika
• 25,340 points
43 views
0 votes
1 answer

Hadoop for data migration

You can use Hadoop for these kinds ...READ MORE

answered Apr 18, 2018 in Big Data Hadoop by kurt_cobain
• 9,260 points
145 views
0 votes
1 answer
0 votes
1 answer

Hadoop Mapreduce word count Program

Firstly you need to understand the concept ...READ MORE

answered Mar 16, 2018 in Data Analytics by nitinrawat895
• 10,690 points
3,028 views
0 votes
1 answer

hadoop.mapred vs hadoop.mapreduce?

org.apache.hadoop.mapred is the Old API  org.apache.hadoop.mapreduce is the ...READ MORE

answered Mar 16, 2018 in Data Analytics by nitinrawat895
• 10,690 points
339 views
0 votes
10 answers

hadoop fs -put command?

put syntax: put <localSrc> <dest> copy syntax: copyFr ...READ MORE

answered Dec 7, 2018 in Big Data Hadoop by Aditya
14,954 views
0 votes
1 answer

Hadoop dfs -ls command?

In your case there is no difference ...READ MORE

answered Mar 16, 2018 in Big Data Hadoop by kurt_cobain
• 9,260 points
1,112 views
0 votes
2 answers

Hey for all, how to get on large data i want use in hadoop?

Hi, To work with Hadoop you can also ...READ MORE

answered Jul 30 in Big Data Hadoop by Sunny
48 views
0 votes
1 answer

What is the command to know the details of your data created in a table in Hive?

Hey, Yes, there is a way to check ...READ MORE

answered May 14 in Big Data Hadoop by Gitika
• 25,340 points
137 views