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

make find_field_with_default return json fields without path #2476

Merged
merged 2 commits into from
Aug 19, 2024

Conversation

trinity-1686a
Copy link
Contributor

@trinity-1686a trinity-1686a commented Aug 13, 2024

this is useful for concatenate fields (they are json under the hood), and possibly json fields if we ever allow value at the root of a json field. We still forbid non-json field with a path

Copy link
Contributor

@fmassot fmassot left a comment

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Can we add a unit test for this edge case maybe?

@trinity-1686a trinity-1686a merged commit 9f81d59 into main Aug 19, 2024
4 checks passed
@trinity-1686a trinity-1686a deleted the iridescent-concatenate-fix branch August 19, 2024 13:25
philippemnoel pushed a commit to paradedb/tantivy that referenced this pull request Aug 31, 2024
…t-oss#2476)

* make find_field_with_default return json fields without path

* add tests for find_field_with_default
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

Successfully merging this pull request may close these issues.

2 participants