-
Notifications
You must be signed in to change notification settings - Fork 0
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
few changes to fix issues #2
base: master
Are you sure you want to change the base?
Conversation
# Conflicts: # src/main/java/com/pinterest/secor/common/AvroSchemaRegistry.java # src/main/java/com/pinterest/secor/common/ConfigurableAvroSchemaRegistry.java # src/main/java/com/pinterest/secor/common/SecorSchemaRegistryClient.java # src/main/java/com/pinterest/secor/io/impl/AvroParquetFileReaderWriterFactory.java # src/test/java/com/pinterest/secor/io/impl/AvroParquetFileReaderWriterFactoryTest.java
# Conflicts: # src/main/java/com/pinterest/secor/util/orc/VectorColumnFiller.java
# Conflicts: # src/main/java/com/pinterest/secor/reader/SecorKafkaMessageIterator.java # src/main/java/com/pinterest/secor/util/orc/JsonFieldFiller.java
@@ -68,7 +68,6 @@ public GenericRecord deserialize(String topic, byte[] message) { | |||
GenericRecord record = (GenericRecord) deserializer.deserialize(topic, message); | |||
if (record != null) { | |||
Schema schema = record.getSchema(); | |||
schemas.put(topic, schema); |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
hi @dorjeetsering, just curious here, do we need remove this line, looks like nothing get updated to the record
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
That's the main change we want. We can remove the null check block.
if (record != null) {
Schema schema = record.getSchema();
}
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
thanks @dorjeetsering
Made few changes while running secor for input team and signal secor