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] strict parameter not honored in SparkSqlScalaSuite #41

Closed
nknize opened this issue Dec 6, 2022 · 2 comments · Fixed by #125
Closed

[BUG] strict parameter not honored in SparkSqlScalaSuite #41

nknize opened this issue Dec 6, 2022 · 2 comments · Fixed by #125
Labels
bug Something isn't working spark Issues or PRs related to the Spark connector v3.0.0 Issues related to version 3.0.0

Comments

@nknize
Copy link
Collaborator

nknize commented Dec 6, 2022

What is the bug?

translateFilter accepst a strictPushDown parameter to request using filters that exactly match the given values. This parameter is not honored and leads to failing tests in SparkSQLScalaSuite.

How can one reproduce the bug?

./gradlew ':opensearch-spark-20:integrationTest' --tests "org.opensearch.spark.integration.SparkSQLScalaSuite" --info

What is the expected behavior?

passing tests

@nknize nknize added bug Something isn't working v3.0.0 Issues related to version 3.0.0 spark Issues or PRs related to the Spark connector labels Dec 6, 2022
@nknize
Copy link
Collaborator Author

nknize commented Dec 6, 2022

Turns out this is an upstream bug in WildcardQuery where case_insensitive has no effect on default analyzed fields.

I've opened an upstream PR to fix the issue.

@harshavamsi
Copy link
Collaborator

Closing via #125

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
bug Something isn't working spark Issues or PRs related to the Spark connector v3.0.0 Issues related to version 3.0.0
Projects
None yet
Development

Successfully merging a pull request may close this issue.

2 participants