[jira] [Updated] (SPARK-33591) NULL is recognized as the "null" string in partition specs
[ https://issues.apache.org/jira/browse/SPARK-33591?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel ] Wenchen Fan updated SPARK-33591: Fix Version/s: 3.1.1 3.0.2 > NULL is recognized as the "null" string in partition specs > -- > > Key: SPARK-33591 > URL: https://issues.apache.org/jira/browse/SPARK-33591 > Project: Spark > Issue Type: Bug > Components: SQL >Affects Versions: 3.1.0 >Reporter: Maxim Gekk >Assignee: Maxim Gekk >Priority: Major > Labels: correctness > Fix For: 3.0.2, 3.2.0, 3.1.1 > > > For example: > {code:sql} > spark-sql> CREATE TABLE tbl5 (col1 INT, p1 STRING) USING PARQUET PARTITIONED > BY (p1); > spark-sql> INSERT INTO TABLE tbl5 PARTITION (p1 = null) SELECT 0; > spark-sql> SELECT isnull(p1) FROM tbl5; > false > {code} > The *p1 = null* is not recognized as a partition with NULL value. -- This message was sent by Atlassian Jira (v8.3.4#803005) - To unsubscribe, e-mail: issues-unsubscr...@spark.apache.org For additional commands, e-mail: issues-h...@spark.apache.org
[jira] [Updated] (SPARK-33591) NULL is recognized as the "null" string in partition specs
[ https://issues.apache.org/jira/browse/SPARK-33591?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel ] Wenchen Fan updated SPARK-33591: Labels: correctness (was: ) > NULL is recognized as the "null" string in partition specs > -- > > Key: SPARK-33591 > URL: https://issues.apache.org/jira/browse/SPARK-33591 > Project: Spark > Issue Type: Bug > Components: SQL >Affects Versions: 3.1.0 >Reporter: Maxim Gekk >Assignee: Maxim Gekk >Priority: Major > Labels: correctness > Fix For: 3.2.0 > > > For example: > {code:sql} > spark-sql> CREATE TABLE tbl5 (col1 INT, p1 STRING) USING PARQUET PARTITIONED > BY (p1); > spark-sql> INSERT INTO TABLE tbl5 PARTITION (p1 = null) SELECT 0; > spark-sql> SELECT isnull(p1) FROM tbl5; > false > {code} > The *p1 = null* is not recognized as a partition with NULL value. -- This message was sent by Atlassian Jira (v8.3.4#803005) - To unsubscribe, e-mail: issues-unsubscr...@spark.apache.org For additional commands, e-mail: issues-h...@spark.apache.org
[jira] [Updated] (SPARK-33591) NULL is recognized as the "null" string in partition specs
[ https://issues.apache.org/jira/browse/SPARK-33591?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel ] Maxim Gekk updated SPARK-33591: --- Issue Type: Bug (was: Improvement) > NULL is recognized as the "null" string in partition specs > -- > > Key: SPARK-33591 > URL: https://issues.apache.org/jira/browse/SPARK-33591 > Project: Spark > Issue Type: Bug > Components: SQL >Affects Versions: 3.1.0 >Reporter: Maxim Gekk >Priority: Major > > For example: > {code:sql} > spark-sql> CREATE TABLE tbl5 (col1 INT, p1 STRING) USING PARQUET PARTITIONED > BY (p1); > spark-sql> INSERT INTO TABLE tbl5 PARTITION (p1 = null) SELECT 0; > spark-sql> SELECT isnull(p1) FROM tbl5; > false > {code} > The *p1 = null* is not recognized as a partition with NULL value. -- This message was sent by Atlassian Jira (v8.3.4#803005) - To unsubscribe, e-mail: issues-unsubscr...@spark.apache.org For additional commands, e-mail: issues-h...@spark.apache.org
[jira] [Updated] (SPARK-33591) NULL is recognized as the "null" string in partition specs
[ https://issues.apache.org/jira/browse/SPARK-33591?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel ] Maxim Gekk updated SPARK-33591: --- Issue Type: Improvement (was: Bug) > NULL is recognized as the "null" string in partition specs > -- > > Key: SPARK-33591 > URL: https://issues.apache.org/jira/browse/SPARK-33591 > Project: Spark > Issue Type: Improvement > Components: SQL >Affects Versions: 3.1.0 >Reporter: Maxim Gekk >Priority: Major > > For example: > {code:sql} > spark-sql> CREATE TABLE tbl5 (col1 INT, p1 STRING) USING PARQUET PARTITIONED > BY (p1); > spark-sql> INSERT INTO TABLE tbl5 PARTITION (p1 = null) SELECT 0; > spark-sql> SELECT isnull(p1) FROM tbl5; > false > {code} > The *p1 = null* is not recognized as a partition with NULL value. -- This message was sent by Atlassian Jira (v8.3.4#803005) - To unsubscribe, e-mail: issues-unsubscr...@spark.apache.org For additional commands, e-mail: issues-h...@spark.apache.org