swaroopak commented on a change in pull request #558: PHOENIX-5413: Fix union
all error when exists literal column type.
URL: https://github.com/apache/phoenix/pull/558#discussion_r309523376
##########
File path: phoenix-core/src/it/java/org/apache/phoenix/end2end/UnionAllIT.java
##########
@@ -1065,4 +1065,44 @@ public void testCoerceExpr() throws Exception {
conn.close();
}
}
+
+ @Test
+ public void testUnionAllWithLiteralColumn() throws Exception {
+ String tableName1 = generateUniqueName();
+ Properties props = PropertiesUtil.deepCopy(TEST_PROPERTIES);
+ Connection conn = DriverManager.getConnection(getUrl(), props);
+ conn.setAutoCommit(false);
+
+ try {
Review comment:
Could you please use try-with-resources?
----------------------------------------------------------------
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