Skip to content

[BUGFIX][SQL] Should match java.math.BigDecimal when wnrapping Hive output#1199

Closed
liancheng wants to merge 1 commit into
apache:masterfrom
liancheng:javaBigDecimal
Closed

[BUGFIX][SQL] Should match java.math.BigDecimal when wnrapping Hive output#1199
liancheng wants to merge 1 commit into
apache:masterfrom
liancheng:javaBigDecimal

Conversation

@liancheng

Copy link
Copy Markdown
Contributor

The BigDecimal branch in unwrap matches to scala.math.BigDecimal rather than java.math.BigDecimal.

@AmplabJenkins

Copy link
Copy Markdown

Merged build triggered.

@AmplabJenkins

Copy link
Copy Markdown

Merged build started.

@AmplabJenkins

Copy link
Copy Markdown

Merged build finished.

@AmplabJenkins

Copy link
Copy Markdown

Refer to this link for build results: https://amplab.cs.berkeley.edu/jenkins/job/SparkPullRequestBuilder/16073/

@liancheng

Copy link
Copy Markdown
Contributor Author

I think the CachedTableSuite failed because TestData was not properly initialized. Is it related to running test cases in parallel?

@AmplabJenkins

Copy link
Copy Markdown

Merged build triggered.

@liancheng

Copy link
Copy Markdown
Contributor Author

The problem is fixed by PR #1201, rebased to the most recent master.

@AmplabJenkins

Copy link
Copy Markdown

Merged build started.

@AmplabJenkins

Copy link
Copy Markdown

Merged build triggered.

@AmplabJenkins

Copy link
Copy Markdown

Merged build started.

@rxin

rxin commented Jun 25, 2014

Copy link
Copy Markdown
Contributor

Aren't we using Scala's BigDecimal?

@marmbrus

Copy link
Copy Markdown
Contributor

@rxin we are probably using scala's but this code is unwrapping values that come from hive.

@rxin

rxin commented Jun 25, 2014

Copy link
Copy Markdown
Contributor

SGTM. We should probably switch to this: https://issues.apache.org/jira/browse/HIVE-6017 although it is a lower priority task (although for the purpose of API compatibility, maybe we want to make it higher priority0.

@AmplabJenkins

Copy link
Copy Markdown

Merged build finished. All automated tests passed.

@AmplabJenkins

Copy link
Copy Markdown

All automated tests passed.
Refer to this link for build results: https://amplab.cs.berkeley.edu/jenkins/job/SparkPullRequestBuilder/16090/

@AmplabJenkins

Copy link
Copy Markdown

Merged build finished.

@AmplabJenkins

Copy link
Copy Markdown

Refer to this link for build results: https://amplab.cs.berkeley.edu/jenkins/job/SparkPullRequestBuilder/16095/

@liancheng

Copy link
Copy Markdown
Contributor Author

Weird, I can't reproduce the test failure locally, and the failed test case seems completely unrelated to the change...

@liancheng

Copy link
Copy Markdown
Contributor Author

@marmbrus Would you mind to retest this? Thanks.

@liancheng

Copy link
Copy Markdown
Contributor Author

OK, I reproduced it locally by running PruningSuite after HiveCompatibilitySuite. Investigating.

@rxin

rxin commented Jun 25, 2014

Copy link
Copy Markdown
Contributor

I'm going to merge this first since the test is most likely a different problem.

asfgit pushed a commit that referenced this pull request Jun 25, 2014
…utput

The `BigDecimal` branch in `unwrap` matches to `scala.math.BigDecimal` rather than `java.math.BigDecimal`.

Author: Cheng Lian <lian.cs.zju@gmail.com>

Closes #1199 from liancheng/javaBigDecimal and squashes the following commits:

e9bb481 [Cheng Lian] Should match java.math.BigDecimal when wnrapping Hive output

(cherry picked from commit 22036ae)
Signed-off-by: Reynold Xin <rxin@apache.org>
@asfgit asfgit closed this in 22036ae Jun 25, 2014
pdeyhim pushed a commit to pdeyhim/spark-1 that referenced this pull request Jun 25, 2014
…utput

The `BigDecimal` branch in `unwrap` matches to `scala.math.BigDecimal` rather than `java.math.BigDecimal`.

Author: Cheng Lian <lian.cs.zju@gmail.com>

Closes apache#1199 from liancheng/javaBigDecimal and squashes the following commits:

e9bb481 [Cheng Lian] Should match java.math.BigDecimal when wnrapping Hive output
@liancheng liancheng deleted the javaBigDecimal branch June 25, 2014 20:36
@liancheng

Copy link
Copy Markdown
Contributor Author

@rxin Solved the test failure in PR #1221.

xiliu82 pushed a commit to xiliu82/spark that referenced this pull request Sep 4, 2014
…utput

The `BigDecimal` branch in `unwrap` matches to `scala.math.BigDecimal` rather than `java.math.BigDecimal`.

Author: Cheng Lian <lian.cs.zju@gmail.com>

Closes apache#1199 from liancheng/javaBigDecimal and squashes the following commits:

e9bb481 [Cheng Lian] Should match java.math.BigDecimal when wnrapping Hive output
wangyum pushed a commit that referenced this pull request May 26, 2023
* [CARMEL-6490] Lots of unfinished state sql in the query log

* Fix ut
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.

4 participants