davidov541 commented on a change in pull request #933: HIVE-21218: Adding 
support for Confluent Kafka Avro message format
URL: https://github.com/apache/hive/pull/933#discussion_r388082372
 
 

 ##########
 File path: kafka-handler/README.md
 ##########
 @@ -50,6 +50,9 @@ ALTER TABLE
 SET TBLPROPERTIES (
   "kafka.serde.class" = "org.apache.hadoop.hive.serde2.avro.AvroSerDe");
 ```
+
+If you use Confluent Avro serialzier/deserializer with Schema Registry you may 
want to remove 5 bytes from beginning that represents magic byte + schema ID 
from registry.
 
 Review comment:
   I'm not sure how that is germane to this thread or to this changelist at 
all. Skipping the bytes does not currently have any connection to having a 
schema, which is already implemented as part of the Kafka Avro support. The 
system would work the same as it would if you didn't specify a schema in the 
first place. I don't see any tests in the other parts which test this, although 
there are plenty of query tests which test the use of the literal and URL 
properties, so I suspect there is one such test there. Given that that is 
orthagonal to this problem, however, I see no need to add another test to this 
changeset for that.

----------------------------------------------------------------
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:
us...@infra.apache.org


With regards,
Apache Git Services

---------------------------------------------------------------------
To unsubscribe, e-mail: gitbox-unsubscr...@hive.apache.org
For additional commands, e-mail: gitbox-h...@hive.apache.org

Reply via email to