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 <[email protected]>
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 <[email protected]>
    
    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 <[email protected]>
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 <[email protected]>
    Author: Cheng Lian <[email protected]>
    Author: Michael Armbrust <[email protected]>
    
    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 <[email protected]>
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 <[email protected]>
    
    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 <[email protected]>
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 <[email protected]>
    
    Closes #2551 from scwf/fix-addColumnValue and squashes the following 
commits:
    
    08bcc59 [scwf] ColumnValue.shortValue for short type

commit 4c9f3e693aaa62fdb8ae33e4be1de325a1badf15
Author: ravipesala <[email protected]>
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 <[email protected]>
    
    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 [email protected] or file a JIRA ticket
with INFRA.
---

---------------------------------------------------------------------
To unsubscribe, e-mail: [email protected]
For additional commands, e-mail: [email protected]

Reply via email to