jtao15 opened a new pull request #6419:
URL: https://github.com/apache/incubator-pinot/pull/6419


   #4854 
   - Add `streamOp`
   - Create `AvroSchemaKafkaAvroMessageDecoder` as the test decoder
   - Change related test data/config files.
   
   Manual test by setting up local cluster, create RT table and ingest stream 
data as below:
   
   ```
   TableOp createOp = new TableOp();
   createOp.setOp(Op.CREATE);
   
createOp.setSchemaFileName("pinot-integration-tests/src/test/resources/compat-tests/configs/FeatureTest1-schema.json");
   
createOp.setTableConfigFileName("pinot-integration-tests/src/test/resources/compat-tests/configs/feature-test-1-realtime.json");
   
createOp.setAvroSchemaFileName("pinot-integration-tests/src/test/resources/compat-tests/data/FeatureTest1-avro-schema.avsc");
   createOp.runOp();
   
   StreamOp streamOp = new StreamOp();
   
streamOp.setInputDataFileName("pinot-integration-tests/src/test/resources/compat-tests/data/FeatureTest1-data-00.csv");
   
streamOp.setAvroSchemaFileName("pinot-integration-tests/src/test/resources/compat-tests/data/FeatureTest1-avro-schema.avsc");
   streamOp.setNumRows(10);
   
streamOp.setStreamConfigFileName("pinot-integration-tests/src/test/resources/compat-tests/configs/feature-test-1-realtime-stream-config.json");
   
streamOp.setTableConfigFileNames(Collections.singletonList("pinot-integration-tests/src/test/resources/compat-tests/configs/feature-test-1-realtime.json"));
   
streamOp.setRecordReaderConfigFileName("pinot-integration-tests/src/test/resources/compat-tests/data/recordReaderConfig.json");
   streamOp.runOp();
   ```
   
   


----------------------------------------------------------------
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



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

Reply via email to