You are viewing a plain text version of this content. The canonical link for it is here.
Posted to issues@flink.apache.org by "Timo Walther (Jira)" <ji...@apache.org> on 2020/11/17 12:08:00 UTC
[jira] [Closed] (FLINK-20147) "Invalid lambda deserialization" when
trying to read metadata from Kafka in SQL
[ https://issues.apache.org/jira/browse/FLINK-20147?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel ]
Timo Walther closed FLINK-20147.
--------------------------------
Fix Version/s: 1.12.0
Resolution: Fixed
Fixed in 1.12.0: 29bce28f6f590c08d994b76afda3aa95185e1ffc & 488bc0ad7c7d29a37c4765a9fa6d08969b9fd5d2
> "Invalid lambda deserialization" when trying to read metadata from Kafka in SQL
> -------------------------------------------------------------------------------
>
> Key: FLINK-20147
> URL: https://issues.apache.org/jira/browse/FLINK-20147
> Project: Flink
> Issue Type: Bug
> Components: Connectors / Kafka, Table SQL / Ecosystem
> Affects Versions: 1.12.0
> Reporter: Robin Stephenson
> Assignee: Timo Walther
> Priority: Major
> Labels: pull-request-available
> Fix For: 1.12.0
>
> Attachments: stacktrace.txt
>
>
> When creating a table to read from Kafka like so using the recently added support for kafka metadata in 1.12:
> {noformat}
> CREATE TABLE test_table (
> `foo` STRING,
> `bar` STRING,
> `record` STRING,
> `offset` BIGINT METADATA VIRTUAL
> ) WITH (
> 'connector' = 'kafka',
> 'topic' = 'kewltest.r-test.dummy',
> 'key.fields' = 'foo;bar',
> 'key.format' = 'json',
> 'value.format' = 'json',
> 'value.fields-include' = 'EXCEPT_KEY',
> 'scan.startup.mode' = 'earliest-offset',
> 'properties.bootstrap.servers' = '<HOST:PORT>',
> 'properties.group.id' = '<CONSUMER-GROUP>'
> )
> {noformat}
> the "offset" column causes queries of the table to fail with an exception:
> Caused by: java.lang.IllegalArgumentException: Invalid lambda deserialization
> Full stack trace is attached.
> Left priority as default as I wasn't sure what to set it to.
--
This message was sent by Atlassian Jira
(v8.3.4#803005)