-
Notifications
You must be signed in to change notification settings - Fork 29.1k
[SPARK-3004][SQL] Added null checking when retrieving row set #1920
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
Conversation
|
QA tests have started for PR 1920. This patch merges cleanly. |
|
QA results for PR 1920: |
|
I believe the build failure is caused by SPARK-3013. Should retest this after the issue is fixed. |
|
test this please |
|
QA tests have started for PR 1920. This patch merges cleanly. |
|
QA results for PR 1920: |
|
Test failures are only in pyspark. I'm going to merge this into master and 1.1. Thanks @liancheng ! |
JIRA issue: [SPARK-3004](https://issues.apache.org/jira/browse/SPARK-3004) HiveThriftServer2 throws exception when the result set contains `NULL`. Should check `isNullAt` in `SparkSQLOperationManager.getNextRowSet`. Note that simply using `row.addColumnValue(null)` doesn't work, since Hive set the column type of a null `ColumnValue` to String by default. Author: Cheng Lian <lian.cs.zju@gmail.com> Closes #1920 from liancheng/spark-3004 and squashes the following commits: 1b1db1c [Cheng Lian] Adding NULL column values in the Hive way 2217722 [Cheng Lian] Fixed SPARK-3004: added null checking when retrieving row set (cherry picked from commit bdc7a1a) Signed-off-by: Michael Armbrust <michael@databricks.com>
JIRA issue: [SPARK-3004](https://issues.apache.org/jira/browse/SPARK-3004) HiveThriftServer2 throws exception when the result set contains `NULL`. Should check `isNullAt` in `SparkSQLOperationManager.getNextRowSet`. Note that simply using `row.addColumnValue(null)` doesn't work, since Hive set the column type of a null `ColumnValue` to String by default. Author: Cheng Lian <lian.cs.zju@gmail.com> Closes apache#1920 from liancheng/spark-3004 and squashes the following commits: 1b1db1c [Cheng Lian] Adding NULL column values in the Hive way 2217722 [Cheng Lian] Fixed SPARK-3004: added null checking when retrieving row set
JIRA issue: SPARK-3004
HiveThriftServer2 throws exception when the result set contains
NULL. Should checkisNullAtinSparkSQLOperationManager.getNextRowSet.Note that simply using
row.addColumnValue(null)doesn't work, since Hive set the column type of a nullColumnValueto String by default.