-
Notifications
You must be signed in to change notification settings - Fork 1.1k
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
Add make_geohash function #1265
Conversation
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
Would it make sense to check the args to see whether they are constants as in EqGeoHashGeoHashFunctionFactory
? If so, then a constant function can be returned with the value calculated.
There might be a missing test for getGeoHashByte
.
.../java/io/questdb/griffin/engine/functions/geohash/GeoHashFromCoordinatesFunctionFactory.java
Show resolved
Hide resolved
.../java/io/questdb/griffin/engine/functions/geohash/GeoHashFromCoordinatesFunctionFactory.java
Outdated
Show resolved
Hide resolved
.../java/io/questdb/griffin/engine/functions/geohash/GeoHashFromCoordinatesFunctionFactory.java
Show resolved
Hide resolved
core/src/main/java/io/questdb/griffin/engine/functions/rnd/RndGeoHashFunctionFactory.java
Outdated
Show resolved
Hide resolved
core/src/main/java/io/questdb/griffin/engine/functions/rnd/RndGeoHashFunctionFactory.java
Outdated
Show resolved
Hide resolved
.../java/io/questdb/griffin/engine/functions/geohash/GeoHashFromCoordinatesFunctionFactory.java
Show resolved
Hide resolved
07f14d7
to
752ad1f
Compare
make_geohash(lon, lat, bits)
…geohash functions
30af217
to
b7876bf
Compare
.../java/io/questdb/griffin/engine/functions/geohash/GeoHashFromCoordinatesFunctionFactory.java
Show resolved
Hide resolved
[PR Coverage check]😍 pass : 27 / 28 (96.43%) file detail
|
need to expedite the PR, can optimise later
make_geohash(lon, lat, bits)