timsaucer opened a new pull request, #1563:
URL: https://github.com/apache/datafusion-python/pull/1563
# Which issue does this PR close?
Ongoing ergonomic improvements, but no specific issue.
# Rationale for this change
This PR makes a lot of the date/time functions take strings or integer when
appropriate. This makes the code cleaner so that users don't always have to
wrap these in a `lit()` call.
# What changes are included in this PR?
Python changes only. When a `str` or `int` (as appropriate) is found, coerce
it to a literal.
# Are there any user-facing changes?
Prior code works as is. This simply makes newer code easier to write.
--
This is an automated message from the Apache Git Service.
To respond to the message, please log on to GitHub and use the
URL above to go to the specific comment.
To unsubscribe, e-mail: [email protected]
For queries about this service, please contact Infrastructure at:
[email protected]
---------------------------------------------------------------------
To unsubscribe, e-mail: [email protected]
For additional commands, e-mail: [email protected]