[
https://issues.apache.org/jira/browse/DRILL-1255?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel
]
Jason Altekruse updated DRILL-1255:
-----------------------------------
Description: Currently the JSON reader for drill will fail if there is any
schema change in a file. For the time being, this is expected for a significant
change in type, such as a change between types without clear implicit casting
rules, such as a change between any combination of string, bool, or numeric
types. We however do want to support changing from an integer to a double type
(any number with a decimal point is read as a double value) or vice versa. This
is also related to mixed integer and double types in arrays, which should also
be supported. (was: Currently the JSON reader for drill will fail if there is
any schema change in a file. For the time being, this is expected for a
significant change in type, such as a change between types without clear
implicit casting rules, such as a change between any combination of string,
bool, or numeric types. We however do want to support changing from an integer
to a double type (any number with a decimal point is read as a double value) or
vice versa should be handled. This is also related to mixed integer and double
types in arrays, which should also be supported.)
> Allow change from integer to double type and vice versa in JSON reader
> ----------------------------------------------------------------------
>
> Key: DRILL-1255
> URL: https://issues.apache.org/jira/browse/DRILL-1255
> Project: Apache Drill
> Issue Type: Improvement
> Reporter: Jason Altekruse
>
> Currently the JSON reader for drill will fail if there is any schema change
> in a file. For the time being, this is expected for a significant change in
> type, such as a change between types without clear implicit casting rules,
> such as a change between any combination of string, bool, or numeric types.
> We however do want to support changing from an integer to a double type (any
> number with a decimal point is read as a double value) or vice versa. This is
> also related to mixed integer and double types in arrays, which should also
> be supported.
--
This message was sent by Atlassian JIRA
(v6.2#6252)