twalthr commented on a change in pull request #6958: [FLINK-10687] [table] Make
flink-formats Scala-free
URL: https://github.com/apache/flink/pull/6958#discussion_r228906783
##########
File path:
flink-libraries/flink-table/src/test/scala/org/apache/flink/table/typeutils/TypeStringUtilsTest.scala
##########
@@ -103,13 +104,18 @@ class TypeStringUtilsTest {
// test escaping
assertTrue(
- TypeStringUtils.readTypeInfo("ROW<\"he \\nllo\" DECIMAL, world
TINYINT>")
+ TypeStringUtils.readTypeInfo("ROW<`he \nllo` DECIMAL, world
TINYINT>")
Review comment:
The handling of escaping was simply wrong in this class. Similar efforts
have been done recently for https://issues.apache.org/jira/browse/FLINK-10281.
Backticks (or double backticks) are used in SQL and also other vendors such as
Hive.
----------------------------------------------------------------
This is an automated message from the Apache Git Service.
To respond to the message, please log on GitHub and use the
URL above to go to the specific comment.
For queries about this service, please contact Infrastructure at:
[email protected]
With regards,
Apache Git Services