spark-user mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From kant kodali <kanth...@gmail.com>
Subject is there a way to parse and modify raw spark sql query?
Date Tue, 05 Jun 2018 08:39:04 GMT
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

Mime
View raw message