This is an automated email from the ASF dual-hosted git repository.
chengzhang pushed a commit to branch master
in repository https://gitbox.apache.org/repos/asf/shardingsphere.git
The following commit(s) were added to refs/heads/master by this push:
new ea36e6fc268 Support more e2e type in SQLValue (#35537)
ea36e6fc268 is described below
commit ea36e6fc268122f0265d99e4ffa38906f1b0c133
Author: Zhengqiang Duan <[email protected]>
AuthorDate: Tue May 27 18:14:21 2025 +0800
Support more e2e type in SQLValue (#35537)
---
.../java/org/apache/shardingsphere/test/e2e/cases/value/SQLValue.java | 4 ++++
1 file changed, 4 insertions(+)
diff --git
a/test/e2e/sql/src/test/java/org/apache/shardingsphere/test/e2e/cases/value/SQLValue.java
b/test/e2e/sql/src/test/java/org/apache/shardingsphere/test/e2e/cases/value/SQLValue.java
index 5a115419caf..8574e913671 100644
---
a/test/e2e/sql/src/test/java/org/apache/shardingsphere/test/e2e/cases/value/SQLValue.java
+++
b/test/e2e/sql/src/test/java/org/apache/shardingsphere/test/e2e/cases/value/SQLValue.java
@@ -56,11 +56,14 @@ public final class SQLValue {
case "String":
case "varchar":
case "char":
+ case "tinytext":
case "text":
case "longtext":
case "mediumtext":
case "json":
case "clob":
+ case "enum":
+ case "set":
return value;
case "tinyint":
return Byte.parseByte(value);
@@ -117,6 +120,7 @@ public final class SQLValue {
return Timestamp.valueOf(LocalDateTime.parse(value,
DateTimeFormatterFactory.getStandardFormatter()));
}
return Timestamp.valueOf(LocalDateTime.parse(value,
DateTimeFormatterFactory.getShortMillisFormatter()));
+ case "tinyblob":
case "blob":
case "longblob":
case "mediumblob":