danny0405 commented on a change in pull request #1299: [CALCITE-3100] cast(? as
DATE) won't work with PreparedStatement
URL: https://github.com/apache/calcite/pull/1299#discussion_r300829556
##########
File path: core/src/test/java/org/apache/calcite/test/CalciteAssert.java
##########
@@ -877,6 +877,9 @@ public static SchemaPlus addSchema(SchemaPlus rootSchema,
SchemaSpec schema) {
case BOOKSTORE:
return rootSchema.add(schema.schemaName,
new ReflectiveSchema(new BookstoreSchema()));
+
+ case DATETIMEDATA:
+ return rootSchema.add(schema.schemaName, new ReflectiveSchema(new
JdbcTest.DateTimeSchema()));
Review comment:
Let's follow the name pattern and call this `DATETIME`.
----------------------------------------------------------------
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:
[email protected]
With regards,
Apache Git Services