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

 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? 

3 REPLIES 3

Kaniz_Fatma
Community Manager
Community Manager

Hi @Henrik_I recommend checking the callback function and any relevant dependencies to identify the root cause. If you can provide more details or share the relevant code snippet, Iโ€™d be happy to assist further! ๐Ÿ˜Š

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 II

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

 

Join 100K+ Data Experts: Register Now & Grow with Us!

Excited to expand your horizons with us? Click here to Register and begin your journey to success!

Already a member? Login and join your local regional user group! If there isn’t one near you, fill out this form and we’ll create one for you to join!