Spark use both sql and dsl to query

i can use API to call endpoint SQL combine both SQL query and dsl follow this doc link . my question is how can I use this query by spark-elasticsearch?
Thanks and best regards

Spark SQL through the es-spark API and the Elasticsearch SQL REST API are unfortunately completely separate products. The filtering syntax in your link that mixes SQL and Elasticsearch queries is not supported by es-spark.

1 Like

thank you very much.