[
https://issues.apache.org/jira/browse/DRILL-8216?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=17533472#comment-17533472
]
ASF GitHub Bot commented on DRILL-8216:
---------------------------------------
vvysotskyi opened a new pull request, #2539:
URL: https://github.com/apache/drill/pull/2539
# [DRILL-8216](https://issues.apache.org/jira/browse/DRILL-8216): Use
EVF-based JSON reader for Values operator
## Description
The newer Calcite version simplifies and removes casts for literals. It
causes wrong results for `drillTypeOf` and `sqlTypeOf` functions since the
Values operator uses an old JSON reader which reads integers with bigInt type.
This PR uses EVF-based JSON reader for the Values operator and passes actual
data types discovered during planning as the provided schema.
## Documentation
NA
## Testing
Unit tests pass
> Use EVF-based JSON reader for Values operator
> ---------------------------------------------
>
> Key: DRILL-8216
> URL: https://issues.apache.org/jira/browse/DRILL-8216
> Project: Apache Drill
> Issue Type: Sub-task
> Reporter: Vova Vysotskyi
> Assignee: Vova Vysotskyi
> Priority: Major
>
> The newer Calcite version simplifies and removes casts for literals. It
> causes wrong results for drillTypeOf and sqlTypeOf functions, since the
> Values operator uses an old JSON reader which reads integers with bigInt type.
--
This message was sent by Atlassian Jira
(v8.20.7#820007)