h3-pyspark icon indicating copy to clipboard operation
h3-pyspark copied to clipboard

Not compatible with H3-py v4.1.2

Open quinten-goens opened this issue 1 year ago • 2 comments

The syntax of some functions has been changed in some of the later versions of H3-py causing the UDFs to no longer work with the later functions.

quinten-goens avatar Dec 08 '24 09:12 quinten-goens

@quinten-goens I ended up creating my own version https://github.com/JosephChotard/h3spark as there were a couple projects I needed to upgrade to 4.x

Sharing in case it's useful :)

JosephChotard avatar Jan 16 '25 04:01 JosephChotard

@JosephChotard this is cool. It seems like UDF wrapping is the way to go. Curious about which h3 API you used.

h3.api.memview_int and h3.api.numpy_int seems to have better performances.

NetZissou avatar Feb 20 '25 16:02 NetZissou