GithubHelp home page GithubHelp logo

Comments (4)

BetaCat0 avatar BetaCat0 commented on June 3, 2024

I noticed that the allocated JSON data becomes invalid after being sent back to ClickHouse. The code provided below constructs SQL without escaping special characters, as indicated in the ClickHouse official documentation. It appears that there might be a workaround by escaping these characters before sending them. However, I am uncertain if this is the correct approach to resolving the issue.

from ilogtail.

starriesWEB avatar starriesWEB commented on June 3, 2024

这个不是 flusher 的 bug,是 ck 的问题
比如:插入时是 \",入库时就是 "
我前几天遇到的问题也是,导致 ck 的 json 函数报错,所以直接改源码,改成合适自己的业务
https://github.com/starriesWEB/ilogtail#change

from ilogtail.

BetaCat0 avatar BetaCat0 commented on June 3, 2024

这个不是 flusher 的 bug,是 ck 的问题 比如:插入时是 \",入库时就是 " 我前几天遇到的问题也是,导致 ck 的 json 函数报错,所以直接改源码,改成合适自己的业务 https://github.com/starriesWEB/ilogtail#change

好的,感谢~

from ilogtail.

linrunqi08 avatar linrunqi08 commented on June 3, 2024

@BetaCat0 @starriesWEB 方便的话可以留一下使用场景,万分感谢🙏:#693

from ilogtail.

Related Issues (20)

Recommend Projects

  • React photo React

    A declarative, efficient, and flexible JavaScript library for building user interfaces.

  • Vue.js photo Vue.js

    🖖 Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.

  • Typescript photo Typescript

    TypeScript is a superset of JavaScript that compiles to clean JavaScript output.

  • TensorFlow photo TensorFlow

    An Open Source Machine Learning Framework for Everyone

  • Django photo Django

    The Web framework for perfectionists with deadlines.

  • D3 photo D3

    Bring data to life with SVG, Canvas and HTML. 📊📈🎉

Recommend Topics

  • javascript

    JavaScript (JS) is a lightweight interpreted programming language with first-class functions.

  • web

    Some thing interesting about web. New door for the world.

  • server

    A server is a program made to process requests and deliver data to clients.

  • Machine learning

    Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.

  • Game

    Some thing interesting about game, make everyone happy.

Recommend Org

  • Facebook photo Facebook

    We are working to build community through open source technology. NB: members must have two-factor auth.

  • Microsoft photo Microsoft

    Open source projects and samples from Microsoft.

  • Google photo Google

    Google ❤️ Open Source for everyone.

  • D3 photo D3

    Data-Driven Documents codes.