You are viewing a plain text version of this content. The canonical link for it is here.
Posted to issues@spark.apache.org by "DB Tsai (JIRA)" <ji...@apache.org> on 2019/01/07 20:11:00 UTC
[jira] [Updated] (SPARK-26551) Selecting one complex field and
having is null predicate on another complex field can cause error
[ https://issues.apache.org/jira/browse/SPARK-26551?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel ]
DB Tsai updated SPARK-26551:
----------------------------
Affects Version/s: 2.4.0
> Selecting one complex field and having is null predicate on another complex field can cause error
> -------------------------------------------------------------------------------------------------
>
> Key: SPARK-26551
> URL: https://issues.apache.org/jira/browse/SPARK-26551
> Project: Spark
> Issue Type: Bug
> Components: SQL
> Affects Versions: 2.4.0, 3.0.0
> Reporter: Liang-Chi Hsieh
> Assignee: Liang-Chi Hsieh
> Priority: Major
>
> The query below can cause error when doing schema pruning:
> {code:java}
> val query = sql("select * from contacts")
> .where("name.middle is not null")
> .select(
> "id",
> "name.first",
> "name.middle",
> "name.last"
> )
> .where("last = 'Jones'")
> .select(count("id")
> {code}
--
This message was sent by Atlassian JIRA
(v7.6.3#76005)
---------------------------------------------------------------------
To unsubscribe, e-mail: issues-unsubscribe@spark.apache.org
For additional commands, e-mail: issues-help@spark.apache.org