Shua42
Databricks Employee
Databricks Employee

@sergecom This looks to be a possible bug, thank you for flagging. It looks like the EXISTS function works as intended with Serverless Compute and Serverless SQL Warehouses, but exhibits a different behavior when run on all-purpose compute. I've raised a ticket so that they can look into this.