Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

ST_Bin* #59

Merged
merged 3 commits into from
Jul 10, 2014
Merged

ST_Bin* #59

merged 3 commits into from
Jul 10, 2014

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.

None yet

2 participants