GitHub user OopsOutOfMemory opened a pull request:

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

    [SPARK-5011][SQL] Add support for WITH SERDEPROPERTIES, TBLPROPERTIES in 
CREATE TEMPORARY TABLE

    issues is here:
    https://issues.apache.org/jira/browse/SPARK-5011
    
    Currently,  since I find a bug which block this PR: 
    issues: https://issues.apache.org/jira/browse/SPARK-5009 ,
    
    Temporarily, I use  replace `SERDEPROPERTIES` with `SERDEPROP`, replace 
`TBLPROPERTIES` with `TBLPROP`.
    
    After fix that bug above,  I will rename them back.
    
    And the final version will be like this, see below:
    ```
    val hbaseDDL = s"""
          |CREATE TEMPORARY TABLE hbase_people(row_key string, name string, age 
int, job string)
          |USING com.shengli.spark.hbase
          |OPTIONS (
          |  someOptions 'abcdefg'
          |) 
          |WITH SERDEPROPERTIES (
          |  'hbase.columns.mapping'=':key, profile:name, profile:age, 
career:job'
          |)
          |TBLPROPERTIES (
          | 'hbase.table.name' = 'people'
          |)
    """.stripMargin```

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

    $ git pull https://github.com/OopsOutOfMemory/spark params

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

    https://github.com/apache/spark/pull/3847.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 #3847
    
----
commit 0657df4a95eb0d5db8bcbfe87eedfe1477ffa1a4
Author: OopsOutOfMemory <[email protected]>
Date:   2014-12-30T17:50:52Z

    add support for SERDEPROPERTIES TBLPROPERTIES

----


---
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