You are viewing a plain text version of this content. The canonical link for it is here.
Posted to issues@spark.apache.org by "Liang-Chi Hsieh (JIRA)" <ji...@apache.org> on 2019/01/06 03:59:00 UTC
[jira] [Created] (SPARK-26551) Selecting one complex field and
having is null predicate on another complex field can cause error
Liang-Chi Hsieh created SPARK-26551:
---------------------------------------
Summary: 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: 3.0.0
Reporter: Liang-Chi Hsieh
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