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

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

 

 

1 REPLY 1

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.

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