Skip to content

[BUG] Schema returned by SQL plugin are missing date_nanos fields  #1954

Closed

Description

@mengweieric

What is the bug?
Schema data returned SQL plugin are missing date_nanos fields.

How can one reproduce the bug?
Try to run query to get schema through PPL query and DSL query in dev tool and do a comparison, you will see date_nanos type startTime and endTime both are missing in schema returned by PPL query. Notice SQL query also has this issue. This issue is seen started from 2.7 to all later versions.

POST _plugins/_ppl
{
  "query": """source = otel-v1-apm-span-000001 """
}

GET /otel-v1-apm-span-000001/_mapping

What is the expected behavior?
date_nano fields should be showing up in schema

What is your host/environment?

  • OpenSearch 2.7 and above

Activity

  1. added
    bug
    on Aug 10, 2023
  2. added
    v2.10.0
    and removed on Aug 15, 2023
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

    bugv2.10.0

    Type

    No type

    Projects

    No projects

      Milestone

      No milestone

      Relationships

      None yet

      Development

      No branches or pull requests

      Issue actions