This is an automated email from the ASF dual-hosted git repository.
vladimirsitnikov pushed a commit to branch master
in repository https://gitbox.apache.org/repos/asf/calcite.git
The following commit(s) were added to refs/heads/master by this push:
new 21cbdf8 Fix string reference to HrSchema in MaterializationTest with
HrSchema.class.getName()
21cbdf8 is described below
commit 21cbdf82b98130d1a8a6b9ff56a5dfd2cbfb025a
Author: Vladimir Sitnikov <[email protected]>
AuthorDate: Tue Oct 5 13:31:49 2021 +0300
Fix string reference to HrSchema in MaterializationTest with
HrSchema.class.getName()
---
core/src/test/java/org/apache/calcite/test/MaterializationTest.java | 3 ++-
1 file changed, 2 insertions(+), 1 deletion(-)
diff --git
a/core/src/test/java/org/apache/calcite/test/MaterializationTest.java
b/core/src/test/java/org/apache/calcite/test/MaterializationTest.java
index 48a2f71..9e4aad3 100644
--- a/core/src/test/java/org/apache/calcite/test/MaterializationTest.java
+++ b/core/src/test/java/org/apache/calcite/test/MaterializationTest.java
@@ -33,6 +33,7 @@ import org.apache.calcite.test.schemata.hr.DepartmentPlus;
import org.apache.calcite.test.schemata.hr.Dependent;
import org.apache.calcite.test.schemata.hr.Employee;
import org.apache.calcite.test.schemata.hr.Event;
+import org.apache.calcite.test.schemata.hr.HrSchema;
import org.apache.calcite.test.schemata.hr.Location;
import org.apache.calcite.util.JsonBuilder;
import org.apache.calcite.util.Smalls;
@@ -220,7 +221,7 @@ public class MaterializationTest {
+ " name: 'hr',\n"
+ " factory:
'org.apache.calcite.adapter.java.ReflectiveSchema$Factory',\n"
+ " operand: {\n"
- + " class: 'org.apache.calcite.test.JdbcTest$HrSchema'\n"
+ + " class: '" + HrSchema.class.getName() + "'\n"
+ " }\n"
+ " }\n"
+ " ]\n"