V2EX = way to explore
V2EX 是一个关于分享和探索的地方
Sign Up Now
For Existing Member  Sign In
• 请不要在回答技术问题时复制粘贴 AI 生成的内容
chenxiaojie
V2EX  ›  程序员

Datax 换行符导致数据错误,怎么解决?

  •  
  •   chenxiaojie · Jul 11, 2019 · 2520 views
    This topic created in 2481 days ago, the information mentioned may be changed or developed.

    如题,datax 抽取 mysql 数据的时候,换行符导致最终数据文件错误。

    当前方案:数据抽取时,使用 sql 替换换行符,但效率低,感觉实现逻辑也比较反人类,字段多一点处理起来会很恶心

    请问,有没有其他方式能够解决这个问题?谢谢!

    No Comments Yet
    About   ·   Help   ·   Advertise   ·   Blog   ·   API   ·   FAQ   ·   Solana   ·   947 Online   Highest 6679   ·     Select Language
    创意工作者们的社区
    World is powered by solitude
    VERSION: 3.9.8.5 · 35ms · UTC 22:40 · PVG 06:40 · LAX 15:40 · JFK 18:40
    ♥ Do have faith in what you're doing.