navina commented on code in PR #11017: URL: https://github.com/apache/pinot/pull/11017#discussion_r1278176712
########## pinot-core/src/test/java/org/apache/pinot/core/util/SchemaUtilsTest.java: ########## @@ -136,13 +138,17 @@ public void testCompatibilityWithTableConfig() { schema = new Schema.SchemaBuilder().setSchemaName(TABLE_NAME) .addDateTime(TIME_COLUMN, DataType.LONG, "1:MILLISECONDS:EPOCH", "1:HOURS").build(); tableConfig = - new TableConfigBuilder(TableType.REALTIME).setTableName(TABLE_NAME).setTimeColumnName(TIME_COLUMN).build(); + new TableConfigBuilder(TableType.REALTIME).setTableName(TABLE_NAME) + .setStreamConfigs(Map.of(StreamConfigProperties.STREAM_TYPE, "foo")) Review Comment: I added a validation in TableConfigUtils which exposes the existing misconfigurations in this test. Since these test are checking for misconfiguration, adding a standard test util method to fetch streamconfigs is going to help much. So, I think this change can remain. -- 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. To unsubscribe, e-mail: commits-unsubscr...@pinot.apache.org 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