Uploaded image for project: 'Flink'
  1. Flink
  2. FLINK-16987 FLIP-95: Add new table source and sink interfaces
  3. FLINK-24843

DynamicTableFactory.Context.getCatalogTable().getPartitionKeys() should return indexes

    XMLWordPrintableJSON

Details

    • Sub-task
    • Status: Open
    • Minor
    • Resolution: Unresolved
    • None
    • None
    • Table SQL / Planner
    • None

    Description

      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

      Attachments

        Activity

          People

            Unassigned Unassigned
            slinkydeveloper Francesco Guardiani
            Votes:
            0 Vote for this issue
            Watchers:
            6 Start watching this issue

            Dates

              Created:
              Updated: