Details
-
New Feature
-
Status: Resolved
-
Major
-
Resolution: Fixed
-
Impala 2.1.1
Description
Evaluating expressions that are the same for every row can be very expensive (note these numbers are taken from the debug build, so maybe this is not an issue in release?):
(15:33:02@desktop) ~/src/cloudera/impala (cdh5-trunk) $ impala-shell.sh -q "SELECT 1.2345678 FROM tpch.lineitem" -B 2>&1 > /dev/null ... Fetched 6001215 row(s) in 61.33s (15:34:06@desktop) ~/src/cloudera/impala (cdh5-trunk) $ impala-shell.sh -q "SELECT CAST('1.2345678' AS DOUBLE) FROM tpch.lineitem" -B 2>&1 > /dev/null ... Fetched 6001215 row(s) in 74.86s
Attachments
Issue Links
- breaks
-
IMPALA-5594 Impala should not reference shaded classes from Kudu jar
- Resolved
-
IMPALA-6435 Codegen crash when UNIONing CHAR(n) literals
- Resolved
- is related to
-
IMPALA-6114 Incorrect type deduction causing analysis exception to be thrown
- Resolved
- relates to
-
IMPALA-2095 from_unixtime(constant) is evaluated on every row -- slower than hive
- Resolved
-
IMPALA-1861 Conditional functions with constant arguments should be simplified during analysis
- Resolved