Details
-
Bug
-
Status: Closed
-
Major
-
Resolution: Fixed
-
0.12.0, 0.13.0, 0.13.1
-
None
-
None
Description
It seems that the expression caching doesn't work when using UDF inside another UDF or a hive function.
For example :
tbl has one row : 'a','b'
The following query :
select concat(custUDF(a),' ', custUDF(b)) from tbl;
returns 'a a'
seems to cache custUDF(a) and use it for custUDF(b).
Same query without the concat works fine.
Replacing the concat with another custom UDF also returns 'a a'
Attachments
Attachments
Issue Links
- relates to
-
HIVE-4209 Cache evaluation result of deterministic expression and reuse it
- Closed