Updated on 2022-02-22 GMT+08:00

Can I Export the Query Result of Hive Data?

Run the following statement to export the query result of Hive data:

insert overwrite local directory "/tmp/out/" row format delimited fields terminated by "\t" select * from table;