You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
{{ message }}
Repository navigation
Native engine panics on all-scalar inputs for hour, minute, second, unix_timestamp #3336
When Spark's ConstantFolding optimizer rule is disabled, all-scalar (literal-only) expressions reach Comet's native engine instead of being folded at plan time. The native engine panics with messages like:
hour(scalar) should be fold in Spark JVM side.
minute(scalar) should be fold in Spark JVM side.
second(scalar) should be fold in Spark JVM side.
unix_timestamp(scalar) should be fold in Spark JVM side.
How to Reproduce
Disable constant folding and run an all-literal datetime extraction query:
Activity
Add literal argument tests for all SQL file expression tests
0lai0 commentedon Feb 9, 2026
take