RyanSkraba commented on code in PR #18133:
URL: https://github.com/apache/flink/pull/18133#discussion_r940331579
##########
flink-formats/flink-avro/src/test/java/org/apache/flink/formats/avro/typeutils/AvroTypeExtractionTest.java:
##########
@@ -109,9 +109,9 @@ void testSimpleAvroRead(boolean useMiniCluster,
@InjectMiniCluster MiniCluster m
+ "\"type_nested\": {\"num\": 239, \"street\": \"Baker
Street\", \"city\": \"London\", "
+ "\"state\": \"London\", \"zip\": \"NW1 6XE\"}, "
+ "\"type_bytes\":
\"\\u0000\\u0000\\u0000\\u0000\\u0000\\u0000\\u0000\\u0000\\u0000\\u0000\", "
- + "\"type_date\": 2014-03-01, \"type_time_millis\":
12:12:12, \"type_time_micros\": 00:00:00.123456, "
- + "\"type_timestamp_millis\":
2014-03-01T12:12:12.321Z, "
- + "\"type_timestamp_micros\":
1970-01-01T00:00:00.123456Z, \"type_decimal_bytes\": \"\\u0007Ð\", "
+ + "\"type_date\": \"2014-03-01\",
\"type_time_millis\": \"12:12:12\", \"type_time_micros\": \"00:00:00.123456\", "
Review Comment:
Hello! This was a fix introduced by AVRO-3124, cleaning up the `toString()`
representation to look more like valid JSON.
My personal opinion is that nobody should parse a `toString()` return
value... but it has been useful in testing.
--
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: [email protected]
For queries about this service, please contact Infrastructure at:
[email protected]