[
https://issues.apache.org/jira/browse/CALCITE-7865?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel
]
Mihai Budiu resolved CALCITE-7865.
----------------------------------
Fix Version/s: 1.43.0
Resolution: Fixed
Fixed in
[https://github.com/apache/calcite/commit/2350b9016dfc16e0737b64ec5fe59b35da9e4fc8]
Thank you for the review [~xuzifu666]
> CASTS from string trim in inconsistent ways
> -------------------------------------------
>
> Key: CALCITE-7865
> URL: https://issues.apache.org/jira/browse/CALCITE-7865
> Project: Calcite
> Issue Type: Bug
> Components: core
> Affects Versions: 1.42.0
> Reporter: Mihai Budiu
> Assignee: Mihai Budiu
> Priority: Minor
> Labels: pull-request-available
> Fix For: 1.43.0
>
>
> The code which converts strings to various data types trims spaces before
> conversion. However, the trimming rules are not consistent among types with
> regards to Unicode characters. For example, integer types trim all characters
> up to U+0020, while boolean only trims spaces.
--
This message was sent by Atlassian Jira
(v8.20.10#820010)