donlxz
Databricks Partner

Hi, @szymon_dybczak 

Thank you for your response.
You're right, it was mentioned in the documentation—I missed it when checking.
I understand now that it's not possible to do this with spark.sql. Thanks for clarifying!