Upgrade to optiq-0.4.16. Add a test case for Optiq issue https://github.com/julianhyde/optiq/issues/69.
diff --git a/pom.xml b/pom.xml
index ddd02ca..d1cfaf5 100644
--- a/pom.xml
+++ b/pom.xml
@@ -76,18 +76,23 @@
<dependency>
<groupId>junit</groupId>
<artifactId>junit</artifactId>
- <version>[4.8,)</version>
+ <version>4.11</version>
<scope>test</scope>
</dependency>
<dependency>
<groupId>net.hydromatic</groupId>
<artifactId>optiq-core</artifactId>
- <version>0.4.15</version>
+ <version>0.4.16</version>
+ </dependency>
+ <dependency>
+ <groupId>net.hydromatic</groupId>
+ <artifactId>optiq-avatica</artifactId>
+ <version>0.4.16</version>
</dependency>
<dependency>
<groupId>net.hydromatic</groupId>
<artifactId>linq4j</artifactId>
- <version>0.1.10</version>
+ <version>0.1.11</version>
</dependency>
<dependency>
<groupId>net.sf.opencsv</groupId>
diff --git a/src/test/java/net/hydromatic/optiq/test/CsvTest.java b/src/test/java/net/hydromatic/optiq/test/CsvTest.java
index a786909..3341c6f 100644
--- a/src/test/java/net/hydromatic/optiq/test/CsvTest.java
+++ b/src/test/java/net/hydromatic/optiq/test/CsvTest.java
@@ -216,6 +216,12 @@
}
}
}
+
+ @Test public void testJoinOnString() throws SQLException {
+ checkSql("smart",
+ "select * from emps join depts on emps.name = depts.name",
+ "");
+ }
}
// End CsvTest.java