Spark SQL on Google Colab | Easiest way to run SQL in browser without installation on any device 🤳🏻

Поділитися
Вставка
  • Опубліковано 13 жов 2024
  • Hurray! Now you can run spark code online free! Here is a simplest life saving tip for data engineers, data analysts and data scientists that this video teaches you. Now you can run SQL code under the hood of Spark SQL that even from within a web browser. That means, you need no installation for SQL on your machine, you just need a browser in place on whatever device you are using laptop/tab/or even a mobile phone(smartphone) and a Google account and you can follow along.
    Above video has an spark sql example that is executed specifically on Google Colab notebook here for the time being. However, same lines of code can run smoothly on some of the most popular python notebook platforms like Jupyter Notebook, Jupyter Lab and Databricks. The code to run Spark SQL can also be run from your local machine if you already have everything in place. But if it is not and you don't want to make all those efforts of installation just to run few sql queries, they your are at right place. Google Colab notebook will allow you to execute SQL queries from anywhere, when I say anywhere, I mean it. As colab is easily accessible from your cell phone. You can run it from there as well, and that's the comfort. The only thing you need is to write your SQL query inside spark.sql syntax. That's what we are going to see in above video.
    Easiest hack you can use to quickly execute SQL queries on your web browser even from your mobile phone with the help of truly amazing Google Colab notebook and few one line python magic commands.

КОМЕНТАРІ • 1

  • @kristiandaclan9236
    @kristiandaclan9236 5 місяців тому

    Did you upload a tgz file of pyspark beforehand?