[
https://issues.apache.org/jira/browse/SPARK-13623?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel
]
Hyukjin Kwon updated SPARK-13623:
---------------------------------
Labels: bulk-closed (was: )
> Relaxed mode for querying Dataframes, so columns that don't exist or have an
> incompatible schema return null rather than error
> ------------------------------------------------------------------------------------------------------------------------------
>
> Key: SPARK-13623
> URL: https://issues.apache.org/jira/browse/SPARK-13623
> Project: Spark
> Issue Type: Improvement
> Components: SQL
> Affects Versions: 1.6.0
> Reporter: Ewan Leith
> Priority: Minor
> Labels: bulk-closed
>
> Currently when querying a dataframe, if one record of many from a select
> statement is missing or has an invalid schema, then an error is raised such
> as:
> {{org.apache.spark.sql.AnalysisException: cannot resolve 'data.stuff.onetype'
> due to data type mismatch: argument 2 requires integral type, however,
> 'onetype' is of string type.;}}
> Ideally, when doing ad-hoc querying of data, there would be an option for a
> relaxed mode where any missing or incompatible records in the selected
> columns are returned as a {{null}} instead of an error being raised for the
> whole set of data.
--
This message was sent by Atlassian JIRA
(v7.6.3#76005)
---------------------------------------------------------------------
To unsubscribe, e-mail: [email protected]
For additional commands, e-mail: [email protected]