You are viewing a plain text version of this content. The canonical link for it is here.
Posted to dev@hive.apache.org by "Mariano Dominguez (JIRA)" <ji...@apache.org> on 2015/04/24 00:33:39 UTC

[jira] [Created] (HIVE-10471) Derive column definitions from a raw Parquet data file

Mariano Dominguez created HIVE-10471:
----------------------------------------

             Summary: Derive column definitions from a raw Parquet data file
                 Key: HIVE-10471
                 URL: https://issues.apache.org/jira/browse/HIVE-10471
             Project: Hive
          Issue Type: Improvement
            Reporter: Mariano Dominguez


This feature will allow Hive to create Parquet-backed tables the same way Cloudera's Impala[1] does:

CREATE EXTERNAL TABLE ingest_existing_files LIKE PARQUET '/user/etl/destination/datafile1.dat'
  STORED AS PARQUET
  LOCATION '/user/etl/destination';

CREATE TABLE columns_from_data_file LIKE PARQUET '/user/etl/destination/datafile1.dat'
  STORED AS PARQUET;

[1] http://www.cloudera.com/content/cloudera/en/documentation/cloudera-impala/latest/topics/impala_parquet.html#parquet_ddl_unique_1





--
This message was sent by Atlassian JIRA
(v6.3.4#6332)