Matt Fysh
10/29/2022, 9:04 PMMatt Fysh
10/30/2022, 5:29 AMfrom pyflink.table.types import _to_java_type
x = table.get_schema().to_row_data_type()
_to_java_type(x)
results in
TypeError: The length limit must be 0x7fffffff(2147483647) for VarCharType, got VarCharType(36, true)
I wonder if there’s a more forgiving conversion function available?Matt Fysh
10/30/2022, 5:35 AMfrom pyflink.table.descriptors import Json
Json(schema=table.get_schema().to_row_data_type())