Uh oh!
There was an error while loading. Please reload this page.
[SPARK-28129][SQL][TEST] Port float8.sql - #24931
Conversation
SparkQA
commented
Jun 21, 2019
Test build #106761 has finished for PR 24931 at commit
|
SparkQA
commented
Jul 10, 2019
Test build #107441 has finished for PR 24931 at commit
|
wangyum
commented
Jul 10, 2019
retest this please |
SparkQA
commented
Jul 10, 2019
Test build #107444 has finished for PR 24931 at commit
|
Uh oh!
There was an error while loading. Please reload this page.
Uh oh!
There was an error while loading. Please reload this page.
Uh oh!
There was an error while loading. Please reload this page.
Uh oh!
There was an error while loading. Please reload this page.
Uh oh!
There was an error while loading. Please reload this page.
Uh oh!
There was an error while loading. Please reload this page.
dongjoon-hyun
commented
Jul 15, 2019
wangyum
commented
Jul 15, 2019
Thank you @dongjoon-hyun . I will update it later. |
Uh oh!
There was an error while loading. Please reload this page.
SparkQA
commented
Jul 15, 2019
Test build #107679 has finished for PR 24931 at commit
|
| SELECT double('Infinity') + 100.0; | ||
| -- [SPARK-27768] Infinity, -Infinity, NaN should be recognized in a case insensitive manner | ||
| SELECT double('Infinity') / double('Infinity'); | ||
| SELECT double('NaN') / double('NaN'); |
There was a problem hiding this comment.
Could you add a comment SPARK-28315 before line 55?
dongjoon-hyun
left a comment
There was a problem hiding this comment.
+1, LGTM (except one minor comment request).
Most differences are filed correctly. Thank you so much, @wangyum .
SparkQA
commented
Jul 16, 2019
Test build #107713 has finished for PR 24931 at commit
|
SparkQA
commented
Jul 16, 2019
Test build #107721 has finished for PR 24931 at commit
|
wangyum
commented
Jul 16, 2019
retest this please |
SparkQA
commented
Jul 16, 2019
Test build #107725 has finished for PR 24931 at commit
|
HyukjinKwon
commented
Jul 16, 2019
Merged to master. |
## What changes were proposed in this pull request? This PR is to port float8.sql from PostgreSQL regression tests. https://github.com/postgres/postgres/blob/REL_12_BETA2/src/test/regress/sql/float8.sql The expected results can be found in the link: https://github.com/postgres/postgres/blob/REL_12_BETA2/src/test/regress/expected/float8.out When porting the test cases, found six PostgreSQL specific features that do not exist in Spark SQL: [SPARK-28060](https://issues.apache.org/jira/browse/SPARK-28060): Double type can not accept some special inputs [SPARK-28027](https://issues.apache.org/jira/browse/SPARK-28027): Spark SQL does not support prefix operator `` and `|/` [SPARK-28061](https://issues.apache.org/jira/browse/SPARK-28061): Support for converting float to binary format [SPARK-23906](https://issues.apache.org/jira/browse/SPARK-23906): Support Truncate number [SPARK-28134](https://issues.apache.org/jira/browse/SPARK-28134): Missing Trigonometric Functions Also, found two bug: [SPARK-28024](https://issues.apache.org/jira/browse/SPARK-28024): Incorrect value when out of range [SPARK-28135](https://issues.apache.org/jira/browse/SPARK-28135): ceil/ceiling/floor/power returns incorrect values Also, found four inconsistent behavior: [SPARK-27923](https://issues.apache.org/jira/browse/SPARK-27923): Spark SQL insert bad inputs to NULL [SPARK-28028](https://issues.apache.org/jira/browse/SPARK-28028): Cast numeric to integral type need round [SPARK-27923](https://issues.apache.org/jira/browse/SPARK-27923): Spark SQL returns NULL when dividing by zero [SPARK-28007](https://issues.apache.org/jira/browse/SPARK-28007): Caret operator (^) means bitwise XOR in Spark/Hive and exponentiation in Postgres ## How was this patch tested? N/A Closesapache#24931 from wangyum/SPARK-28129. Authored-by: Yuming Wang <yumwang@ebay.com> Signed-off-by: HyukjinKwon <gurwls223@apache.org>
What changes were proposed in this pull request?
This PR is to port float8.sql from PostgreSQL regression tests. https://github.com/postgres/postgres/blob/REL_12_BETA2/src/test/regress/sql/float8.sql
The expected results can be found in the link: https://github.com/postgres/postgres/blob/REL_12_BETA2/src/test/regress/expected/float8.out
When porting the test cases, found six PostgreSQL specific features that do not exist in Spark SQL:
SPARK-28060: Double type can not accept some special inputs
SPARK-28027: Spark SQL does not support prefix operator
@and|/SPARK-28061: Support for converting float to binary format
SPARK-23906: Support Truncate number
SPARK-28134: Missing Trigonometric Functions
Also, found two bug:
SPARK-28024: Incorrect value when out of range
SPARK-28135: ceil/ceiling/floor/power returns incorrect values
Also, found four inconsistent behavior:
SPARK-27923: Spark SQL insert bad inputs to NULL
SPARK-28028: Cast numeric to integral type need round
SPARK-27923: Spark SQL returns NULL when dividing by zero
SPARK-28007: Caret operator (^) means bitwise XOR in Spark/Hive and exponentiation in Postgres
How was this patch tested?
N/A