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-28084][SQL] Resolving the partition column name based on the r…
…esolver in sql load command ### What changes were proposed in this pull request? LOAD DATA command resolves the partition column name as case sensitive manner, where as in insert commandthe partition column name will be resolved using the SQLConf resolver where the names will be resolved based on `spark.sql.caseSensitive` property. Same logic can be applied for resolving the partition column names in LOAD COMMAND. ### Why are the changes needed? It's to handle the partition column name correctly according to the configuration. ### Does this PR introduce any user-facing change? No. ### How was this patch tested? Existing UT and manual testing. Closes apache#24903 from sujith71955/master_paritionColName. Lead-authored-by: s71955 <[email protected]> Co-authored-by: sujith71955 <[email protected]> Signed-off-by: Dongjoon Hyun <[email protected]>
- Loading branch information
1 parent
40485f4
commit ee66890
Showing
3 changed files
with
52 additions
and
9 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