Timo Walther created FLINK-25341: ------------------------------------ Summary: Improve casting structured type to STRING Key: FLINK-25341 URL: https://issues.apache.org/jira/browse/FLINK-25341 Project: Flink Issue Type: Sub-task Components: Table SQL / Planner Reporter: Timo Walther
Structured types currently use ROW to STRING logic. However, this is not very useful for users as the field order might be determined by Flink. Also, structured types has the nice property of defining a custom {{toString}} and attribute names. I would suggest the following: If the structured type has a {{StructuredType.getImplementationClass}} convert to external class and call {{toString}}. If no implementation class is present, use the string representation of maps. -- This message was sent by Atlassian Jira (v8.20.1#820001)