Skip to content

Fix Projection for struct fields#844

Merged
changhiskhan merged 2 commits intomainfrom
changhiskhan/filter-nested-field-order
May 10, 2023
Merged

Fix Projection for struct fields#844
changhiskhan merged 2 commits intomainfrom
changhiskhan/filter-nested-field-order

Conversation

@changhiskhan
Copy link
Copy Markdown
Contributor

Previously we didn't check the leaf nodes inside the struct fields in a projection which causes problems. when filtering / selecting from nested struct fields

@changhiskhan changhiskhan requested a review from eddyxu May 10, 2023 03:02
Copy link
Copy Markdown
Member

@eddyxu eddyxu left a comment

Choose a reason for hiding this comment

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

a question remain, the rest lgtm

let expected_batch = concat_batches(&schema, &input_batches.as_slice()[1..]).unwrap();
assert_eq!(batch, expected_batch);

// different order
Copy link
Copy Markdown
Member

Choose a reason for hiding this comment

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

What does different order mean?

@changhiskhan changhiskhan merged commit 335cbb7 into main May 10, 2023
@changhiskhan changhiskhan deleted the changhiskhan/filter-nested-field-order branch May 10, 2023 04:43
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