You are viewing a plain text version of this content. The canonical link for it is here.
Posted to issues@phoenix.apache.org by GitBox <gi...@apache.org> on 2019/12/30 20:45:45 UTC
[GitHub] [phoenix] swaroopak opened a new pull request #667:
PHOENIX-5650_4.14: IndexUpgradeTool does not rebuild view indexes
swaroopak opened a new pull request #667: PHOENIX-5650_4.14: IndexUpgradeTool does not rebuild view indexes
URL: https://github.com/apache/phoenix/pull/667
----------------------------------------------------------------
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:
users@infra.apache.org
With regards,
Apache Git Services
[GitHub] [phoenix] priyankporwal commented on a change in pull request #667:
PHOENIX-5650_4.14: IndexUpgradeTool does not rebuild view indexes
Posted by GitBox <gi...@apache.org>.
priyankporwal commented on a change in pull request #667: PHOENIX-5650_4.14: IndexUpgradeTool does not rebuild view indexes
URL: https://github.com/apache/phoenix/pull/667#discussion_r363535366
##########
File path: phoenix-core/src/main/java/org/apache/phoenix/mapreduce/index/IndexUpgradeTool.java
##########
@@ -650,18 +650,19 @@ private boolean extractTablesAndIndexes(PhoenixConnection conn) {
if (hasViewIndex) {
- String viewSql = "SELECT DISTINCT TABLE_NAME, TENANT_ID FROM "
+ String viewSql = "SELECT DISTINCT COLUMN_FAMILY, TENANT_ID FROM "
+ "SYSTEM.CATALOG "
- + "WHERE COLUMN_FAMILY = \'" + dataTableFullName + "\' "
+ + "WHERE TABLE_NAME = \'" + tableName + "\' "
+ (!StringUtil.EMPTY_STRING.equals(schemaName) ? "AND TABLE_SCHEM = \'"
Review comment:
Strings.isNullOrEmpty() here too please.
----------------------------------------------------------------
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:
users@infra.apache.org
With regards,
Apache Git Services
[GitHub] [phoenix] swaroopak closed pull request #667: PHOENIX-5650_4.14:
IndexUpgradeTool does not rebuild view indexes
Posted by GitBox <gi...@apache.org>.
swaroopak closed pull request #667: PHOENIX-5650_4.14: IndexUpgradeTool does not rebuild view indexes
URL: https://github.com/apache/phoenix/pull/667
----------------------------------------------------------------
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:
users@infra.apache.org
With regards,
Apache Git Services