Use hue to import data from excel or csv into hive table

foreword

This method uses hue directly without having to build a table in hive in advance, which is very convenient


1. Click the button in the upper left corner to go to the file page

2. Click ➕ to upload the excel, txt, and csv files stored on your computer to the server. After uploading successfully, you can see the files you uploaded below (dau for tableau .csv )

3. Right-click the file just uploaded, click open in importer

4. In the name, just the name of the table you want to create

The field name and type can be modified below

 

5. Submit directly after the upload is complete, and the data in excel will be successfully imported into the hive table.


Summarize

If this article is helpful to you, I hope that the big guys can follow, like, bookmark, comment and support a wave, thank you very much!
Please correct me if I am wrong!!!

Forward: https://blog.csdn.net/weixin_41640828/article/details/107696874

Guess you like

Origin blog.csdn.net/weixin_42326851/article/details/131661477