You are viewing a plain text version of this content. The canonical link for it is here.
Posted to issues@drill.apache.org by "Igor Guzenko (Jira)" <ji...@apache.org> on 2019/09/25 07:49:00 UTC
[jira] [Assigned] (DRILL-7386) Fix count and typeOf functions for
struct type
[ https://issues.apache.org/jira/browse/DRILL-7386?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel ]
Igor Guzenko reassigned DRILL-7386:
-----------------------------------
Assignee: Igor Guzenko
> Fix count and typeOf functions for struct type
> ----------------------------------------------
>
> Key: DRILL-7386
> URL: https://issues.apache.org/jira/browse/DRILL-7386
> Project: Apache Drill
> Issue Type: Sub-task
> Reporter: Igor Guzenko
> Assignee: Igor Guzenko
> Priority: Minor
>
> 1) COUNT function for struct doesn't work because flattening isn't implemented yet in Calcite's [RelStructuredTypeFlattener|https://github.com/apache/calcite/blob/148bfd329413c0272395cc0b7c322b3c5a34b667/core/src/main/java/org/apache/calcite/sql2rel/RelStructuredTypeFlattener.java#L376] .
> 2) *typeOf functions don't work correctly because after flattening in RelStructuredTypeFlattener, argument to the function changes to first inner primitive field of struct column.
--
This message was sent by Atlassian Jira
(v8.3.4#803005)