[ https://issues.apache.org/jira/browse/BEAM-10885?focusedWorklogId=491945&page=com.atlassian.jira.plugin.system.issuetabpanels:worklog-tabpanel#worklog-491945 ]
ASF GitHub Bot logged work on BEAM-10885: ----------------------------------------- Author: ASF GitHub Bot Created on: 28/Sep/20 12:02 Start Date: 28/Sep/20 12:02 Worklog Time Spent: 10m Work Description: piotr-szuberski commented on a change in pull request #12827: URL: https://github.com/apache/beam/pull/12827#discussion_r495886039 ########## File path: sdks/java/extensions/sql/src/test/java/org/apache/beam/sdk/extensions/sql/meta/provider/kafka/KafkaTableProviderIT.java ########## @@ -67,19 +67,25 @@ import org.testcontainers.containers.KafkaContainer; /** This is an integration test for KafkaCSVTable. */ -public class KafkaCSVTableIT { +public abstract class KafkaTableProviderIT { @Rule public transient TestPipeline pipeline = TestPipeline.create(); @Rule public transient KafkaContainer kafka = new KafkaContainer(); - private KafkaOptions kafkaOptions; + protected KafkaOptions kafkaOptions; - private static final Schema TEST_TABLE_SCHEMA = + protected static final Schema TEST_TABLE_SCHEMA = Schema.builder() .addNullableField("order_id", Schema.FieldType.INT32) .addNullableField("member_id", Schema.FieldType.INT32) .addNullableField("item_name", Schema.FieldType.INT32) Review comment: CSV is quite problematic here as most fields (bool, Row, etc) are indistinguishable by the default csv parser. I'll make a getSchema() abstract and provide different fields for Avro and Csv. ---------------------------------------------------------------- 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 Issue Time Tracking ------------------- Worklog Id: (was: 491945) Time Spent: 3h 10m (was: 3h) > Add Avro support to Kafka Table Provider > ---------------------------------------- > > Key: BEAM-10885 > URL: https://issues.apache.org/jira/browse/BEAM-10885 > Project: Beam > Issue Type: New Feature > Components: dsl-sql > Affects Versions: 2.25.0 > Reporter: Piotr Szuberski > Assignee: Piotr Szuberski > Priority: P2 > Time Spent: 3h 10m > Remaining Estimate: 0h > -- This message was sent by Atlassian Jira (v8.3.4#803005)