Skip to content

Improve ergonomics of physical expr lit #2827

Closed

Description

@alamb

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)

Activity

  1. added
    enhancement
    on Jul 2, 2022
  2. self-assigned this
    on Jul 2, 2022
  3. changed the title [-]Improve ergonomics of physical expr lit[/-] [+]Improve ergonomics of physical expr `lit`[/+] on Jul 2, 2022
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Metadata

Metadata

Assignees

Labels

enhancement

Type

No type

Projects

No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions