When reading a Map type from DynamoDB into a Struct type in Hive, field names become lowercase. This causes issues if then writing back to another table in Dynamo.
E.g. A reading Dynamo data:
{
"Frame":"Red",
"Wheels":"Black"
}
Into hive column with type struct<Frame:string,Wheels:string> will become:
{
"frame":"Red",
"wheels":"Black"
}
If written back to DynamoDB. This is handled for column names through the dynamodb.column.mapping but I see no way to map the struct field names back to map fields.
When reading a Map type from DynamoDB into a Struct type in Hive, field names become lowercase. This causes issues if then writing back to another table in Dynamo.
E.g. A reading Dynamo data:
Into hive column with type
struct<Frame:string,Wheels:string>
will become:If written back to DynamoDB. This is handled for column names through the
dynamodb.column.mapping
but I see no way to map the struct field names back to map fields.