You are viewing a plain text version of this content. The canonical link for it is here.
Posted to issues@flink.apache.org by "Francesco Guardiani (Jira)" <ji...@apache.org> on 2021/11/09 08:50:00 UTC
[jira] [Updated] (FLINK-24843)
DynamicTableFactory.Context.getCatalogTable().getPartitionKeys() should
return indexes
[ https://issues.apache.org/jira/browse/FLINK-24843?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel ]
Francesco Guardiani updated FLINK-24843:
----------------------------------------
Priority: Minor (was: Major)
> 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
> Priority: Minor
>
> 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)