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