Hi I'm runnig this SQL statment with Spark 2.4.0 :
val qry = " WITH tab1 as (select nu_operation from schema.table_001 ) select nu_operation from tab1"
and I'm getting
com.microsoft.sqlserver.jdbc.SQLServerException: Incorrect syntax near the keyword 'WITH'.
Thanks in advance,