cancel
Showing results forย 
Search instead forย 
Did you mean:ย 
Data Engineering
cancel
Showing results forย 
Search instead forย 
Did you mean:ย 

How to count the column in hive?

Kaniz
Community Manager
Community Manager
 
2 REPLIES 2

spark-user
Contributor

Hi Kaniz,

You can get the number of columns of a single table within your database through the following command

describe databaseName.tableName;

Kaniz
Community Manager
Community Manager

Thank you so much @Spark Userโ€‹ !

Welcome to Databricks Community: Lets learn, network and celebrate together

Join our fast-growing data practitioner and expert community of 80K+ members, ready to discover, help and collaborate together while making meaningful connections. 

Click here to register and join today! 

Engage in exciting technical discussions, join a group with your peers and meet our Featured Members.