Skip to content

Conversation

@climbage
Copy link
Member

@climbage climbage commented Jul 9, 2014

Adding functionality to group points by bins through Hive

@climbage
Copy link
Member Author

climbage commented Jul 9, 2014

@randallwhitman, please review

@climbage
Copy link
Member Author

Merging this branch. Next step is to add a sample in gis-tools.

climbage added a commit that referenced this pull request Jul 10, 2014
Hive spatial binning
@climbage climbage merged commit c6f1ece into master Jul 10, 2014
@climbage climbage deleted the bins branch July 10, 2014 23:15
@randallwhitman
Copy link
Contributor

Added minimal test script - a6b1dec

this.binSize = binSize;

// absolute max number of rows/columns we can have
long maxBinsPerAxis = (long) Math.sqrt(Long.MAX_VALUE);
Copy link
Contributor

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

If the Java language standard/definition guarantees 64-bit long, then something like
1L<<31

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

3 participants