How To Download A BigQuery Result Into a CSV File Using Kotlin

Raphael De Lio
3 min readSep 29, 2020

In this tutorial we are going to see how we can download the result of a BigQuery query into a CSV file in our computer by using Kotlin, the Java BigQuery API Client Library provided by Google and the OpenCSV Library.

Let’s get it Started!

Set Up

Raphael De Lio

Hi! I’m a Brazilian software developer who is living in the Netherlands. I don’t only love learning, I also love sharing knowledge, that’s why I’m here.