Closed mcheshkov closed 2 days ago
Attention: Patch coverage is 96.42857%
with 6 lines
in your changes missing coverage. Please review.
Project coverage is 82.69%. Comparing base (
b75a37a
) to head (0fb5a56
). Report is 6 commits behind head on master.
Files with missing lines | Patch % | Lines |
---|---|---|
...t/cubesql/cubesql/src/compile/engine/df/wrapper.rs | 25.00% | 6 Missing :warning: |
:umbrella: View full report in Codecov by Sentry.
:loudspeaker: Have feedback on the report? Share it here.
🚨 Try these New Features:
The latest updates on your projects. Learn more about Vercel for Git ↗︎
Check List
Issue Reference this PR resolves
8967
Description of Changes Made (if issue reference is not provided)
cubesql can introduce
ScalarValue::TimestampNanosecond(..., Some("UTC"))
during constant folding, andgenerate_sql_for_expr
trips on unsupported timezones. This PR just allowsNone
as well asSome("UTC")
as timezones. Because DataFusion will always generateUTC
, it should be fine for now. See https://github.com/cube-js/arrow-datafusion/blob/dcf3e4aa26fd112043ef26fa4a78db5dbd443c86/datafusion/physical-expr/src/datetime_expressions.rs#L357-L367