Details
-
Bug
-
Status: Open
-
Major
-
Resolution: Unresolved
-
3.1.2
-
None
-
None
Description
sourceTable:
product_id int;
###########################################
targetTable:
product_id bigint;
##########################################
sql:
insert overwrite table targetTable:
select
......
coalesce(product_id,-1),
......
from sourceTable;
##########################################
explain sql :
UDFToLong(COALESCE(product_id,-1)) (type: bigint)
##########################################
result :
the column product_id in targetTable is zero, this is wrong result