Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

[BUG] Create skipping index failed on nested field of struct type #194

Closed
dai-chen opened this issue Dec 13, 2023 · 0 comments
Closed

[BUG] Create skipping index failed on nested field of struct type #194

dai-chen opened this issue Dec 13, 2023 · 0 comments
Labels
0.2 bug Something isn't working

Comments

@dai-chen
Copy link
Collaborator

What is the bug?

Create skipping index statement failed using nested field of a struct type as indexed column. See example below.

How can one reproduce the bug?

CREATE TABLE waf_logs
`httpRequest` struct <
                    clientIp: string> ...

CREATE SKIPPING INDEX
ON waf_logs (
  `httpRequest.clientIp` VALUE_SET
)

FlintSparkIndexBuilder.findColumn complains that field httpRequest.clientIp cannot be found.

What is the expected behavior?

Skipping index is created successfully with nested field like httpRequest.clientIp and the values can be refreshed to OpenSearch index without issue.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
0.2 bug Something isn't working
Development

No branches or pull requests

1 participant