Giter Site home page Giter Site logo

h3-presto's Introduction

H3-Presto

tests Coverage Status License Maven Central H3 Version

This library provides Presto bindings for the H3 Core Library via a Presto plugin. For API reference, please see the H3 Documentation.

Usage

You will need to install the plugin on all nodes of your Presto cluster. For convenience of deployment, the plugin is distributed as a shaded Jar with the dependencies such as H3-Java and Guava packaged in.

Once installed, Presto will automatically load the H3Plugin at startup and the functions will then be available from SQL, e.g.:

SELECT h3_latlng_to_cell(lat, lng, 9) AS hex FROM my_table;

Development

Building the library requires a JDK and Maven. To install to your local Maven cache, run:

mvn install

To build the library, run:

mvn package

To build the documentation site, run:

mvn site

To format source code as required by CI, run:

mvn com.spotify.fmt:fmt-maven-plugin:format

Release

Releasing uses a process along the lines of h3-java's release process.

mvn release:prepare
mvn release:perform

(As this library does not have native build steps, we plan to automate this in the future.)

Legal and Licensing

Copyright 2022 Foursquare Labs, Inc. H3-Presto is licensed under the Apache 2.0 License.

H3 Copyright 2016 Uber Technologies, Inc.

DGGRID Copyright (c) 2015 Southern Oregon University

h3-presto's People

Contributors

dependabot[bot] avatar

Stargazers

 avatar  avatar  avatar  avatar  avatar  avatar  avatar

Watchers

 avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar

h3-presto's Issues

Recommend Projects

  • React photo React

    A declarative, efficient, and flexible JavaScript library for building user interfaces.

  • Vue.js photo Vue.js

    ๐Ÿ–– Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.

  • Typescript photo Typescript

    TypeScript is a superset of JavaScript that compiles to clean JavaScript output.

  • TensorFlow photo TensorFlow

    An Open Source Machine Learning Framework for Everyone

  • Django photo Django

    The Web framework for perfectionists with deadlines.

  • D3 photo D3

    Bring data to life with SVG, Canvas and HTML. ๐Ÿ“Š๐Ÿ“ˆ๐ŸŽ‰

Recommend Topics

  • javascript

    JavaScript (JS) is a lightweight interpreted programming language with first-class functions.

  • web

    Some thing interesting about web. New door for the world.

  • server

    A server is a program made to process requests and deliver data to clients.

  • Machine learning

    Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.

  • Game

    Some thing interesting about game, make everyone happy.

Recommend Org

  • Facebook photo Facebook

    We are working to build community through open source technology. NB: members must have two-factor auth.

  • Microsoft photo Microsoft

    Open source projects and samples from Microsoft.

  • Google photo Google

    Google โค๏ธ Open Source for everyone.

  • D3 photo D3

    Data-Driven Documents codes.