yanxinyi commented on a change in pull request #1363:
URL: https://github.com/apache/phoenix/pull/1363#discussion_r768181236
##########
File path:
phoenix-core/src/main/java/org/apache/phoenix/query/ConnectionQueryServicesImpl.java
##########
@@ -4354,6 +4360,18 @@ private PhoenixConnection upgradeSystemTask(
return metaConnection;
}
+ private PhoenixConnection upgradeSystemTransform(
+ PhoenixConnection metaConnection,
+ Map<String, String> systemTableToSnapshotMap)
+ throws SQLException {
+ try (Statement statement = metaConnection.createStatement()) {
+ statement.executeUpdate(getTransformDDL());
+ } catch (TableAlreadyExistsException ignored) {
+
Review comment:
nit: better to add logging here so that we know the creation of the
table is failed
--
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.
To unsubscribe, e-mail: [email protected]
For queries about this service, please contact Infrastructure at:
[email protected]