[
https://issues.apache.org/jira/browse/DRILL-7940?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=17354776#comment-17354776
]
ASF GitHub Bot commented on DRILL-7940:
---------------------------------------
cdmikechen opened a new pull request #2242:
URL: https://github.com/apache/drill/pull/2242
# [DRILL-7940](https://issues.apache.org/jira/browse/DRILL-7940): Kafka key
with avro schema can not displayed correctly
(Please replace `PR Title` with actual PR Title)
## Description
When using drill 1.19.0-snapshot to query kafka avro message, if kafka key
data is avro, drill can not return key data right.
Now add a new method `AvroMessageReader.getKeyValue` to identify the actual
type and data of key. It now cast avro key to string with json type.
## Documentation
No.
## Testing
set `key.deserializer` in `KafkaQueriesTest.testAvroResultCount` test case
class
--
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.
For queries about this service, please contact Infrastructure at:
[email protected]
> Kafka key with avro schema can not displayed correctly
> ------------------------------------------------------
>
> Key: DRILL-7940
> URL: https://issues.apache.org/jira/browse/DRILL-7940
> Project: Apache Drill
> Issue Type: Bug
> Components: Storage - Kafka
> Affects Versions: 1.19.0
> Reporter: cdmikechen
> Priority: Major
> Labels: easyfix
> Fix For: 1.19.0
>
> Attachments: kafka-avro-key.jpg
>
>
> When using drill 1.19.0-snapshot to query kafka avro message, if kafka key
> data is avro, drill can not return key data right.
--
This message was sent by Atlassian Jira
(v8.3.4#803005)