phoenix-dev mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From "Josh Elser (JIRA)" <j...@apache.org>
Subject [jira] [Commented] (PHOENIX-4304) Refactoring to avoid using deprecated HTableDescriptor, HColumnDescriptor, HRegionInfo
Date Fri, 24 Nov 2017 16:42:01 GMT

    [ https://issues.apache.org/jira/browse/PHOENIX-4304?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=16265421#comment-16265421
] 

Josh Elser commented on PHOENIX-4304:
-------------------------------------

LGTM.

{code}
@@ -1690,17 +1675,17 @@ public class ConnectionQueryServicesImpl extends DelegateQueryServices
implement
     private void ensureViewIndexTableCreated(PTable table, long timestamp, boolean isNamespaceMapped)
             throws SQLException {
         byte[] physicalTableName = table.getPhysicalName().getBytes();
-        HTableDescriptor htableDesc = this.getTableDescriptor(physicalTableName);
+       TableDescriptor htableDesc = this.getTableDescriptor(physicalTableName);
{code}

Nit: space :)

> Refactoring to avoid using deprecated HTableDescriptor, HColumnDescriptor, HRegionInfo
> --------------------------------------------------------------------------------------
>
>                 Key: PHOENIX-4304
>                 URL: https://issues.apache.org/jira/browse/PHOENIX-4304
>             Project: Phoenix
>          Issue Type: Sub-task
>            Reporter: Rajeshbabu Chintaguntla
>            Assignee: Rajeshbabu Chintaguntla
>              Labels: HBase-2.0
>             Fix For: 4.14.0
>
>         Attachments: PHOENIX-4304.patch
>
>
> We can change 
> HTableDescriptor - > TableDescriptor
> HColumnDescriptor -> ColumnFamilyDescriptor
> HRegioInfo -> RegionInfo



--
This message was sent by Atlassian JIRA
(v6.4.14#64029)

Mime
View raw message