Skip to content

fix: json extract using wildcard#6651

Merged
Xuanwo merged 1 commit into
lance-format:mainfrom
zhangyue19921010:fix-json-extract-wildcard
May 7, 2026
Merged

fix: json extract using wildcard#6651
Xuanwo merged 1 commit into
lance-format:mainfrom
zhangyue19921010:fix-json-extract-wildcard

Conversation

@zhangyue19921010
Copy link
Copy Markdown
Contributor

Support

        projected = dataset.to_table(
            columns={
                "tags": "json_extract(data, '$.tags[*]')",
                "prices": "json_extract(data, '$.items[*].price')",
            }
        )

Copy link
Copy Markdown

@claude claude Bot left a comment

Choose a reason for hiding this comment

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

Claude Code Review

This pull request is from a fork — automated review is disabled. A repository maintainer can comment @claude review to run a one-time review.

@github-actions github-actions Bot added the bug Something isn't working label Apr 30, 2026
@codecov
Copy link
Copy Markdown

codecov Bot commented Apr 30, 2026

Codecov Report

❌ Patch coverage is 85.96491% with 8 lines in your changes missing coverage. Please review.

Files with missing lines Patch % Lines
rust/lance-datafusion/src/udf/json.rs 85.96% 7 Missing and 1 partial ⚠️

📢 Thoughts on this report? Let us know!

Copy link
Copy Markdown
Collaborator

@Xuanwo Xuanwo left a comment

Choose a reason for hiding this comment

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

Thank you for working on this!

@Xuanwo Xuanwo merged commit 10219d0 into lance-format:main May 7, 2026
28 checks passed
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

Successfully merging this pull request may close these issues.

2 participants