columnToJsonKeyMappings property
Maps column names to JSON keys that aren't identical to the column names.
This is useful when the JSON contains keys that are Hive keywords. For
example, timestamp
is a Hive keyword. If you have a JSON key
named timestamp
, set this parameter to {"ts":
"timestamp"}
to map this key to a column named ts
.
Implementation
final Map<String, String>? columnToJsonKeyMappings;