You are viewing a plain text version of this content. The canonical link for it is here.
Posted to dev@flink.apache.org by "Francesco Guardiani (Jira)" <ji...@apache.org> on 2021/11/25 11:13:00 UTC

[jira] [Created] (FLINK-25060) Replace DataType.projectFields with Projection type

Francesco Guardiani created FLINK-25060:
-------------------------------------------

             Summary: Replace DataType.projectFields with Projection type
                 Key: FLINK-25060
                 URL: https://issues.apache.org/jira/browse/FLINK-25060
             Project: Flink
          Issue Type: Bug
          Components: Table SQL / API
            Reporter: Francesco Guardiani
            Assignee: Francesco Guardiani


FLINK-24399 introduced new methods to perform data types projections in DataType. Note: no release included such changes.

FLINK-24776 introduced a new, more powerful, type to perform operations on projections, that is project types, but also difference and complement.

In spite of avoiding to provide different entrypoints for the same functionality, we should cleanup the new methods introduced by FLINK-24399 and replace them with the new Projection type. We should also deprecate the functions in DataTypeUtils.



--
This message was sent by Atlassian Jira
(v8.20.1#820001)