You are viewing a plain text version of this content. The canonical link for it is here.
Posted to issues@flink.apache.org by "Jark Wu (JIRA)" <ji...@apache.org> on 2019/08/02 02:13:00 UTC
[jira] [Resolved] (FLINK-13290) HBaseITCase bug using blink-runner: SinkCodeGenerator should not compare row type field names
[ https://issues.apache.org/jira/browse/FLINK-13290?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel ]
Jark Wu resolved FLINK-13290.
-----------------------------
Resolution: Fixed
Fix Version/s: 1.10.0
[FLINK-13290][table-api] Add method to check LogicalType compatible
- Fixed in 1.10.0: 73bb670ec6888ce55a9185a222b7b4a7cdb62d05
- Fixed in 1.9.0: 4925389b30ffa93e077bd31cd1c7d896a12dfea1
[FLINK-13290][table-planner-blink] SinkCodeGenerator should not compare row type field names
- Fixed in 1.10.0: 5b3b1890ea55b7791cb13d9a17551e48d3cbd567
- Fixed in 1.9.0: 55f399c5b43f5fa39484c01a5f1d305e8b262209
[FLINK-13290][hbase] Enable blink planner for integration tests of HBase
- Fixed in 1.10.0: 5d981ebc16ce6a1089e021fcb7a634ebe0167be5
- Fixed in 1.9.0: 61adb66107c462a60be021e21a3cb6251452fa45
> HBaseITCase bug using blink-runner: SinkCodeGenerator should not compare row type field names
> ----------------------------------------------------------------------------------------------
>
> Key: FLINK-13290
> URL: https://issues.apache.org/jira/browse/FLINK-13290
> Project: Flink
> Issue Type: Sub-task
> Components: Connectors / HBase
> Reporter: Jark Wu
> Assignee: Jark Wu
> Priority: Blocker
> Labels: pull-request-available
> Fix For: 1.9.0, 1.10.0
>
> Time Spent: 20m
> Remaining Estimate: 0h
>
> 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)