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

support user-specified row schema in KafkaAdapter

    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

            People

              mingmxu Mingmin Xu
              mingmxu Mingmin Xu
              Votes:
              0 Vote for this issue
              Watchers:
              2 Start watching this issue

              Dates

                Created:
                Updated: