-
Notifications
You must be signed in to change notification settings - Fork 28.3k
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
[SPARK-21426][2.0][SQL][TEST] Fix test failure due to missing literal…
… representation ## What changes were proposed in this pull request? SPARK 2.0 does not support hex literal. Thus, the test case failed after backporting #18571 ## How was this patch tested? N/A Author: gatorsmile <gatorsmile@gmail.com> Closes #18643 from gatorsmile/fixTestFailure2.0.
- Loading branch information
1 parent
1afded0
commit e4f57f2
Showing
2 changed files
with
6 additions
and
6 deletions.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -1,3 +1,3 @@ | ||
-- binary type | ||
select x'00' < x'0f'; | ||
select x'00' < x'ff'; | ||
select hex('00') < hex('0f'); | ||
select hex('00') < hex('ff'); |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters