public static class ParquetReaderUtility.NanoTimeUtils extends Object
| Modifier and Type | Field and Description |
|---|---|
static long |
NANOS_PER_MILLISECOND |
| Constructor and Description |
|---|
ParquetReaderUtility.NanoTimeUtils() |
| Modifier and Type | Method and Description |
|---|---|
static long |
getDateTimeValueFromBinary(org.apache.parquet.io.api.Binary binaryTimeStampValue,
boolean retainLocalTimezone) |
public static final long NANOS_PER_MILLISECOND
public static long getDateTimeValueFromBinary(org.apache.parquet.io.api.Binary binaryTimeStampValue,
boolean retainLocalTimezone)
binaryTimeStampValue - hive, impala timestamp values with nanoseconds precision
are stored in parquet Binary as INT96 (12 constant bytes)retainLocalTimezone - parquet files don't keep local timeZone according to the
Parquet spec,
but some tools (hive, for example) retain local timezone for parquet files by default
Note: Impala doesn't retain local timezone by defaultCopyright © 2017 The Apache Software Foundation. All rights reserved.