例如:
hive -e "select '\t' as a, ',' as b, 1 as c" > output.txt
制表符在输出文件中不会转义,即使它们用作分隔符。如何确保在从配置单元输出数据时可以使用完整的ascii字符Map?
jum4pzuy1#
如果有帮助,请尝试以下答案:
select "\\t" as a, "\," as b
1条答案
按热度按时间jum4pzuy1#
如果有帮助,请尝试以下答案: