[
https://issues.apache.org/jira/browse/CALCITE-6270?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=17819006#comment-17819006
]
Jerin John commented on CALCITE-6270:
-------------------------------------
Thanks for pointing this out [~mbudiu], wasn't aware you were working on a
related issue.
My test cases for
[CALCITE-2980|https://issues.apache.org/jira/browse/CALCITE-2980] were failing
with the same assertion, I believe once your fix is merged I can test and
implement the additional {{FORMAT}} support for varbinary/byte strings.
> Add CAST with FORMAT from Numeric and BYTES to String (Enabled in BigQuery)
> ---------------------------------------------------------------------------
>
> Key: CALCITE-6270
> URL: https://issues.apache.org/jira/browse/CALCITE-6270
> Project: Calcite
> Issue Type: Bug
> Reporter: Jerin John
> Assignee: Jerin John
> Priority: Minor
>
> Calcite is missing the below formats supported in BQ CAST with FORMAT:
> * [Numeric to
> STRING|https://cloud.google.com/bigquery/docs/reference/standard-sql/format-elements#format_numeric_type_as_string]
> * [BYTES <->
> STRING|https://cloud.google.com/bigquery/docs/reference/standard-sql/format-elements#format_bytes_as_string]
--
This message was sent by Atlassian Jira
(v8.20.10#820010)