[
https://issues.apache.org/jira/browse/DRILL-2874?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel
]
Sean Hsuan-Yi Chu resolved DRILL-2874.
--------------------------------------
Resolution: Won't Fix
It is not possible to make that judgement at planning time. Drill would not
know the data type until execution.
> Concat operator is not supported with complex types, we should throw an error
> early
> -----------------------------------------------------------------------------------
>
> Key: DRILL-2874
> URL: https://issues.apache.org/jira/browse/DRILL-2874
> Project: Apache Drill
> Issue Type: Bug
> Components: Query Planning & Optimization
> Affects Versions: 0.9.0
> Reporter: Victoria Markman
> Assignee: Sean Hsuan-Yi Chu
> Priority: Minor
> Fix For: 1.2.0
>
>
> m1 is a map in this example:
> {code}
> 0: jdbc:drill:schema=dfs> select 'abc' || m1 from `t2.json`;
> Query failed: SYSTEM ERROR: Failure while trying to materialize incoming
> schema. Errors:
>
> Error in expression at index -1. Error: Missing function implementation:
> [concatOperator(MAP-REQUIRED, MAP-REQUIRED)]. Full expression: --UNKNOWN
> EXPRESSION--..
> Fragment 0:0
> [dafd9622-17e5-45e1-adef-15fcade2ae03 on atsqa4-133.qa.lab:31010]
> Error: exception while executing query: Failure while executing query.
> (state=,code=0)
> {code}
--
This message was sent by Atlassian JIRA
(v6.3.4#6332)