[
https://issues.apache.org/jira/browse/CALCITE-3065?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=16842067#comment-16842067
]
Danny Chan commented on CALCITE-3065:
-------------------------------------
Wile there are some other way to solve your problem, e.g. you can support Cast
operator push down for Spark.
BTW, even if you get the value as boxed type correctly, you still need to keep
the type consistent for Spark, i kind of think is not the problem of Calcite to
not support primitive type SqlLiteral value parsing. It's the problem how to
solve the type consistency of Spark planner.
> RexLiteral#getValueAs should consider primitive type
> ----------------------------------------------------
>
> Key: CALCITE-3065
> URL: https://issues.apache.org/jira/browse/CALCITE-3065
> Project: Calcite
> Issue Type: Improvement
> Components: core
> Reporter: Jiatao Tao
> Priority: Major
> Labels: pull-request-available
> Attachments: image-2019-05-13-12-04-36-365.png,
> image-2019-05-17-08-23-52-735.png
>
> Time Spent: 10m
> Remaining Estimate: 0h
>
> !image-2019-05-13-12-04-36-365.png!
--
This message was sent by Atlassian JIRA
(v7.6.3#76005)