Join Slack
Powered by
I want to use GEOLOCATION function in flink sql. I...
# troubleshooting
d
Dr Ravi Tomar
06/21/2023, 7:52 AM
I want to use GEOLOCATION function in flink sql. I am having lat, long data in table and want to calculate distance. any help is appreciated.
g
Giannis Polyzos
06/21/2023, 7:56 AM
UDFs is your friend and you should only need a scalar function.
https://nightlies.apache.org/flink/flink-docs-master/docs/dev/table/functions/udfs/
also have a few examples with instruction on how to use them in the readme.
https://github.com/polyzos/stream-processing-with-apache-flink/tree/main/src/main/java/io/streamingledger/udfs
d
Dr Ravi Tomar
06/21/2023, 8:34 AM
Thanks man, looks helpful
Open in Slack
Previous
Next