Hi All,

is there a way to parse and modify raw spark sql query?

For example, given the following query

spark.sql("select hello from view")

I want to modify the query or logical plan such that I can get the result
equivalent to the below query.

spark.sql("select foo, hello from view")

Any sample code will be great!

Thanks

Reply via email to