A few months ago at work, I wrote a simple node.js snippet to calculate route distances in Mapbox. Now I’m proud, that it’s used to demonstrate how to use Mapbox calculations from Snowflake.
Tamas Foldi handled the infrastructure, and wrote a blog post to the official Snowflake blog on how to call an external lambda from SQL.
The source code is available on github.
Happy coding!