cancel
Showing results forย 
Search instead forย 
Did you mean:ย 
Data Engineering
Join discussions on data engineering best practices, architectures, and optimization strategies within the Databricks Community. Exchange insights and solutions with fellow data engineers.
cancel
Showing results forย 
Search instead forย 
Did you mean:ย 

Error during deserializing protobuf data

Sambit_S
New Contributor III

I am receiving protobuf data in a json attribute and along with it I receive a descriptor file.

I am using from_protobuf to deserialize the data as below,

Sambit_S_0-1713966940987.png

It works most of the time but giving error when there are some recursive fields within the protobuf.

I tried the property as suggested by the spark doc https://spark.apache.org/docs/latest/sql-data-sources-protobuf.html#:~:text=A%20recursive.,issues%20....

Even if I set the propertyrecursive.fields.max.depth to its max value 10 and my protobuf data contains 4 levels of recursive data, it errors out.

Any help here will be appreciated.

 

0 REPLIES 0

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