Logo Questions Linux Laravel Mysql Ubuntu Git Menu
 

Azure Databricks Notebook Parameter Passing

I invoked a Child Notebook from a Parent Notebook with some parameters passed through.

I encountered limitations in the number of characters while passing parameters. As part of parameter passing, Table Schema (Name CHAR(5), Age INT etc.,) is passed to the child notebook.

The problem is that my table has 450 columns and the child notebook does not support passing parameters with more characters.

The error:

com.databricks.WorkflowException: com.databricks.common.client.DatabricksServiceException: INVALID_PARAMETER_VALUE: The provided parameters (in json representation) are too long (10046 bytes); it cannot exceeds 10000 bytes.

like image 656
Balan M Avatar asked Sep 06 '25 03:09

Balan M


1 Answers

This is a known limitation with Azure Databricks.

While passing the parameters - The JSON representation of this field cannot exceed 10,000 bytes.

In case, if it exceeds the limit it will throws the above error message which you are experiencing.

like image 101
CHEEKATLAPRADEEP-MSFT Avatar answered Sep 07 '25 21:09

CHEEKATLAPRADEEP-MSFT