Logo Questions Linux Laravel Mysql Ubuntu Git Menu
 

Query to Show only column names in impala

In hive we can do "show columns in TABLE_NAME", to get only column name of a table.But I want a query to show only column names of a table in IMPALA.How can i get only the column names of a table in IMPALA?

like image 854
Biswa Patra Avatar asked Sep 17 '25 21:09

Biswa Patra


1 Answers

you can use describe db.tablename

like image 99
kishor ahire Avatar answered Sep 19 '25 13:09

kishor ahire