You are viewing a plain text version of this content. The canonical link for it is here.
Posted to reviews@spark.apache.org by dongjoon-hyun <gi...@git.apache.org> on 2017/06/09 00:11:10 UTC

[GitHub] spark pull request #18245: [SPARK-20954][SQL][BRANCH-2.2] `DESCRIBE [EXTENDE...

GitHub user dongjoon-hyun opened a pull request:

    https://github.com/apache/spark/pull/18245

    [SPARK-20954][SQL][BRANCH-2.2] `DESCRIBE [EXTENDED]` result should be 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.

You can merge this pull request into a Git repository by running:

    $ git pull https://github.com/dongjoon-hyun/spark SPARK-20954-BRANCH-2.2

Alternatively you can review and apply these changes as the patch at:

    https://github.com/apache/spark/pull/18245.patch

To close this pull request, make a commit to your master/trunk branch
with (at least) the following in the commit message:

    This closes #18245
    
----
commit a7ba2387f1d33c874a1c195e8adc4d7ff7183a21
Author: Dongjoon Hyun <do...@apache.org>
Date:   2017-06-08T23:46:56Z

    [SPARK-20954][SQL][BRANCH-2.2] `DESCRIBE [EXTENDED]` result should be 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.

----


---
If your project is set up for it, you can reply to this email and have your
reply appear on GitHub as well. If your project does not have this feature
enabled and wishes so, or if the feature is enabled but not working, please
contact infrastructure at infrastructure@apache.org or file a JIRA ticket
with INFRA.
---

---------------------------------------------------------------------
To unsubscribe, e-mail: reviews-unsubscribe@spark.apache.org
For additional commands, e-mail: reviews-help@spark.apache.org


[GitHub] spark issue #18245: [SPARK-20954][SQL][BRANCH-2.2] `DESCRIBE [EXTENDED]` res...

Posted by cloud-fan <gi...@git.apache.org>.
Github user cloud-fan commented on the issue:

    https://github.com/apache/spark/pull/18245
  
    thanks, merging to 2.2!


---
If your project is set up for it, you can reply to this email and have your
reply appear on GitHub as well. If your project does not have this feature
enabled and wishes so, or if the feature is enabled but not working, please
contact infrastructure at infrastructure@apache.org or file a JIRA ticket
with INFRA.
---

---------------------------------------------------------------------
To unsubscribe, e-mail: reviews-unsubscribe@spark.apache.org
For additional commands, e-mail: reviews-help@spark.apache.org


[GitHub] spark pull request #18245: [SPARK-20954][SQL][BRANCH-2.2] `DESCRIBE [EXTENDE...

Posted by dongjoon-hyun <gi...@git.apache.org>.
Github user dongjoon-hyun closed the pull request at:

    https://github.com/apache/spark/pull/18245


---
If your project is set up for it, you can reply to this email and have your
reply appear on GitHub as well. If your project does not have this feature
enabled and wishes so, or if the feature is enabled but not working, please
contact infrastructure at infrastructure@apache.org or file a JIRA ticket
with INFRA.
---

---------------------------------------------------------------------
To unsubscribe, e-mail: reviews-unsubscribe@spark.apache.org
For additional commands, e-mail: reviews-help@spark.apache.org


[GitHub] spark issue #18245: [SPARK-20954][SQL][BRANCH-2.2] `DESCRIBE [EXTENDED]` res...

Posted by AmplabJenkins <gi...@git.apache.org>.
Github user AmplabJenkins commented on the issue:

    https://github.com/apache/spark/pull/18245
  
    Merged build finished. Test PASSed.


---
If your project is set up for it, you can reply to this email and have your
reply appear on GitHub as well. If your project does not have this feature
enabled and wishes so, or if the feature is enabled but not working, please
contact infrastructure at infrastructure@apache.org or file a JIRA ticket
with INFRA.
---

---------------------------------------------------------------------
To unsubscribe, e-mail: reviews-unsubscribe@spark.apache.org
For additional commands, e-mail: reviews-help@spark.apache.org


[GitHub] spark issue #18245: [SPARK-20954][SQL][BRANCH-2.2] `DESCRIBE [EXTENDED]` res...

Posted by dongjoon-hyun <gi...@git.apache.org>.
Github user dongjoon-hyun commented on the issue:

    https://github.com/apache/spark/pull/18245
  
    Thank you, @cloud-fan .


---
If your project is set up for it, you can reply to this email and have your
reply appear on GitHub as well. If your project does not have this feature
enabled and wishes so, or if the feature is enabled but not working, please
contact infrastructure at infrastructure@apache.org or file a JIRA ticket
with INFRA.
---

---------------------------------------------------------------------
To unsubscribe, e-mail: reviews-unsubscribe@spark.apache.org
For additional commands, e-mail: reviews-help@spark.apache.org


[GitHub] spark issue #18245: [SPARK-20954][SQL][BRANCH-2.2] `DESCRIBE [EXTENDED]` res...

Posted by cloud-fan <gi...@git.apache.org>.
Github user cloud-fan commented on the issue:

    https://github.com/apache/spark/pull/18245
  
    can you close this PR manually? thanks!


---
If your project is set up for it, you can reply to this email and have your
reply appear on GitHub as well. If your project does not have this feature
enabled and wishes so, or if the feature is enabled but not working, please
contact infrastructure at infrastructure@apache.org or file a JIRA ticket
with INFRA.
---

---------------------------------------------------------------------
To unsubscribe, e-mail: reviews-unsubscribe@spark.apache.org
For additional commands, e-mail: reviews-help@spark.apache.org


[GitHub] spark issue #18245: [SPARK-20954][SQL][BRANCH-2.2] `DESCRIBE [EXTENDED]` res...

Posted by AmplabJenkins <gi...@git.apache.org>.
Github user AmplabJenkins commented on the issue:

    https://github.com/apache/spark/pull/18245
  
    Test PASSed.
    Refer to this link for build results (access rights to CI server needed): 
    https://amplab.cs.berkeley.edu/jenkins//job/SparkPullRequestBuilder/77830/
    Test PASSed.


---
If your project is set up for it, you can reply to this email and have your
reply appear on GitHub as well. If your project does not have this feature
enabled and wishes so, or if the feature is enabled but not working, please
contact infrastructure at infrastructure@apache.org or file a JIRA ticket
with INFRA.
---

---------------------------------------------------------------------
To unsubscribe, e-mail: reviews-unsubscribe@spark.apache.org
For additional commands, e-mail: reviews-help@spark.apache.org


[GitHub] spark issue #18245: [SPARK-20954][SQL][BRANCH-2.2] `DESCRIBE [EXTENDED]` res...

Posted by dongjoon-hyun <gi...@git.apache.org>.
Github user dongjoon-hyun commented on the issue:

    https://github.com/apache/spark/pull/18245
  
    Oh, sure!


---
If your project is set up for it, you can reply to this email and have your
reply appear on GitHub as well. If your project does not have this feature
enabled and wishes so, or if the feature is enabled but not working, please
contact infrastructure at infrastructure@apache.org or file a JIRA ticket
with INFRA.
---

---------------------------------------------------------------------
To unsubscribe, e-mail: reviews-unsubscribe@spark.apache.org
For additional commands, e-mail: reviews-help@spark.apache.org


[GitHub] spark issue #18245: [SPARK-20954][SQL][BRANCH-2.2] `DESCRIBE [EXTENDED]` res...

Posted by SparkQA <gi...@git.apache.org>.
Github user SparkQA commented on the issue:

    https://github.com/apache/spark/pull/18245
  
    **[Test build #77830 has started](https://amplab.cs.berkeley.edu/jenkins/job/SparkPullRequestBuilder/77830/testReport)** for PR 18245 at commit [`a7ba238`](https://github.com/apache/spark/commit/a7ba2387f1d33c874a1c195e8adc4d7ff7183a21).


---
If your project is set up for it, you can reply to this email and have your
reply appear on GitHub as well. If your project does not have this feature
enabled and wishes so, or if the feature is enabled but not working, please
contact infrastructure at infrastructure@apache.org or file a JIRA ticket
with INFRA.
---

---------------------------------------------------------------------
To unsubscribe, e-mail: reviews-unsubscribe@spark.apache.org
For additional commands, e-mail: reviews-help@spark.apache.org


[GitHub] spark issue #18245: [SPARK-20954][SQL][BRANCH-2.2] `DESCRIBE [EXTENDED]` res...

Posted by SparkQA <gi...@git.apache.org>.
Github user SparkQA commented on the issue:

    https://github.com/apache/spark/pull/18245
  
    **[Test build #77830 has finished](https://amplab.cs.berkeley.edu/jenkins/job/SparkPullRequestBuilder/77830/testReport)** for PR 18245 at commit [`a7ba238`](https://github.com/apache/spark/commit/a7ba2387f1d33c874a1c195e8adc4d7ff7183a21).
     * This patch passes all tests.
     * This patch merges cleanly.
     * This patch adds no public classes.


---
If your project is set up for it, you can reply to this email and have your
reply appear on GitHub as well. If your project does not have this feature
enabled and wishes so, or if the feature is enabled but not working, please
contact infrastructure at infrastructure@apache.org or file a JIRA ticket
with INFRA.
---

---------------------------------------------------------------------
To unsubscribe, e-mail: reviews-unsubscribe@spark.apache.org
For additional commands, e-mail: reviews-help@spark.apache.org