slinkydeveloper commented on a change in pull request #19020: URL: https://github.com/apache/flink/pull/19020#discussion_r822558605
########## File path: flink-connectors/flink-connector-kafka/src/test/java/org/apache/flink/streaming/connectors/kafka/table/KafkaTableITCase.java ########## @@ -299,29 +301,20 @@ public void testKafkaSourceSinkWithMetadata() throws Exception { + " %s\n" + ")", topic, bootstraps, groupId, formatOptions()); - tEnv.executeSql(createTable); String initialValues = "INSERT INTO kafka\n" + "VALUES\n" - + " ('data 1', 1, TIMESTAMP '2020-03-08 13:12:11.123', MAP['k1', X'C0FFEE', 'k2', X'BABE'], TRUE),\n" + + " ('data 1', 1, TIMESTAMP '2020-03-08 13:12:11.123', MAP['k1', x'C0FFEE', 'k2', x'BABE01'], TRUE),\n" + " ('data 2', 2, TIMESTAMP '2020-03-09 13:12:11.123', CAST(NULL AS MAP<STRING, BYTES>), FALSE),\n" - + " ('data 3', 3, TIMESTAMP '2020-03-10 13:12:11.123', MAP['k1', X'10', 'k2', X'20'], TRUE)"; + + " ('data 3', 3, TIMESTAMP '2020-03-10 13:12:11.123', MAP['k1', X'102030', 'k2', X'203040'], TRUE)"; Review comment: For more details about this, check https://issues.apache.org/jira/browse/FLINK-26549. The legacy behavior hide this issue, as no trimming and padding is performed. -- This is an automated message from the Apache Git Service. To respond to the message, please log on to GitHub and use the URL above to go to the specific comment. To unsubscribe, e-mail: issues-unsubscr...@flink.apache.org For queries about this service, please contact Infrastructure at: us...@infra.apache.org