phoenix-dev mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From twdsilva <>
Subject [GitHub] phoenix pull request: PHOENIX-514 Support functional indexes
Date Tue, 20 Jan 2015 23:20:55 GMT
Github user twdsilva commented on a diff in the pull request:
    --- Diff: phoenix-core/src/main/java/org/apache/phoenix/index/ ---
    @@ -954,13 +981,14 @@ public int getEstimatedByteSize() {
             size += dataEmptyKeyValueCF.length + WritableUtils.getVIntSize(dataEmptyKeyValueCF.length);
             size += emptyKeyValueCFPtr.getLength() + WritableUtils.getVIntSize(emptyKeyValueCFPtr.getLength());
             size += WritableUtils.getVIntSize(nDataCFs+1);
    +        //TODO figure out how to estimate size of indexedExpressions
    --- End diff --
    I added a getEstimatedByteSize() to Expression and implemented this method in the subclasses
to get the estimated byte size()

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 or file a JIRA ticket
with INFRA.

View raw message