Find centralized, trusted content and collaborate around the technologies you use most.
Teams
Q&A for work
Connect and share knowledge within a single location that is structured and easy to search.
我正在尝试使用 sqoop 配置一个 mysql 表,该表有一列存储包含换行符的 json 数据。为了处理配置单元默认分隔符,我尝试使用 sqoop 的 --lines-terminated-by '\u002' 选项更改行分隔符。Sqoop 给出错误说 --lines-terminated-by 只需要 '\n'。--hive-drop-import-delim 选项允许通过删除换行符来导入数据。有没有办法将数据完整地作为文本文件导入配置单元?