ASF subversion and git services commented on IMPALA-8046:

Commit 0511b44f9236c655e695185b33f412ec65a80a07 in impala's branch 
refs/heads/master from norbert.luksa
[ https://gitbox.apache.org/repos/asf?p=impala.git;h=0511b44 ]

IMPALA-8046: Support CREATE TABLE from an ORC file

Impala supports creating a table using the schema of a file.
However, only Parquet is supported currently. This commit adds
support for creating tables from ORC files

The change relies on the ORC Java API with version 1.5 or
greater, because of a bug in earlier versions. Therefore, ORC is
listed as an external dependency, instead of relying on Hive's
ORC version (from Hive3, Hive also lists it as a dependency).

Also, the commit performs a little clean-up on the ParquetHelper
class, renaming it to ParquetSchemaExtractor and removing outdated

To create a table from an ORC file, run:
CREATE TABLE tablename LIKE ORC '/path/to/file'

 * Added analysis tests for primitive and complex types.
 * Added e2e tests for creating tables from ORC files.

Change-Id: I77cd84cda2ed86516937a67eb320fd41e3f1cf2d
Reviewed-on: http://gerrit.cloudera.org:8080/14811
Reviewed-by: Impala Public Jenkins <impala-public-jenk...@cloudera.com>
Tested-by: Impala Public Jenkins <impala-public-jenk...@cloudera.com>

> Support CREATE TABLE from an ORC file
> -------------------------------------
>                 Key: IMPALA-8046
>                 URL: https://issues.apache.org/jira/browse/IMPALA-8046
>             Project: IMPALA
>          Issue Type: New Feature
>            Reporter: Quanlong Huang
>            Assignee: Norbert Luksa
>            Priority: Major
> Impala supports creating a table using the schema of a file. However, only 
> parquet is supported currently. This ticket tracks adding support for 
> creating table from ORC files.

This message was sent by Atlassian Jira

To unsubscribe, e-mail: issues-all-unsubscr...@impala.apache.org
For additional commands, e-mail: issues-all-h...@impala.apache.org

Reply via email to