Uploaded image for project: 'Flink'
  1. Flink
  2. FLINK-13285 Check connectors runnable in blink runner
  3. FLINK-13290

HBaseITCase bug using blink-runner: SinkCodeGenerator should not compare row type field names

    XMLWordPrintableJSON

Details

    Description

      Running org.apache.flink.addons.hbase.HBaseSinkITCase using blink planner will encountered this error:

      Tests run: 1, Failures: 0, Errors: 1, Skipped: 0, Time elapsed: 28.042 sec
      <<< FAILURE! - in org.apache.flink.addons.hbase.HBaseSinkITCase
      
      testTableSink(org.apache.flink.addons.hbase.HBaseSinkITCase)  Time elapsed:
      2.431 sec  <<< ERROR!
      
      org.apache.flink.table.api.TableException: Result field 'family1' does not
      match requested type. Requested: Row(col1: Integer); Actual: Row(EXPR$0:
      Integer)
      
      at
      org.apache.flink.addons.hbase.HBaseSinkITCase.testTableSink(HBaseSinkITCase.java:140)
      

      This might because SinkCodeGenerator.scala#L243 compare RowType with field names.

      Attachments

        Issue Links

          Activity

            People

              jark Jark Wu
              jark Jark Wu
              Votes:
              0 Vote for this issue
              Watchers:
              2 Start watching this issue

              Dates

                Created:
                Updated:
                Resolved:

                Time Tracking

                  Estimated:
                  Original Estimate - Not Specified
                  Not Specified
                  Remaining:
                  Remaining Estimate - 0h
                  0h
                  Logged:
                  Time Spent - 20m
                  20m