drill-dev mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From "Julien Le Dem (JIRA)" <j...@apache.org>
Subject [jira] [Created] (DRILL-3806) add metadata for untyped null and simple type promotion
Date Fri, 18 Sep 2015 22:24:04 GMT
Julien Le Dem created DRILL-3806:
------------------------------------

             Summary: add metadata for untyped null and simple type promotion
                 Key: DRILL-3806
                 URL: https://issues.apache.org/jira/browse/DRILL-3806
             Project: Apache Drill
          Issue Type: Bug
          Components: Execution - Data Types
            Reporter: Julien Le Dem
            Assignee: Julien Le Dem


Currently when a field has literal null values in JSON the type will be assigned as BIGINT
by default for lack of better type.
```
{
  "a": null
}
```
if later on a is assigned with a string value the query will fail with a schema change error,

The idea is to capture the notion of "untyped null" and implement simple type promotion from
untyped null to the actual type.





--
This message was sent by Atlassian JIRA
(v6.3.4#6332)

Mime
View raw message