Uh oh!
There was an error while loading. Please reload this page.
[SPARK-20954][SQL][BRANCH-2.2] DESCRIBE [EXTENDED] result should be compatible with previous Spark - #18245
Closed
dongjoon-hyun wants to merge 1 commit into
Closed
[SPARK-20954][SQL][BRANCH-2.2] DESCRIBE [EXTENDED] result should be compatible with previous Spark#18245dongjoon-hyun wants to merge 1 commit into
DESCRIBE [EXTENDED] result should be compatible with previous Spark#18245dongjoon-hyun wants to merge 1 commit into
Conversation
… compatible with previous Spark After [SPARK-20067](https://issues.apache.org/jira/browse/SPARK-20067), `DESCRIBE` and `DESCRIBE EXTENDED` shows the following result. This is incompatible with Spark 2.1.1. This PR removes the column header line in case of those command. **MASTER** and **BRANCH-2.2** ```scala scala> sql("desc t").show(false) +----------+---------+-------+ |col_name |data_type|comment| +----------+---------+-------+ |# col_name|data_type|comment| |a |int |null | +----------+---------+-------+ ``` **SPARK 2.1.1** and **this PR** ```scala scala> sql("desc t").show(false) +--------+---------+-------+ |col_name|data_type|comment| +--------+---------+-------+ |a |int |null | +--------+---------+-------+ ``` Pass the Jenkins with the updated test suites.
SparkQA
commented
Jun 9, 2017
Test build #77830 has finished for PR 18245 at commit
|
asfgit pushed a commit
that referenced
this pull request
Jun 9, 2017
…compatible with previous Spark ## What changes were proposed in this pull request? After [SPARK-20067](https://issues.apache.org/jira/browse/SPARK-20067), `DESCRIBE` and `DESCRIBE EXTENDED` shows the following result. This is incompatible with Spark 2.1.1. This PR removes the column header line in case of those commands. **MASTER** and **BRANCH-2.2** ```scala scala> sql("desc t").show(false) +----------+---------+-------+ |col_name |data_type|comment| +----------+---------+-------+ |# col_name|data_type|comment| |a |int |null | +----------+---------+-------+ ``` **SPARK 2.1.1** and **this PR** ```scala scala> sql("desc t").show(false) +--------+---------+-------+ |col_name|data_type|comment| +--------+---------+-------+ |a |int |null | +--------+---------+-------+ ``` ## How was this patch tested? Pass the Jenkins with the updated test suites. Author: Dongjoon Hyun <dongjoon@apache.org> Closes#18245 from dongjoon-hyun/SPARK-20954-BRANCH-2.2.
cloud-fan
commented
Jun 9, 2017
Contributor
thanks, merging to 2.2! |
MemberAuthor
Thank you, @cloud-fan ! |
cloud-fan
commented
Jun 9, 2017
Contributor
can you close this PR manually? thanks! |
dongjoon-hyun
commented
Jun 9, 2017
MemberAuthor
Oh, sure! |
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
Sign up for freeto join this conversation on GitHub.
Already have an account?
Sign in to comment
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.
What changes were proposed in this pull request?
After SPARK-20067,
DESCRIBEandDESCRIBE EXTENDEDshows the following result. This is incompatible with Spark 2.1.1. This PR removes the column header line in case of those commands.MASTER and BRANCH-2.2
SPARK 2.1.1 and this PR
How was this patch tested?
Pass the Jenkins with the updated test suites.