Files
impala/testdata
Peter Rozsa b41339c22d IMPALA-12285: Use targetType in string-to-numeric literal conversion
This change fixes mismatched type problems when an implicitly casted
string literal gets converted to a numeric type. Example:

'INSERT INTO example(float_col) VALUES ("0"), (15629);'

After this change, StringLiteral's 'convertToNumber' method will
consider the targetType parameter when creates a new NumericLiteral.

Test:
 - test case added to insert-unsafe.test

Change-Id: I2141e7ab164af55a7fa66dda05fe6dcbd7379b69
Reviewed-on: http://gerrit.cloudera.org:8080/20197
Reviewed-by: Impala Public Jenkins <impala-public-jenkins@cloudera.com>
Tested-by: Impala Public Jenkins <impala-public-jenkins@cloudera.com>
2023-07-14 17:23:26 +00:00
..
2016-09-22 02:00:50 +00:00
2018-10-26 22:19:35 +00:00