mneedham commented on a change in pull request #7792: URL: https://github.com/apache/pinot/pull/7792#discussion_r752122323
########## File path: pinot-common/src/test/java/org/apache/pinot/common/data/SchemaTest.java ########## @@ -253,6 +253,16 @@ public void testSchemaBuilderAddTime() { Assert.assertEquals(schema11, schema12); } + @Test(expectedExceptions = com.fasterxml.jackson.databind.JsonMappingException.class, + expectedExceptionsMessageRegExp = "'booleanDimension' field is missing 'dataType' property.*") + public void testMissingDataType() + throws Exception { + URL resourceUrl = getClass().getClassLoader().getResource("missingDataType.schema"); + Assert.assertNotNull(resourceUrl); Review comment: Done -- 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