Fibonacci series in BigQuery

Using user-defined JavaScript functions inside BigQuery to calculate Fibonacci

Bence Komarniczky
Towards Data Science
4 min readJun 1, 2020

--

BigQuery has some neat functionality to support user-defined functions written in SQL and JavaScript so I thought I’d be fun to tackle a little a challenge with Fibonacci numbers.

Fibonacci series in nature — Image credit: pxfuel

I’m pretty sure I saw this challenge on Project Euler or somewhere similar so…

--

--

Data scientist building ML products in ad-tech. I write tutorials on data science🧑‍🔬, machine learning 🤖, Julia and cloud computing ☁️.