-
Notifications
You must be signed in to change notification settings - Fork 28.9k
[SPARK-5498][SQL]fix query exception when partition schema does not match table schema #4289
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
Closed
Closed
Changes from all commits
Commits
Show all changes
16 commits
Select commit
Hold shift + click to select a range
3b27af3
SPARK-5498:fix bug when query the data when partition schema does not…
jeanlyn 10744ca
Insert a space after the start of the comment
jeanlyn b1527d5
fix type mismatch
jeanlyn afc7da5
make getConvertedOI compatible between 0.12.0 and 0.13.1
jeanlyn 7470901
reduce conflicts
jeanlyn 63d170a
fix compile problem
jeanlyn 12d800d
fix code style
jeanlyn 2a91a87
add more test case and clean the code
jeanlyn c879aa1
clean the code
jeanlyn 0549759
fix code style
jeanlyn 1e8b30c
fix code style
jeanlyn d6c93c5
fix bug
jeanlyn 535b0b6
reduce conflicts
jeanlyn 07d84b6
Merge branch 'master' into schema
jeanlyn b41d6b9
fix compile errors
jeanlyn 9c8da74
fix style
jeanlyn File filter
Filter by extension
Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
There are no files selected for viewing
This file contains hidden or 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 hidden or 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 hidden or 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 hidden or 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
Add this suggestion to a batch that can be applied as a single commit.
This suggestion is invalid because no changes were made to the code.
Suggestions cannot be applied while the pull request is closed.
Suggestions cannot be applied while viewing a subset of changes.
Only one suggestion per line can be applied in a batch.
Add this suggestion to a batch that can be applied as a single commit.
Applying suggestions on deleted lines is not supported.
You must change the existing code in this line in order to create a valid suggestion.
Outdated suggestions cannot be applied.
This suggestion has been applied or marked resolved.
Suggestions cannot be applied from pending reviews.
Suggestions cannot be applied on multi-line comments.
Suggestions cannot be applied while the pull request is queued to merge.
Suggestion cannot be applied right now. Please check back later.
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
I just checked the Hive Document
It says:
The CASCADE|RESTRICT clause is available in Hive 0.15.0. ALTER TABLE CHANGE COLUMN with CASCADE command changes the columns of a table's metadata, and cascades the same change to all the partition metadata. RESTRICT is the default, limiting column change only to table metadata.I guess in Hive 0.13.1, when table schema changed via
alter table, only the table meta data will be updated, can you double check if above query works for Hive 0.13.1?There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
I check this query in Hive 0.11 and hive-0.12 is OK,I will check this query in Hive 0.13.1 later.