[
https://issues.apache.org/jira/browse/DRILL-2185?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=14312472#comment-14312472
]
Rahul Challapalli commented on DRILL-2185:
------------------------------------------
Documenting this is one part of the problem, but we should also indicate this
with a more appropriate error message
> flatten(*) should return a more appropriate error
> -------------------------------------------------
>
> Key: DRILL-2185
> URL: https://issues.apache.org/jira/browse/DRILL-2185
> Project: Apache Drill
> Issue Type: Bug
> Components: Functions - Drill
> Reporter: Rahul Challapalli
> Assignee: Daniel Barclay (Drill/MapR)
> Priority: Minor
>
> git.commit.id.abbrev=c54bd6a
> The below query returns an obscure error
> {code}
> 0: jdbc:drill:schema=dfs> select flatten(*) from `data1.json`;
> Query failed: AssertionError: Internal error: invariant violated: conversion
> result not null
> {code}
> We should mention that it is an in-appropriate use of the flatten operator
--
This message was sent by Atlassian JIRA
(v6.3.4#6332)