Skip to content

Conversation

@alamb
Copy link
Contributor

@alamb alamb commented Aug 7, 2023

Which issue does this PR close?

Related to #7193
Follows #7215 from @izveigor

Rationale for this change

In order to have a good experience accessing fields, it should be easy to create field / lists accesses

What changes are included in this PR?

See subject

Are these changes tested?

Yes -- with doc tests

Are there any user-facing changes?

New methods on Expr

@github-actions github-actions bot added sql SQL Planner logical-expr Logical plan and expressions labels Aug 7, 2023
name: ScalarValue::Utf8(Some(nested_name)),
},
)))
Ok(Expr::Column(field.qualified_column()).field(nested_name))
Copy link
Contributor Author

Choose a reason for hiding this comment

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

This shows the kind of API cleanup that is possible using this new API

@alamb
Copy link
Contributor Author

alamb commented Aug 7, 2023

CI is failing due to #7221

Co-authored-by: Igor Izvekov <izveigor@gmail.com>
@alamb alamb merged commit 99e2cd4 into apache:main Aug 8, 2023
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

logical-expr Logical plan and expressions sql SQL Planner

Projects

None yet

Development

Successfully merging this pull request may close these issues.

3 participants