trafodion-codereview mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From DaveBirdsall <...@git.apache.org>
Subject [GitHub] incubator-trafodion pull request: [TRAFODION-1423] Indexes on traf...
Date Mon, 03 Aug 2015 20:36:51 GMT
Github user DaveBirdsall commented on a diff in the pull request:

    https://github.com/apache/incubator-trafodion/pull/37#discussion_r36128340
  
    --- Diff: core/sql/optimizer/NATable.cpp ---
    @@ -7596,6 +7617,19 @@ NABoolean  NATable::getHbaseTableInfo(Int32& hbtIndexLevels,
Int32& hbtBlockSize
     
     }
     
    +NABoolean NATable::isSQLMXAlignedTable(char *objectName) const 
    +{
    +  if (qualifiedName_.getText().compareTo(objectName, NAString::exact) == 0)
    +     return getSQLMXAlignedTable();
    +  else {
    +     for (CollIndex i = 0; i < indexes_.entries(); i++) {
    +         if (indexes_[i]->getFileSetName().getQualifiedNameAsAnsiString().compareTo(objectName,
NAString::exact) == 0)
    +            return indexes_[i]->isSqlmxAlignedRowFormat();
    +     }  
    +  }
    +  return getSQLMXAlignedTable();
    --- End diff --
    
    Should we ever get here? (If we do, is this an internal error?)


---
If your project is set up for it, you can reply to this email and have your
reply appear on GitHub as well. If your project does not have this feature
enabled and wishes so, or if the feature is enabled but not working, please
contact infrastructure at infrastructure@apache.org or file a JIRA ticket
with INFRA.
---

Mime
View raw message