You are viewing a plain text version of this content. The canonical link for it is here.
Posted to dev@parquet.apache.org by "Daniel Weeks (JIRA)" <ji...@apache.org> on 2014/06/19 23:05:25 UTC

[jira] [Created] (PARQUET-2) Adding Type Persuasion for Primitive Types

Daniel Weeks created PARQUET-2:
----------------------------------

             Summary: Adding Type Persuasion for Primitive Types
                 Key: PARQUET-2
                 URL: https://issues.apache.org/jira/browse/PARQUET-2
             Project: Parquet
          Issue Type: Improvement
            Reporter: Daniel Weeks


Original from the old repo: Parquet/parquet-mr#410

These changes allow primitive types to be requested as different types than what is stored in the file format using a flag to turn off strict type checking (default is on). Types are cast to the requested type where possible and will suffer precision loss for casting where necessary (e.g. requesting a double as an int).

No performance penalty is imposed for using the type defined in the file type. A flag exists to

A 6x6 test case is provided to test conversion between the primitive types.



--
This message was sent by Atlassian JIRA
(v6.2#6252)