You are viewing a plain text version of this content. The canonical link for it is here.
Posted to reviews@spark.apache.org by marmbrus <gi...@git.apache.org> on 2014/11/11 02:17:03 UTC

[GitHub] spark pull request: [SQL] Backport backtick and smallint JDBC fixe...

GitHub user marmbrus opened a pull request:

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

    [SQL] Backport backtick and smallint JDBC fixes to 1.1

    

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

    $ git pull https://github.com/marmbrus/spark backport1.1

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

    https://github.com/apache/spark/pull/3199.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 #3199
    
----
commit b3ef06b757383754a9173e81e5179946b12c7922
Author: Cheng Lian <li...@databricks.com>
Date:   2014-11-11T00:57:34Z

    [SPARK-4308][SQL] Follow up of #3175 for branch 1.1
    
    PR #3175 is for master branch only and can't be backported to branch 1.1 directly because Hive 0.13.1 support.
    
    Author: Cheng Lian <li...@databricks.com>
    
    Closes #3176 from liancheng/fix-op-state-for-1.1 and squashes the following commits:
    
    8791d87 [Cheng Lian] This is a follow up of #3175 for branch 1.1

commit 64945f868443fbc59cb34b34c16d782dda0fb63d
Author: Cheng Lian <li...@databricks.com>
Date:   2014-11-11T01:04:10Z

    [SPARK-3971][SQL] Backport #2843 to branch-1.1
    
    This PR backports #2843 to branch-1.1. The key difference is that this one doesn't support Hive 0.13.1 and thus always returns `0.12.0` when `spark.sql.hive.version` is queried.
    
    6 other commits on which #2843 depends were also backported, they are:
    
    - #2887 for `SessionState` lifecycle control
    - #2675, #2823 & #3060 for major test suite refactoring and bug fixes
    - #2164, for Parquet test suites updates
    - #2493, for reading `spark.sql.*` configurations
    
    Author: Cheng Lian <li...@databricks.com>
    Author: Cheng Lian <li...@gmail.com>
    Author: Michael Armbrust <mi...@databricks.com>
    
    Closes #3113 from liancheng/get-info-for-1.1 and squashes the following commits:
    
    d354161 [Cheng Lian] Provides Spark and Hive version in HiveThriftServer2 for branch-1.1
    0c2a244 [Michael Armbrust] [SPARK-3646][SQL] Copy SQL configuration from SparkConf when a SQLContext is created.
    3202a36 [Michael Armbrust] [SQL] Decrease partitions when testing
    7f395b7 [Cheng Lian] [SQL] Fixes race condition in CliSuite
    0dd28ec [Cheng Lian] [SQL] Fixes the race condition that may cause test failure
    5928b39 [Cheng Lian] [SPARK-3809][SQL] Fixes test suites in hive-thriftserver
    faeca62 [Cheng Lian] [SPARK-4037][SQL] Removes the SessionState instance created in HiveThriftServer2

commit f4e17cd139689becaeed55e1e4764bfdb279e354
Author: ravipesala <ra...@huawei.com>
Date:   2014-10-10T01:41:36Z

    [SPARK-3834][SQL] Backticks not correctly handled in subquery aliases
    
    The queries like SELECT a.key FROM (SELECT key FROM src) \`a\` does not work as backticks in subquery aliases are not handled properly. This PR fixes that.
    
    Author : ravipesala ravindra.pesalahuawei.com
    
    Author: ravipesala <ra...@huawei.com>
    
    Closes #2737 from ravipesala/SPARK-3834 and squashes the following commits:
    
    0e0ab98 [ravipesala] Fixing issue in backtick handling for subquery aliases
    
    Conflicts:
    	sql/hive/src/test/scala/org/apache/spark/sql/hive/execution/SQLQuerySuite.scala

commit 064750d0d9deef01ab083ed7f022aff57cc11be9
Author: scwf <wa...@huawei.com>
Date:   2014-10-01T23:38:10Z

    [SPARK-3704][SQL] Fix ColumnValue type for Short values in thrift server
    
    case ```ShortType```, we should add short value to hive row. Int value may lead to some problems.
    
    Author: scwf <wa...@huawei.com>
    
    Closes #2551 from scwf/fix-addColumnValue and squashes the following commits:
    
    08bcc59 [scwf] ColumnValue.shortValue for short type

commit 4c9f3e693aaa62fdb8ae33e4be1de325a1badf15
Author: ravipesala <ra...@huawei.com>
Date:   2014-10-01T22:44:41Z

    [SPARK-3708][SQL] Backticks aren't handled correctly is aliases
    
    The below query gives error
    sql("SELECT k FROM (SELECT \`key\` AS \`k\` FROM src) a")
    It gives error because the aliases are not cleaned so it could not be resolved in further processing.
    
    Author: ravipesala <ra...@huawei.com>
    
    Closes #2594 from ravipesala/SPARK-3708 and squashes the following commits:
    
    d55db54 [ravipesala] Fixed SPARK-3708 (Backticks aren't handled correctly is aliases)
    
    Conflicts:
    	sql/hive/src/test/scala/org/apache/spark/sql/hive/execution/SQLQuerySuite.scala

----


---
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: [SQL] Backport backtick and smallint JDBC fixe...

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

    https://github.com/apache/spark/pull/3199#issuecomment-62490659
  
    Test FAILed.
    Refer to this link for build results (access rights to CI server needed): 
    https://amplab.cs.berkeley.edu/jenkins//job/SparkPullRequestBuilder/23182/
    Test FAILed.


---
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: [SQL] Backport backtick and smallint JDBC fixe...

Posted by marmbrus <gi...@git.apache.org>.
Github user marmbrus commented on the pull request:

    https://github.com/apache/spark/pull/3199#issuecomment-62498425
  
    Merged!


---
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: [SQL] Backport backtick and smallint JDBC fixe...

Posted by andrewor14 <gi...@git.apache.org>.
Github user andrewor14 commented on the pull request:

    https://github.com/apache/spark/pull/3199#issuecomment-62499328
  
    Awesome. Would you mind closing this now that this is merged?


---
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: [SQL] Backport backtick and smallint JDBC fixe...

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

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


---
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: [SQL] Backport backtick and smallint JDBC fixe...

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

    https://github.com/apache/spark/pull/3199#issuecomment-62490655
  
      [QA tests have finished](https://amplab.cs.berkeley.edu/jenkins/job/SparkPullRequestBuilder/23182/consoleFull) for   PR 3199 at commit [`4c9f3e6`](https://github.com/apache/spark/commit/4c9f3e693aaa62fdb8ae33e4be1de325a1badf15).
     * This patch **fails** unit 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


[GitHub] spark pull request: [SQL] Backport backtick and smallint JDBC fixe...

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

    https://github.com/apache/spark/pull/3199#issuecomment-62486777
  
      [QA tests have started](https://amplab.cs.berkeley.edu/jenkins/job/SparkPullRequestBuilder/23182/consoleFull) for   PR 3199 at commit [`4c9f3e6`](https://github.com/apache/spark/commit/4c9f3e693aaa62fdb8ae33e4be1de325a1badf15).
     * This patch merges cleanly.


---
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: [SQL] Backport backtick and smallint JDBC fixe...

Posted by andrewor14 <gi...@git.apache.org>.
Github user andrewor14 commented on the pull request:

    https://github.com/apache/spark/pull/3199#issuecomment-62498308
  
    Hey @marmbrus is this good to merge?


---
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: [SQL] Backport backtick and smallint JDBC fixe...

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

    https://github.com/apache/spark/pull/3199#issuecomment-62491895
  
      [QA tests have started](https://amplab.cs.berkeley.edu/jenkins/job/SparkPullRequestBuilder/23188/consoleFull) for   PR 3199 at commit [`019a0dd`](https://github.com/apache/spark/commit/019a0ddfa39a79c7991441b86bfe08c99c8fc0a9).
     * This patch merges cleanly.


---
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: [SQL] Backport backtick and smallint JDBC fixe...

Posted by marmbrus <gi...@git.apache.org>.
Github user marmbrus commented on the pull request:

    https://github.com/apache/spark/pull/3199#issuecomment-62499857
  
    Hmmm, I wonder why github is not doing that.  The commit has the magic phrase.


---
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: [SQL] Backport backtick and smallint JDBC fixe...

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

    https://github.com/apache/spark/pull/3199#issuecomment-62497119
  
      [QA tests have finished](https://amplab.cs.berkeley.edu/jenkins/job/SparkPullRequestBuilder/23188/consoleFull) for   PR 3199 at commit [`019a0dd`](https://github.com/apache/spark/commit/019a0ddfa39a79c7991441b86bfe08c99c8fc0a9).
     * This patch **passes** unit 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


[GitHub] spark pull request: [SQL] Backport backtick and smallint JDBC fixe...

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

    https://github.com/apache/spark/pull/3199#issuecomment-62497122
  
    Test PASSed.
    Refer to this link for build results (access rights to CI server needed): 
    https://amplab.cs.berkeley.edu/jenkins//job/SparkPullRequestBuilder/23188/
    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