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

feat: Support simple Arrays with Literals #2194

Merged
merged 2 commits into from
Apr 13, 2022

Conversation

ovr
Copy link
Contributor

@ovr ovr commented Apr 10, 2022

Related: #2207

Hello!

This PR introduces support for simple arrays with literal. For example it can support [1,2,3] or nested: [[1,2], [3,4]], but it doesn't support array with expressions for example: [now()].

It's first iteration, I will send later another PR with implementing the new expression node which can holds expressions and optimizer to simplify it.

Thanks

@github-actions github-actions bot added the datafusion Changes in the datafusion crate label Apr 10, 2022
@ovr ovr force-pushed the scalar-arrays branch 3 times, most recently from 4300ee9 to 2e173b6 Compare April 10, 2022 15:40
@ovr ovr marked this pull request as ready for review April 10, 2022 17:23
Copy link
Contributor

@alamb alamb left a comment

Choose a reason for hiding this comment

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

Thanks @ovr -- looks good!

It's first iteration, I will send later another PR with implementing the new expression node which can holds expressions and optimizer to simplify it.

I think this sounds like a good implementation plan

Co-authored-by: Andrew Lamb <andrew@nerdnetworks.org>
@Dandandan Dandandan merged commit 2310272 into apache:master Apr 13, 2022
@Dandandan
Copy link
Contributor

Thank you @ovr !

@ovr ovr deleted the scalar-arrays branch April 13, 2022 11:34
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
datafusion Changes in the datafusion crate
Projects
None yet
Development

Successfully merging this pull request may close these issues.

3 participants