-
Notifications
You must be signed in to change notification settings - Fork 24
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] Most recent opensearch-spark jar causing errors with Pyspark #536
Comments
@Marwen94 The root exception in you stacktrace of |
Hello @Xtansia, indeed it did work using the 2.12 locally and in Glue. Thanks. It is weird though that the version 2.13 did not work locally with Scala 2.12. |
@Marwen94 In Scala's versioning |
@Xtansia, I actually get this Scala type issue when reading from Opensearch : My script:
Error:
My OpenSearch index contain nested Struct and Arrays. Any ideas? Thank you! |
You will need to set |
That indeed works, thank you so much @Xtansia |
What is the bug?
We have the following ERROR when reading from AWS OpenSearch (not Serverless) using opensearch-spark-30_2.13-1.1.0.jar (the latest as per today):
How can one reproduce the bug?
script_read_from_OS.py :
What is the expected behavior?
We expect to be able to do a simple read from
What is your host/environment?
MacOS
Spark 3.2.4
Scala 2.13.15
OpenSearch version 1.2
Do you have any screenshots?
Do you have any additional context?
I also tested this in AWS Glue Version 3 and 4 and I have a slightly different error:
I tested many solution routes discussed in different old issues but no luck:
#243
#153 (comment)
This issue is similar to this one: #505, I opened a new one due to inactivity of the previous one and to give more context.
Thank you!
The text was updated successfully, but these errors were encountered: