[
https://issues.apache.org/jira/browse/FLINK-24414?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel
]
Timo Walther closed FLINK-24414.
--------------------------------
Fix Version/s: 1.15.0
Resolution: Fixed
Fixed in master: bb32c79706fed2f79aadb9aa38c11df8010eacb1
> Casting a decimal to a String doesn't do left zero padding
> ----------------------------------------------------------
>
> Key: FLINK-24414
> URL: https://issues.apache.org/jira/browse/FLINK-24414
> Project: Flink
> Issue Type: Sub-task
> Components: Table SQL / API
> Reporter: Marios Trivyzas
> Assignee: Marios Trivyzas
> Priority: Major
> Labels: pull-request-available
> Fix For: 1.15.0
>
>
> *CAST(a AS STRING)* where *a* is a *DECIMAL(5.3)* with value *9.87* results in
> *9.870* so we only get right 0 padding to fill in the fractional digits.
>
> Postgres and Oracle also don't do left zero padding.
--
This message was sent by Atlassian Jira
(v8.20.1#820001)