Skip to content

The ability to use options-with-dashes does not extend to query parameters. #63093

@alexey-milovidov

Description

@alexey-milovidov

Describe the issue

$ ch --max-threads 1 -q "SELECT getSetting('max_threads')"
1
$ ch --param-test 1 -q "SELECT {test:String}"
Code: 552. DB::Exception: Unrecognized option '--param-test'. (UNRECOGNIZED_ARGUMENTS)

Metadata

Metadata

Assignees

No one assigned

    Labels

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions