[
https://issues.apache.org/jira/browse/NIFI-7462?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=17113399#comment-17113399
]
ASF subversion and git services commented on NIFI-7462:
-------------------------------------------------------
Commit b6ef7e13bf076fb88fd94ce49d2a217db3f19aaa in nifi's branch
refs/heads/master from pcgrenier
[ https://gitbox.apache.org/repos/asf?p=nifi.git;h=b6ef7e1 ]
NIFI-7462: This adds a way to convert or cast a choice object into a valid type
for use with calcite query functions
NIFI-7462: Update to allow FlowFile Table's schema to be more intelligent when
using CHOICE types
NIFI-7462: Fixed checkstyle violation, removed documentation around the CAST
functions that were no longer needed
Signed-off-by: Matthew Burgess <[email protected]>
This closes #4282
> QueryRecord Choice datatype mapping
> -----------------------------------
>
> Key: NIFI-7462
> URL: https://issues.apache.org/jira/browse/NIFI-7462
> Project: Apache NiFi
> Issue Type: Improvement
> Components: Core Framework
> Reporter: Phillip Grenier
> Assignee: Phillip Grenier
> Priority: Minor
> Labels: pull-request-available
> Time Spent: 3h 40m
> Remaining Estimate: 0h
>
> When a schema is defined with a Choice datatype["int","float"] at the root of
> the schema there is no way to cast or choose how to evaluate the values in
> the query. So they fail with an error in Calcite functions like sum.
--
This message was sent by Atlassian Jira
(v8.3.4#803005)