forked from apache/spark
-
Notifications
You must be signed in to change notification settings - Fork 0
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
[SPARK-35220][SQL] DayTimeIntervalType/YearMonthIntervalType show dif…
…ferent between Hive SerDe and row format delimited ### What changes were proposed in this pull request? DayTimeIntervalType/YearMonthIntervalString show different between Hive SerDe and row format delimited. Create this pr to add a test and have disscuss. For this problem I think we have two direction: 1. leave it as current and add a item t explain this in migration guide docs. 2. Since we should not change hive serde's behavior, so we can cast spark row format delimited's behavior to use cast DayTimeIntervalType/YearMonthIntervalType as HIVE_STYLE ### Why are the changes needed? Add UT ### Does this PR introduce _any_ user-facing change? No ### How was this patch tested? added ut Closes apache#32335 from AngersZhuuuu/SPARK-35220. Authored-by: Angerszhuuuu <[email protected]> Signed-off-by: hyukjinkwon <[email protected]>
- Loading branch information
1 parent
5b1353f
commit 6f782ef
Showing
3 changed files
with
38 additions
and
0 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
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
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