Skip to content

Improve YAML Input with nested JsonPath expressions#7432

Open
leehaut wants to merge 2 commits into
apache:mainfrom
leehaut:hotfix/lance-common-88
Open

Improve YAML Input with nested JsonPath expressions#7432
leehaut wants to merge 2 commits into
apache:mainfrom
leehaut:hotfix/lance-common-88

Conversation

@leehaut

@leehaut leehaut commented Jul 5, 2026

Copy link
Copy Markdown
Contributor

Fix #7072
Fix #7054

Add JsonPath-based field extraction to the YAML Input transform, bringing it closer to JSON Input. YAML continues to be parsed with snakeyaml; field values are now resolved with Jayway JsonPath (json-path), supporting nested paths such as $.table.name, $.tables[0].name, and $.tables[*].name.

table:
  name: t_user
  id: 1000

Also fixes a bug where the output field name was incorrectly taken from the path instead of YamlInputField.name.

leehaut added 2 commits July 5, 2026 11:04
Signed-off-by: lance <leehaut@gmail.com>
Signed-off-by: lance <leehaut@gmail.com>
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Projects

None yet

Development

Successfully merging this pull request may close these issues.

[Feature Request]: Improve the transformation of YAML input. Question about the YAML input transformation

1 participant