oap-project / gazelle_plugin

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

[NSE-1144] Optimize cast wscg performance #1145

Closed jackylee-ch closed 1 year ago

jackylee-ch commented 1 year ago

What changes were proposed in this pull request?

Currently we use stod or stoi in cast WSCG, and it has a bad behavior while using cast. This patch we are trying to use the implement in arrow to optimize the performance.

How was this patch tested?

unit tests and manual tests.

github-actions[bot] commented 1 year ago

https://github.com/oap-project/native-sql-engine/issues/1144

PHILO-HE commented 1 year ago

The patch looks good. Just triggered another unit test job for verification.

PHILO-HE commented 1 year ago

UT passed. @zhouyuan, please have a final check.