Github user twalthr commented on the issue: https://github.com/apache/flink/pull/2319 @fhueske I updated the PR. It is now in a mergable state. I had to disable automatic flattening as it flattens types but does no unflattening. So if a composite type enters the Table API it can never leave it untouched. The SQL value construction `ROW(value, value)` does not work without flattening anymore, we have to create an optimizer rule or something similar to flatten this specific type. I will create a followup issue, once this is merged.
--- If your project is set up for it, you can reply to this email and have your reply appear on GitHub as well. If your project does not have this feature enabled and wishes so, or if the feature is enabled but not working, please contact infrastructure at infrastruct...@apache.org or file a JIRA ticket with INFRA. ---