Skip to content

Conversation

@liancheng
Copy link
Contributor

JIRA issue: 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.

@SparkQA
Copy link

SparkQA commented Aug 13, 2014

QA tests have started for PR 1920. This patch merges cleanly.
View progress: https://amplab.cs.berkeley.edu/jenkins/job/SparkPullRequestBuilder/18436/consoleFull

@SparkQA
Copy link

SparkQA commented Aug 13, 2014

QA results for PR 1920:
- This patch FAILED unit tests.
- This patch merges cleanly
- This patch adds no public classes

For more information see test ouptut:
https://amplab.cs.berkeley.edu/jenkins/job/SparkPullRequestBuilder/18436/consoleFull

@liancheng
Copy link
Contributor Author

I believe the build failure is caused by SPARK-3013. Should retest this after the issue is fixed.

@marmbrus
Copy link
Contributor

test this please

@SparkQA
Copy link

SparkQA commented Aug 13, 2014

QA tests have started for PR 1920. This patch merges cleanly.
View progress: https://amplab.cs.berkeley.edu/jenkins/job/SparkPullRequestBuilder/18466/consoleFull

@SparkQA
Copy link

SparkQA commented Aug 13, 2014

QA results for PR 1920:
- This patch FAILED unit tests.
- This patch merges cleanly
- This patch adds no public classes

For more information see test ouptut:
https://amplab.cs.berkeley.edu/jenkins/job/SparkPullRequestBuilder/18466/consoleFull

@marmbrus
Copy link
Contributor

Test failures are only in pyspark. I'm going to merge this into master and 1.1.

Thanks @liancheng !

@asfgit asfgit closed this in bdc7a1a Aug 13, 2014
asfgit pushed a commit that referenced this pull request Aug 13, 2014
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>
xiliu82 pushed a commit to xiliu82/spark that referenced this pull request Sep 4, 2014
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
@liancheng liancheng deleted the spark-3004 branch September 24, 2014 00:07
snmvaughan pushed a commit to snmvaughan/spark that referenced this pull request Mar 26, 2024
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

3 participants