Copyright | (c) 2013-2021 Brendan Hay |
---|---|
License | Mozilla Public License, v. 2.0. |
Maintainer | Brendan Hay <brendan.g.hay+amazonka@gmail.com> |
Stability | auto-generated |
Portability | non-portable (GHC extensions) |
Safe Haskell | None |
Synopsis
Documentation
data HiveJsonSerDe Source #
The native Hive / HCatalog JsonSerDe. Used by Kinesis Data Firehose for deserializing data, which means converting it from the JSON format in preparation for serializing it to the Parquet or ORC format. This is one of two deserializers you can choose, depending on which one offers the functionality you need. The other option is the OpenX SerDe.
See: newHiveJsonSerDe
smart constructor.
HiveJsonSerDe' | |
|
Instances
newHiveJsonSerDe :: HiveJsonSerDe Source #
Create a value of HiveJsonSerDe
with all optional fields omitted.
Use generic-lens or optics to modify other optional fields.
The following record fields are available, with the corresponding lenses provided for backwards compatibility:
$sel:timestampFormats:HiveJsonSerDe'
, hiveJsonSerDe_timestampFormats
- Indicates how you want Kinesis Data Firehose to parse the date and
timestamps that may be present in your input data JSON. To specify these
format strings, follow the pattern syntax of JodaTime's DateTimeFormat
format strings. For more information, see
Class DateTimeFormat.
You can also use the special value millis
to parse timestamps in epoch
milliseconds. If you don't specify a format, Kinesis Data Firehose uses
java.sql.Timestamp::valueOf
by default.
hiveJsonSerDe_timestampFormats :: Lens' HiveJsonSerDe (Maybe [Text]) Source #
Indicates how you want Kinesis Data Firehose to parse the date and
timestamps that may be present in your input data JSON. To specify these
format strings, follow the pattern syntax of JodaTime's DateTimeFormat
format strings. For more information, see
Class DateTimeFormat.
You can also use the special value millis
to parse timestamps in epoch
milliseconds. If you don't specify a format, Kinesis Data Firehose uses
java.sql.Timestamp::valueOf
by default.