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: 

Urgent: Iceberg REST catalog - load a table has new JSON format

ronaldgeneblazo
New Contributor II

Hello, we are using Databricks Unity catalog to load an Iceberg table, i.e., Delta Lake table with Uniform feature). We are using this guide: https://docs.databricks.com/en/external-access/iceberg.html. This has been working for us since last year but noticed today that the API for loading a table has a new JSON response format which is no longer compatible with existing Apache Iceberg code. As a result, all our read capabilities are broken. The new JSON format looks like this. Notice the new field "payload". 

{
"payload": "{\"metadata-location\":\"........."}"
}

The old JSON format, which is consistent with Apache Iceberg spec for REST catalog looks like this:

{
"metadata-location": "<location>",
"metadata": {<rest of metadata here>}
}

Could you please let me know if the API is versioned or if this change is documented? I've looked around and can't find any. Thanks

 

 

2 REPLIES 2

Satyadeepak
Databricks Employee
Databricks Employee

Yes @ronaldgeneblazo - We are aware of this issue. Our Engineering team is looking on to this on priority to get this addressed. Sorry for the inconvenience.

ronaldgeneblazo
New Contributor II

Satyadeepak - it looks like this has been fixed on your end and we are no longer seeing this issue. Thanks for checking.

Join Us as a Local Community Builder!

Passionate about hosting events and connecting people? Help us grow a vibrant local community—sign up today to get started!

Sign Up Now