Alex Craig
10/11/2023, 10:53 PMserialization_schema = JsonRowSerializationSchema.builder().with_type_info(
type_info=Types.ROW_NAMED(["app", "bytes", "cid"], [Types.STRING(), <http://Types.INT|Types.INT>(), Types.STRING()])).build()
For the value, but I don't want "bytes" in my key because it is highly cardinal so I use:
key_serialization_schema = JsonRowSerializationSchema.builder().with_type_info(
type_info=Types.ROW_NAMED(["app", "cid"], [Types.STRING(), Types.STRING()])).build()
But the connector dislikes this as it says it cannot convert the bytes field to string. Is there a way to ignore this bytes field and only select the fields I want?Jaehyeon Kim
10/11/2023, 11:00 PMAlex Craig
10/11/2023, 11:13 PMJaehyeon Kim
10/11/2023, 11:16 PMAlex Craig
10/11/2023, 11:16 PMAlex Craig
10/12/2023, 7:01 PM