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] json function return type is undefined #3336

Open
penghuo opened this issue Feb 19, 2025 · 0 comments
Open

[BUG] json function return type is undefined #3336

penghuo opened this issue Feb 19, 2025 · 0 comments
Labels
bug Something isn't working

Comments

@penghuo
Copy link
Collaborator

penghuo commented Feb 19, 2025

What is the bug?

  • json The function's return type is undefined, which presents two issues:
    • Undefined type is not a valid PPL data type.
    • It is inconsistent with the Spark-PPL JSON function, which returns a string.

How can one reproduce the bug?
https://github.com/Bit-Quill/opensearch-project-sql/blob/main/integ-test/src/test/java/org/opensearch/sql/ppl/JsonFunctionsIT.java#L73

What is the expected behavior?
align with Spark PPL, Return type is String

@penghuo penghuo added bug Something isn't working untriaged and removed untriaged labels Feb 19, 2025
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
bug Something isn't working
Projects
None yet
Development

No branches or pull requests

1 participant