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)