cancel
Showing results forย 
Search instead forย 
Did you mean:ย 
Get Started Discussions
Start your journey with Databricks by joining discussions on getting started guides, tutorials, and introductory topics. Connect with beginners and experts alike to kickstart your Databricks experience.
cancel
Showing results forย 
Search instead forย 
Did you mean:ย 

Callback bound method error

Henrik_
New Contributor III

 When executing a withColumn (running on DBR 14.3 LST) I get this error:

Error in callback <bound method UserNamespaceCommandHook.post_run_cell of <dbruntime.DatasetInfo.UserNamespaceCommandHook object at 0x7feda2b2efb0>> (for post_run_cell):

How should this be interpreted? 

2 REPLIES 2

LK8
New Contributor II

@Henrik_ this issue may occur due to cluster type, please change cluster type to single user cluster

thanks

TjommeV-Vlaio
New Contributor III

We have the same issue using a shared cluster running DBR 14.3:

Code executed: 

dfNew = dfTmp.withColumn(HashKeyColumnName, F.sha2(F.concat_ws("||", *ColumnList), 256))
Error received: 
Error in callback <bound method UserNamespaceCommandHook.post_run_cell of <dbruntime.DatasetInfo.UserNamespaceCommandHook object at 0x7fb0501caef0>> (for post_run_cell):

Issue triggering this error: dfTmp contains columns with ARRAY<> datatypes

Main issue: this error is in a try/except block which does not catch the error

Using a single user cluster is not an option

 

Connect with Databricks Users in Your Area

Join a Regional User Group to connect with local Databricks users. Events will be happening in your city, and you wonโ€™t want to miss the chance to attend and share knowledge.

If there isnโ€™t a group near you, start one and help create a community that brings people together.

Request a New Group