[
https://issues.apache.org/jira/browse/CALCITE-7186?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel
]
Mihai Budiu resolved CALCITE-7186.
----------------------------------
Resolution: Fixed
Fixed in
https://github.com/apache/calcite/commit/fae81e600da71f30c692f7258816bd48066fc11c
Thank you [~xuzifu666]
Thank you [~caicancai] for the review
> Add mapping from Character[] to VARCHAR in Java UDF
> ---------------------------------------------------
>
> Key: CALCITE-7186
> URL: https://issues.apache.org/jira/browse/CALCITE-7186
> Project: Calcite
> Issue Type: Bug
> Components: core
> Affects Versions: 1.40.0
> Reporter: Yu Xu
> Assignee: Yu Xu
> Priority: Minor
> Labels: pull-request-available
> Fix For: 1.41.0
>
>
> Java user-defined function (UDF) UDF functions with *Character[]* and
> *Byte[]* return types are recognized as {*}OTHER{*}, but UDF functions with
> *char[]* and *byte[]* return types are recognized as *VARCHAR* and
> {*}VARBINARY{*}. *Character[]* should be consistent with {*}char[]{*}, and
> *Byte[]* should be consistent with {*}byte[]{*}.
--
This message was sent by Atlassian Jira
(v8.20.10#820010)