Giter VIP home page Giter VIP logo

Comments (3)

novikd avatar novikd commented on June 28, 2024

The new analyzer forbids invalid queries. See PR with documentation: #64643.

from clickhouse.

Algunenano avatar Algunenano commented on June 28, 2024

I'm doing some tests to ensure that things are compatible in the following corner cases:

  • Create a bad MV without the analyzer. Restart with the analyzer. Works fine.
  • Create a bad MV on cluster (replicatedmergetree, atomic databases) (analyzer on in both, off in both, on vs off, off vs on)
  • Create a bad MV on replicated database (analyzer on in both, off in both, on vs off, off vs on)

Basically verify that independently on the settings (as long as analyzer is set to some value), things will be consistent (fail everywhere or work everywhere).

from clickhouse.

Algunenano avatar Algunenano commented on June 28, 2024
  1. Worked fine. The server starts without problems.
  2. If you attempt to create the MV ON CLUSTER in the server where the analyzer in on, you get ILLEGAL_TYPE_OF_ARGUMENT and the view is not created anywhere. If you attempt to create it in the server with the analyzer is off, it's created in both servers (no matter if the other server has it on or off).
  3. Same behavior with the Replicated database engine. Analyzer=0 allows the creation (and it will propagate correctly), while analyzer=1 will prevent it.

So everything is working as expected.

from clickhouse.

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.