mirror of
https://github.com/apache/impala.git
synced 2026-01-06 06:01:03 -05:00
IMPALA-1508: don't JIT TimestampFunctions::DateAddSub
For some reason, the try/catch added to fix IMPALA-1493 doesn't work when we JIT the function. Fixing this in the JIT'd code will take some time, so for now just don't JIT the function. Change-Id: I7b2801027db0a9deb19b477c1a4ca0bdad77a825 Reviewed-on: http://gerrit.sjc.cloudera.com:8080/5383 Reviewed-by: Skye Wanderman-Milne <skye@cloudera.com> Tested-by: jenkins
This commit is contained in:
committed by
Nong Li
parent
b42e3e8ce9
commit
2bfb69523f
@@ -1762,3 +1762,12 @@ select abs(cast(1 as int)), abs(cast(1 as smallint)),
|
||||
---- TYPES
|
||||
int, smallint, tinyint, bigint, double, float, decimal
|
||||
====
|
||||
---- QUERY
|
||||
# Regression test for IMPALA-1508
|
||||
select timestamp_col FROM alltypesagg
|
||||
ORDER BY timestamp_col + INTERVAL bigint_col YEAR ASC limit 1;
|
||||
---- RESULTS
|
||||
2010-01-01 08:25:38.550000000
|
||||
---- TYPES
|
||||
TIMESTAMP
|
||||
====
|
||||
|
||||
Reference in New Issue
Block a user