Github user JamesRTaylor commented on a diff in the pull request:
https://github.com/apache/phoenix/pull/153#discussion_r57615550
--- Diff:
phoenix-core/src/main/java/org/apache/phoenix/iterate/ChunkedResultIterator.java
---
@@ -74,7 +74,7 @@ public
ChunkedResultIteratorFactory(ParallelIteratorFactory
@Override
public PeekingResultIterator newIterator(StatementContext context,
ResultIterator scanner, Scan scan, String tableName) throws SQLException {
- if (logger.isDebugEnabled())
logger.debug(LogUtil.addCustomAnnotations("ChunkedResultIteratorFactory.newIterator
over " + tableRef.getTable().getName().getString() + " with " + scan,
ScanUtil.getCustomAnnotations(scan)));
+ if (logger.isDebugEnabled())
logger.debug(LogUtil.addCustomAnnotations("ChunkedResultIteratorFactory.newIterator
over " + tableRef.getTable().getPhysicalName().getString() + " with " + scan,
ScanUtil.getCustomAnnotations(scan)));
--- End diff --
Good question. Not sure. Maybe we can do that in a separate JIRA if we want
to change it? I'd probably lean toward using HBase physical name everywhere for
explain plan and logging.
---
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 [email protected] or file a JIRA ticket
with INFRA.
---