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/09 08:49:00 UTC

[jira] [Created] (FLINK-24843) DynamicTableFactory.Context.getCatalogTable().getPartitionKeys() should return indexes

Francesco Guardiani created FLINK-24843:
-------------------------------------------

             Summary: DynamicTableFactory.Context.getCatalogTable().getPartitionKeys() should return indexes
                 Key: FLINK-24843
                 URL: https://issues.apache.org/jira/browse/FLINK-24843
             Project: Flink
          Issue Type: Bug
          Components: Table SQL / Planner
            Reporter: Francesco Guardiani


Right now invoking {{context.getCatalogTable().getPartitionKeys()}} returns field names. We should encourage users to use indexes,  by having a new method in context or by adding a new method to CatalogTable that returns {{int[]}} and can be used in conjunction with {{DataType.excludeFields}}



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