Details
-
Improvement
-
Status: Resolved
-
Minor
-
Resolution: Fixed
-
None
-
None
Description
Currently mappify throws a non-user friendly error message when the input map consists of heterogenous value types. The proposal is to improve the error message to inform user about the usage and root cause of the failure in a non-technical dialect.
Running
select kvgen(t.m) from ex.json t
over
ex.json
{m:{a:1}} {m:{b:-1.0}}
throws
Query failed: Query failed: Failure while running fragment., org.apache.drill.exec.vector.complex.impl.NullableFloat8WriterImpl cannot be cast to org.apache.drill.exec.vector.complex.impl.NullableIntWriterImpl
We should inform the user with an intelligible reason why the query failed instead.
Attachments
Attachments
Issue Links
- duplicates
-
DRILL-2112 Throw helpful error message with unsupported KVGen functionality
- Closed