Skip to content

[BUG] plugins.calcite.enabled setting does not work #3530

@penghuo

Description

@penghuo

What is the bug?
plugins.calcite.enabled setting does not work

How can one reproduce the bug?
Follow https://github.com/opensearch-project/sql/blob/main/docs/user/ppl/cmd/lookup.rst,

  • In main branch, launch OpenSearch 3.0 with SQL Plugin
./gradlew opensearch-sql:run -DdebugJVM
  • Enable calcite
curl -H 'Content-Type: application/json' -X PUT localhost:9200/_plugins/_query/settings -d '{
  "transient" : {
    "plugins.calcite.enabled" : true
  }
}'
  • Got error
{"error":{"root_cause":[{"type":"action_request_validation_exception","reason":"Validation Failed: 1: no settings to update;"}],"type":"action_request_validation_exception","reason":"Validation Failed: 1: no settings to update;"},"status":400}

What is the expected behavior?
A clear and concise description of what you expected to happen.

Do you have any screenshots?
If applicable, add screenshots to help explain your problem.

Do you have any additional context?
Add any other context about the problem.

Metadata

Metadata

Assignees

No one assigned

    Labels

    bugSomething isn't workingcalcitecalcite migration releated

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions