Skip to content

Conversation

@nik9000
Copy link
Member

@nik9000 nik9000 commented May 2, 2025

Adds the original_types to the description of ESQL's unsupported fields. This looks like:

    {
      "name" : "a",
      "type" : "unsupported",
      "original_types" : [
        "long",
        "text"
      ]
    }

for union types. And like:

    {
      "name" : "a",
      "type" : "unsupported",
      "original_types" : [
        "date_range"
      ]
    }

for truly unsupported types.

This information is useful for the UI. For union types it can suggest that users append a cast.

Adds the `original_types` to the description of ESQL's `unsupported`
fields. This looks like:

```
    {
      "name" : "a",
      "type" : "unsupported",
      "original_types" : [
        "long",
        "text"
      ]
    }
```

for union types. And like:

```
    {
      "name" : "a",
      "type" : "unsupported",
      "original_types" : [
        "date_range"
      ]
    }
```

for truly unsupported types.

This information is useful for the UI. For union types it can suggest
that users append a cast.
Copy link
Contributor

@alex-spies alex-spies left a comment

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

LGTM, thanks @nik9000 !

@nik9000 nik9000 enabled auto-merge (squash) May 2, 2025 14:56
@nik9000 nik9000 merged commit fd19e89 into elastic:8.19 May 2, 2025
15 checks passed
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Projects

None yet

Development

Successfully merging this pull request may close these issues.

2 participants