Uploaded image for project: 'Calcite'
  1. Calcite
  2. CALCITE-3080

support user-specified row schema in KafkaAdapter

Attach filesAttach ScreenshotAdd voteVotersWatch issueWatchersCreate sub-taskLinkCloneUpdate Comment AuthorReplace String in CommentUpdate Comment VisibilityDelete Comments
    XMLWordPrintableJSON

    Details

    • Type: Improvement
    • Status: Open
    • Priority: Major
    • Resolution: Unresolved
    • Affects Version/s: None
    • Fix Version/s: None
    • Component/s: kafka-adapter
    • Labels:
      None

      Description

      Currently rowSchema is defined by extending `KafkaRowConverter` only. Feature in this task would support user-defined row schema when creating a table.

       

      Here's one proposed interface in https://github.com/apache/calcite/pull/1127/files#r283913361

      interface KafkaRowConverter {
      RelDataType rowDataType();
      Object[] toRow(ConsumerRecord<K, V> message);
      }
      

       

        Attachments

        Issue Links

          Activity

            People

            • Assignee:
              mingmxu Mingmin Xu
              Reporter:
              mingmxu Mingmin Xu

              Dates

              • Created:
                Updated:

                Issue deployment