Itโs likely not Databricks but the Splunk add-on causing the delay. The databricksquery command in version 1.4.2 has known performance issues โ most of the lag is inside Splunk while parsing results. Try upgrading to the latest add-on (1.5.x+), monitor search head resources, and if you need faster results, consider running scheduled jobs in Databricks and ingesting them into Splunk instead of live queries.
siennafaleiro