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

Improve ergonomics of physical expr lit #2827

Closed
alamb opened this issue Jul 2, 2022 · 0 comments · Fixed by #2828
Closed

Improve ergonomics of physical expr lit #2827

alamb opened this issue Jul 2, 2022 · 0 comments · Fixed by #2828
Assignees
Labels
enhancement New feature or request

Comments

@alamb
Copy link
Contributor

alamb commented Jul 2, 2022

Is your feature request related to a problem or challenge? Please describe what you are trying to do.

For logical expressions, you can create them using syntax like lit("foo")

However for physical expressions, you need to use the much more verbose syntax of lit(ScalarValue::Utf8(Some("foo")))

It would be nice to implement the same thing for physical expressions

Describe the solution you'd like
allow lit("foo") and equivalent for physical expressions

Describe alternatives you've considered
N/A

Additional context
Inspired by this comment: #2819 (comment)

@alamb alamb added the enhancement New feature or request label Jul 2, 2022
@alamb alamb self-assigned this Jul 2, 2022
@alamb alamb changed the title Improve ergonomics of physical expr lit Improve ergonomics of physical expr lit Jul 2, 2022
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
enhancement New feature or request
Projects
None yet
Development

Successfully merging a pull request may close this issue.

1 participant