Support Questions
Find answers, ask questions, and share your expertise
Announcements
Alert: Welcome to the Unified Cloudera Community. Former HCC members be sure to read and learn how to activate your account here.

Read schema in metastore hive

Highlighted

Read schema in metastore hive

Explorer

Hi all,

 

I have tables in the landing area in textFile format with snappy compression, This information want to read without using Hive methods (register temporal table, read table etc) that´s why I want to read hdfs path and create dataframe with a structType for example.

 

The cuestion is, How to read schema in the Hive Metastore without read data. I look in the scaladoc (hiveContext) for a method that read schema table but I didn`t find it.

 

Best Regards.

 

Un saludo.