Uploaded image for project: 'Flink'
  1. Flink
  2. FLINK-36671

Kinesis Table API for new KDS source does not support metadata.

    XMLWordPrintableJSON

Details

    • Bug
    • Status: Open
    • Major
    • Resolution: Unresolved
    • aws-connector-5.0.0
    • None
    • Connectors / Kinesis
    • None

    Description

      What

      The old Kinesis Table API source `kinesis-legacy` supports defining virtual columns using table metadata.

      For example:

       

      CREATE TABLE KinesisTable (
        `user_id` BIGINT,
        `arrival_time` TIMESTAMP(3) METADATA FROM 'timestamp' VIRTUAL,
        `shard_id` VARCHAR(128) NOT NULL METADATA FROM 'shard-id' VIRTUAL,
        `sequence_number` VARCHAR(128) NOT NULL METADATA FROM 'sequence-number' VIRTUAL
      )
      WITH (
        'connector' = 'kinesis-legacy',
        ...
      )

      We should support this for the new kinesis connector source too.

       

      Success Criteria

      1. kinesis Table API source supports VIRTUAL columns
      2. Automated tests added to validate that the connector supports metadata.
      3. Update Table API docs to indicate the bug has been fixed.

       

       

       

      Attachments

        Activity

          People

            Unassigned Unassigned
            hong Hong Liang Teoh
            Votes:
            0 Vote for this issue
            Watchers:
            1 Start watching this issue

            Dates

              Created:
              Updated: