Calling stored procs using identifier function

hobrob_ex
New Contributor III

hi folks

I'm hitting an error when trying to call a stored procedure using the identifier function, potentially looks like it could be a bug.

Calling the proc with a normal reference as follows works just fine.

`call my_catalog.my_schema.my_proc('2026-01-01');`

As soon as I try to use the identifier function so I can use variables to point at different procedure versions for a procedure I get the error further below.

`call identifier('my_catalog.my_schema.my_proc')('2026-01-01');`

'PlanWithUnresolvedIdentifier my_catalog.my_schema.my_proc, org.apache.spark.sql.catalyst.parser.AstBuilder$$Lambda$29635/0x00007f56d3f7d8d8@340ce335 (of class org.apache.spark.sql.catalyst.analysis.PlanWithUnresolvedIdentifier)

   I only get this problem with stored procedures, using identifier() for tables, views etc doesn't yield any errors.