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

Don't drop annotations in source data #371

Open
dlurton opened this issue May 22, 2023 · 0 comments
Open

Don't drop annotations in source data #371

dlurton opened this issue May 22, 2023 · 0 comments

Comments

@dlurton
Copy link
Member

dlurton commented May 22, 2023

Similar issue in PartiQL-Kotlin partiql/partiql-lang-kotlin#1093

PartiQL-Rust drops all annotations in source data, but it shouldn't. Annotations include important context needed for downstream applications to know how to process the query results. This will likely become a big issue for my team's PartiQL product in the next few months.

To reproduce this issue, I cloned the current mainline of partiql-rust-playground and ran the query:

select * from `[ { foo: { bar: some_annotation::42 } } ]`

The result was:

<<{ foo: { bar: 42 } }>>

However, I think the result should be:

<<{ foo: { bar: some_annotation::42 } }>>
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

1 participant