Skip to content

[BUG] OpenSearch SQL Plugin doesn't respect ignore_malformed mapping rule #601

Closed

Description

@BenKugler

What is the bug?
SQL queries don't ignore malformed/no type entries

How can one reproduce the bug?
Steps to reproduce the behavior:

  1. Create data that doesn't have a mapped type
  2. Query all entries in dev tools using SQL plugin
  3. See error
{
  "error": {
    "type": "IllegalStateException",
    "reason": "There was internal problem at backend",
    "details": "No type found for field: nested.nested.text."
  },
  "status": 503
}
  • I would expect this mapping to be ignored as it's invalid

What is your host/environment?

  • OpenSearch 1.2 hosted on AWS
  • opensearch-sql x.x.x.x-SNAPSHOT (Can't seem to find the actual version)

Activity

  1. added
    bug
    on May 6, 2022
  2. dai-chen commented on Aug 9, 2022

    @dai-chen
    Collaborator

    @BenKugler Thanks for reporting the issue! Could you elaborate your first step "Create data that doesn't have a mapped type" ?

  3. Yury-Fridlyand commented on Aug 9, 2022

    @Yury-Fridlyand
    Collaborator
    • opensearch-sql x.x.x.x-SNAPSHOT (Can't seem to find the actual version)

    You can get plugin list and versions from curl /_cat/plugins endpoint, e.g.

    curl localhost:9200/_cat/plugins
    
  4. added
    error-experience
    on Feb 2, 2026
  5. qianheng-aws commented on Apr 3, 2026

    @qianheng-aws
    Collaborator

    Closed as too stale

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Metadata

Metadata

Assignees

No one assigned

    Labels

    SQLbugerror-experience

    Type

    No type

    Projects

      Milestone

      No milestone

      Relationships

      None yet

      Development

      No branches or pull requests

      Issue actions