Details
-
Bug
-
Status: Resolved
-
Major
-
Resolution: Fixed
-
Impala 1.0.1
-
None
-
None
Description
Our compatibility matrix states that bigint is compatible with float if both are promoted to double.
This seems incorrect to me because a bigint can be converted to a float without loss of precision.
This causes problems for, e.g., inserts. The following query will fail to analyze, although there is no danger of losing precision.
insert into float_t values (cast (123 as bigint))