Yes, the issue appears only in Shared Mode so we're currently using Single user mode until we get some resolution from databricks.. Previously, we ran into similar issue while broadcasting udf and we got a suggestion from databricks rep to try pandas_udf instead, but that too throws same error in Shared mode.