Skip to content
Advertisement

Tag: prettify

How to format SQL Queries inside PySpark codefile

I would like to format my existing SQL queries inside the PySpark file. This is how my existing source file looks like: And this is how I wanted it to look like: I have already tried using black and other vscode extensions for formatting my code base but no luck since the SQL code is being treated as a python

Advertisement