phoenix-dev mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From "Hadoop QA (JIRA)" <>
Subject [jira] [Commented] (PHOENIX-4468) Looking up a parent index table of a child view from a different client fails.
Date Mon, 18 Dec 2017 21:35:03 GMT


Hadoop QA commented on PHOENIX-4468:

{color:red}-1 overall{color}.  Here are the results of testing the latest attachment
  against 4.x-HBase-0.98 branch at commit 5cb02da74c15b0ae7c0fb4c880d60a2d1b6d18aa.
  ATTACHMENT ID: 12902700

    {color:green}+1 @author{color}.  The patch does not contain any @author tags.

    {color:red}-1 tests included{color}.  The patch doesn't appear to include any new or modified
                        Please justify why no new tests are needed for this patch.
                        Also please list what manual steps were performed to verify this patch.

    {color:green}+1 javac{color}.  The applied patch does not increase the total number of
javac compiler warnings.

    {color:red}-1 release audit{color}.  The applied patch generated 1 release audit warnings
(more than the master's current 0 warnings).

    {color:red}-1 lineLengths{color}.  The patch introduces the following lines longer than
    +           if (c.contains(QueryConstants.CHILD_VIEW_INDEX_NAME_SEPARATOR) ) { throw new
RuntimeException("Table or schema name cannot contain hash"); }
+                    tenantId, PNameImpl.EMPTY_NAME, tableName, table.getType(), table.getIndexState(),
+                String viewName = SchemaUtil.getTableNameFromFullName(name, QueryConstants.CHILD_VIEW_INDEX_NAME_SEPARATOR);
+                MetaDataMutationResult result = new MetaDataClient(pconn).updateCache(schemaName,

     {color:red}-1 core tests{color}.  The patch failed these unit tests:

Test results:
Release audit warnings:
Console output:

This message is automatically generated.

> Looking up a parent index table of a child view from a different client fails. 
> -------------------------------------------------------------------------------
>                 Key: PHOENIX-4468
>                 URL:
>             Project: Phoenix
>          Issue Type: Bug
>            Reporter: Thomas D'Silva
>            Assignee: Thomas D'Silva
>             Fix For: 4.14.0, 4.13.2
>         Attachments: PHOENIX-4468-4.x-HBase-0.98.patch
> When you execute a query on a view, phoenix will use any indexes on the base table that
have all the required columns. We create a new PTable based on the parent table index and
tack on the view statement (to ensure we only see rows that we can access from the view).
This PTable is added to the client side connection metadata cache. This table is not available
on the server side (in SYSTEM.CATALOG).
> If you lookup the parent index table from a different client (that never ran a query
on the view), it will fail with a TableNotFoundException.

This message was sent by Atlassian JIRA

View raw message