GitHub user zhzhan opened a pull request:

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

    [SPARK-2883][SQL] Spark Support for ORCFile with New Framework

    Major feature:
    1. New data source API support.
    2. Basic Operator: saveAsOrcFile and OrcFile. The former is used to save 
the table into orc format file, and the latter is used to import orc format 
file into spark sql table.
    3. Column pruning, partitioning, etc
    4. Self-contained schema support: The orc support is fully functional 
independent of hive metastore. The table schema is maintained by the orc file 
itself.
    5. To support the orc file, user need to: import import 
org.apache.spark.sql.hive.orc._ to bring in the orc support into context
    6. The orc file is operated in HiveContext, the only reason is due to 
package issue, and we don’t want to bring in hive dependency into spark sql. 
Note that orc operations does not relies on Hive metastore.
    7. It support full complicated dataType in Spark Sql, for example, list, 
seq, and nested datatype.

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

    $ git pull https://github.com/zhzhan/spark orc-partition

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

    https://github.com/apache/spark/pull/6135.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 #6135
    
----
commit 88f41e3edccaeadd4ed9e0882d2f31eb8f9b05f2
Author: Zhan Zhang <zhaz...@gmail.com>
Date:   2015-05-13T16:21:26Z

    orc data source support

commit 1b7a795ff5780c3c0991fdd7a5f8c54b483aa0a3
Author: Zhan Zhang <zhaz...@gmail.com>
Date:   2015-05-13T19:17:02Z

    minor change

commit 0afe1fad89bdf6e38a74e914193950167de43eeb
Author: Zhan Zhang <zhaz...@gmail.com>
Date:   2015-05-13T23:12:49Z

    predicate fix

----


---
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 infrastruct...@apache.org or file a JIRA ticket
with INFRA.
---

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

Reply via email to