Hi Ravi,

Not all of the types are fully-implemented yet. I think Hive only has
partial support. If I remember correctly:
* Decimal is supported if the backing primitive type is fixed-length binary
* Date and Timestamp are supported, but Time has not been implemented yet

For object models you can build applications on (instead of those embedded
in SQL), only Avro objects can support those types through its LogicalTypes
API. That API has been implemented in parquet-avro, but not yet committed.
I would like for this feature to make it into 1.9.0. If you want to test in
the mean time, check out the pull request:

  https://github.com/apache/parquet-mr/pull/318

rb

On Wed, Mar 9, 2016 at 5:09 AM, Ravi Tatapudi <[email protected]>
wrote:

> Hello,
>
> I am Ravi Tatapudi, from IBM-India. I am working on a simple test-tool,
> that writes data to Parquet-files, which can be imported into hive-tables.
> Pl. find attached sample-program, which writes simple parquet-data-file:
>
>
>
> Using the above program, I could create "parquet-files" with data-types:
> INT, LONG, STRING, Boolean...etc (i.e., basically all data-types supported
> by "org.apache.avro.Schema.Type) & load it into "hive" tables
> successfully.
>
> Now, I am trying to figure out, how to write "date, timestamp, decimal
> data" into parquet-files.  In this context, I request you provide the
> possible options (and/or sample-program, if any..), in this regard.
>
> Thanks,
>  Ravi
>



-- 
Ryan Blue
Software Engineer
Netflix

Reply via email to