[jira] [Created] (FLINK-13290) Add IT cases for HBase connnector using blink planner

classic Classic list List threaded Threaded
1 message Options
Reply | Threaded
Open this post in threaded view
|

[jira] [Created] (FLINK-13290) Add IT cases for HBase connnector using blink planner

Shang Yuanchun (Jira)
Jark Wu created FLINK-13290:
-------------------------------

             Summary: Add IT cases for HBase connnector using blink planner
                 Key: FLINK-13290
                 URL: https://issues.apache.org/jira/browse/FLINK-13290
             Project: Flink
          Issue Type: Sub-task
          Components: Connectors / HBase
            Reporter: Jark Wu
             Fix For: 1.9.0, 1.10.0


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


{code}
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)
{code}

This might because [SinkCodeGenerator.scala#L243|https://github.com/apache/flink/blob/master/flink-table/flink-table-planner-blink/src/main/scala/org/apache/flink/table/codegen/SinkCodeGenerator.scala#L243] compare RowType with field names.





--
This message was sent by Atlassian JIRA
(v7.6.14#76016)