oap-project / gazelle_plugin

Native SQL Engine plugin for Spark SQL with vectorized SIMD optimizations.
Apache License 2.0
256 stars 76 forks source link

Cast "0.0" to int return null #1209

Open jackylee-ch opened 1 year ago

jackylee-ch commented 1 year ago

To Reproduce

create table test_string(a string) using parquet;
insert overwrite test_string values("0.0");
select cast(a as int) from test_string;