GitHub user dhacker1341 opened a pull request:
https://github.com/apache/phoenix/pull/30
PHOENIX-1362 Fix Min/MaxAggregateFunction Aggregator max length
Turned out the expression compiler was seeing the max length of 0 on fixed
length data types because getMaxLength() on the aggregator was not being
overridden.
Let me know if I need to change anything especially on the test side. Not
too familiar yet with the style of the project.
You can merge this pull request into a Git repository by running:
$ git pull https://github.com/dhacker1341/phoenix master
Alternatively you can review and apply these changes as the patch at:
https://github.com/apache/phoenix/pull/30.patch
To close this pull request, make a commit to your master/trunk branch
with (at least) the following in the commit message:
This closes #30
----
commit 489f57a93a734b7d47aed864ea8f71d6bc01d0d7
Author: David <[email protected]>
Date: 2014-12-16T03:46:17Z
PHOENIX-1362 Fix Min/MaxAggregateFunction Aggregator max length
----
---
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.
---