Class: Aws::Firehose::Types::HiveJsonSerDe

Inherits:
Struct
  • Object
show all
Includes:
Structure
Defined in:
lib/aws-sdk-firehose/types.rb

Overview

Note:

When making an API call, you may pass HiveJsonSerDe data as a hash:

{
  timestamp_formats: ["NonEmptyString"],
}

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.

Instance Attribute Summary collapse

Instance Attribute Details

#timestamp_formatsArray<String>

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.

[1]: www.joda.org/joda-time/apidocs/org/joda/time/format/DateTimeFormat.html

Returns:

  • (Array<String>)


1922
1923
1924
1925
# File 'lib/aws-sdk-firehose/types.rb', line 1922

class HiveJsonSerDe < Struct.new(
  :timestamp_formats)
  include Aws::Structure
end