GithubHelp home page GithubHelp logo

Comments (9)

wendigo avatar wendigo commented on July 17, 2024 1

@mosabua can you check whether this is stated in the docs?

from trino.

wendigo avatar wendigo commented on July 17, 2024

This is not a bug. Configuration system is strict - if some configuration properties apply only when some other property is true (like in this case), unused properties are treated as error

from trino.

Akanksha-kedia avatar Akanksha-kedia commented on July 17, 2024

from trino.

Akanksha-kedia avatar Akanksha-kedia commented on July 17, 2024

@wendigo

Screenshot 2024-04-01 at 2 56 23 PM I understand your point. This is more about improving the user experience with the configuration system. While the strict configuration system helps to prevent misconfigurations, it can be tedious in cases like this where disabling a feature doesn't ignore the related properties.

from trino.

Akanksha-kedia avatar Akanksha-kedia commented on July 17, 2024

and also https://trino.io/docs/345/security/tls.html on 345.0
Screenshot 2024-04-01 at 3 06 01 PM
and having unused properties, we are successfully able to start the service.presto 3379312 1 99 09:36 ? 00:01:23 java

from trino.

wendigo avatar wendigo commented on July 17, 2024

@Akanksha-kedia as I've said - this is not a bug. Allowing unused properties does not improve user experience, just the opposite - makes the configuration more error prone. Leads to situations where typos and deprecate properties are accepted but not applied. This strictness of the configuration won't be relaxed and it's up to the user to provide a configuration that is valid. Error messages are informative enough to fix a configuration.

from trino.

wendigo avatar wendigo commented on July 17, 2024

If the incorrect configuration was somehow accepted in 345 it was definitely a bug, not a correct behavior

from trino.

Akanksha-kedia avatar Akanksha-kedia commented on July 17, 2024

Thanks for the information, can we have document this or we are good without any document regarding this.

from trino.

mosabua avatar mosabua commented on July 17, 2024

The general behavior around strictness and such?

from trino.

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.