How to insert .gz file into hive table?

Hi ,

I have text file which is zipped as .gz file , which is loaded to HDFS directory.
Now i want to load the .gz file to hive table ?

please guide


You can use load command to load .gz file to hive table. However file format, delimiters etc need to be consistent between your table structure and files that are compressed.