fsk119 commented on a change in pull request #12661: URL: https://github.com/apache/flink/pull/12661#discussion_r440833406
########## File path: flink-formats/flink-json/src/test/java/org/apache/flink/formats/json/JsonFormatFactoryTest.java ########## @@ -91,6 +91,16 @@ public void testInvalidOptionForIgnoreParseErrors() { testSchemaDeserializationSchema(tableOptions); } + @Test + public void testInvalidOptionForTimestampFormat() { + final Map<String, String> tableOptions = getModifyOptions( + options -> options.put("json.timestamp-format.standard", "test")); + + thrown.expect(ValidationException.class); + thrown.expect(containsCause(new ValidationException("Unsupported value test for timestamp-format.standard. Supported values are [SQL, ISO-8601]."))); Review comment: I have already replaced this. ---------------------------------------------------------------- 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