[
https://issues.apache.org/jira/browse/CALCITE-7368?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel
]
Mihai Budiu resolved CALCITE-7368.
----------------------------------
Fix Version/s: 1.42.0
Resolution: Fixed
Fixed in
[https://github.com/apache/calcite/commit/a44373782fc4609f5da81a3c24725fd1af34ae8d]
Thank you for the review [~jensen]
Thank you for the extra test cases [~julianhyde]
> The validator accepts CAST(INT TO BINARY), but the runtime does not implement
> them
> ----------------------------------------------------------------------------------
>
> Key: CALCITE-7368
> URL: https://issues.apache.org/jira/browse/CALCITE-7368
> Project: Calcite
> Issue Type: New Feature
> Components: core
> Affects Versions: 1.41.0
> Reporter: Mihai Budiu
> Assignee: Mihai Budiu
> Priority: Minor
> Labels: pull-request-available
> Fix For: 1.42.0
>
>
> Most SQL dialects which support this feature seem to convert integers to big
> endian values, and then truncate or pad on the left when the size of the
> target BINARY does not exactly match the integer's size.
--
This message was sent by Atlassian Jira
(v8.20.10#820010)