[
https://issues.apache.org/jira/browse/PHOENIX-1466?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=14216663#comment-14216663
]
Eli Levine commented on PHOENIX-1466:
-------------------------------------
Looking at the patch a bit... mind adding custom log annotations to
logger.debug() statement. All you need to do is replace
{code}
if (logger.isDebugEnabled()) logger.debug("With LIMIT=" + perScanLimit
+ ", estimated row size=" + estRowSize
+ ", estimated region size=" + estRegionSize + " (" + (gpsInfo
== null ? "without " : "with ") + "stats)"
+ ": " + (isSerial ? "SERIAL" : "PARALLEL") + " execution");
{code}
with
{code}
if (logger.isDebugEnabled())
logger.debug(LogUtil.addCustomAnnotations("With LIMIT=" + perScanLimit
+ ", estimated row size=" + estRowSize
+ ", estimated region size=" + estRegionSize + " (" + (gpsInfo
== null ? "without " : "with ") + "stats)"
+ ": " + (isSerial ? "SERIAL" : "PARALLEL") + " execution",
context.getConnection()));
{code}
Otherwise looks good, thanks.
> Prevent multiple scans when query run serially
> ----------------------------------------------
>
> Key: PHOENIX-1466
> URL: https://issues.apache.org/jira/browse/PHOENIX-1466
> Project: Phoenix
> Issue Type: Bug
> Reporter: James Taylor
> Attachments: PHOENIX-1466.patch
>
>
--
This message was sent by Atlassian JIRA
(v6.3.4#6332)