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

    • Improvement
    • Status: Open
    • Major
    • Resolution: Unresolved
    • None
    • None
    • kafka-adapter
    • 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

          This comment will be Viewable by All Users Viewable by All Users
          Cancel

          People

            mingmxu Mingmin Xu
            mingmxu Mingmin Xu

            Dates

              Created:
              Updated:

              Slack

                Issue deployment