If the folder has _metadata file and is not partitioned then you can use this SQL command:-
CREATE EXTERNAL TABLE tablename LIKE PARQUET 'hdfs:///_metadata' STORED AS PARQUET LOCATION 'hdfs://folder_location_of_parquet'; .
We use cookies to ensure that we give you the best experience on our website. If you continue to use this site we will assume that you are happy with it.OkRead more