[ 
https://issues.apache.org/jira/browse/CALCITE-6912?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=17938351#comment-17938351
 ] 

Chris Dennis commented on CALCITE-6912:
---------------------------------------

The attached PR test fails due to generating code that contains an impossible 
cast. It's also possible however to end up with code that compiles but then 
fails at query execution time with similar issues.

> Confusion around typing of byte[] versus ByteString in Enumerable code
> ----------------------------------------------------------------------
>
>                 Key: CALCITE-6912
>                 URL: https://issues.apache.org/jira/browse/CALCITE-6912
>             Project: Calcite
>          Issue Type: Bug
>          Components: avatica, core
>    Affects Versions: 1.35.0, 1.40.0
>            Reporter: Chris Dennis
>            Priority: Major
>              Labels: pull-request-available
>
> The Enumerable convention code generation seems to be at odds with both 
> Avatica and at other times with itself when trying to handle {{byte[]}} field 
> types. This leads to a variety of failure either at during code generation, 
> or at query execution time. I will push an example of a failing query in PR 
> shortly after filing this... but I suspect most any query that attempts to 
> project a byte[] typed column has a good chance of tripping over itself.



--
This message was sent by Atlassian Jira
(v8.20.10#820010)

Reply via email to