Hi All,
I am having an issue with calling a Databricks SQL user defined function with parameters from my client application using the Spark ODBC driver.
I have been able to execute a straight SQL statement using parameters e.g.
SELECT * FROM Customer WHERE CustomerId = ?
But if I try to execute a statement that contains a parameterised function it will not work e.g.
SELECT * FROM GetCustomerData(?)
I always get an [UNBOUND_SQL_PARAMETER] error. I suspect that Databricks needs named parameter binding, but ODBC doesn't support that, so I am a bit stuck.
Has anyone come across this issue before, or have a solution?
Thanks,
Chris.