mirror of
https://github.com/apache/impala.git
synced 2026-01-04 09:00:56 -05:00
The string parsing code already errors if the decimal column either overflows or underflows (i.e. loses scale). Let's just add a test case. Change-Id: Idd66c0fb5a4d201919d39f73dea08b87339d6469 Reviewed-on: http://gerrit.cloudera.org:8080/6150 Reviewed-by: Dan Hecht <dhecht@cloudera.com> Tested-by: Impala Public Jenkins
4 lines
454 B
Plaintext
4 lines
454 B
Plaintext
1,2,3,4,5.5,6.6,123456789.1234,99999999999999999999999999999999999999,0.00000000000000000000000000000000000001
|
|
1000,100000,10000000000000000,10000000000000000000,1e1000000,1e10000,1234567890.1234,100000000000000000000000000000000000000,0.000000000000000000000000000000000000009
|
|
-1000,-100000,-10000000000000000,-10000000000000000000,-1e1000000,-1e10000,-123456789.12341,-100000000000000000000000000000000000000,-0.000000000000000000000000000000000000009
|