You are viewing a plain text version of this content. The canonical link for it is here.
Posted to dev@phoenix.apache.org by "Josh Elser (JIRA)" <ji...@apache.org> on 2017/11/24 16:42:01 UTC

[jira] [Commented] (PHOENIX-4304) Refactoring to avoid using deprecated HTableDescriptor, HColumnDescriptor, HRegionInfo

    [ 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)