cancel
Showing results for 
Search instead for 
Did you mean: 
Data Engineering
cancel
Showing results for 
Search instead for 
Did you mean: 

Error during deserializing protobuf data

Sambit_S
New Contributor II

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
Welcome to Databricks Community: Lets learn, network and celebrate together

Join our fast-growing data practitioner and expert community of 80K+ members, ready to discover, help and collaborate together while making meaningful connections. 

Click here to register and join today! 

Engage in exciting technical discussions, join a group with your peers and meet our Featured Members.