We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
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
get_field
The signature of get_field is akward -- it requires a string but the function signature takes a "Expr" so you have to wrap it with lit
lit
you would have to write
get_field(col("a"), lit("value")
Previously you could write
col("a").field("value")
but after #10565 that panics
I would like to have get_field take a str instead:
get_field(col("a"), "value")
Probably with a signature like
fn get_field(expr, field_name: impl Into<Literal>) -> Expr { let field_name_as_expr = lit(field_name.into()); .. }
leave it as is
No response
The text was updated successfully, but these errors were encountered:
Successfully merging a pull request may close this issue.
Is your feature request related to a problem or challenge?
The signature of
get_field
is akward -- it requires a string but the function signature takes a "Expr" so you have to wrap it withlit
you would have to write
Previously you could write
but after #10565 that panics
Describe the solution you'd like
I would like to have get_field take a str instead:
Probably with a signature like
Describe alternatives you've considered
leave it as is
Additional context
No response
The text was updated successfully, but these errors were encountered: