Uploaded image for project: 'Parquet'
  1. Parquet
  2. PARQUET-2

Adding Type Persuasion for Primitive Types

    XMLWordPrintableJSON

Details

    • Improvement
    • Status: Resolved
    • Major
    • Resolution: Fixed
    • None
    • 1.6.0
    • parquet-mr
    • None

    Description

      Pull request: https://github.com/apache/incubator-parquet-mr/pull/3
      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.

      Attachments

        Activity

          People

            dweeks-netflix Daniel Weeks
            dweeks-netflix Daniel Weeks
            Votes:
            0 Vote for this issue
            Watchers:
            3 Start watching this issue

            Dates

              Created:
              Updated:
              Resolved: