Master Schema Translations in the Era of Open Data Lake
Summary
- Schema Translation Complexity: Unity Catalog centralizes metadata from diverse systems (Delta, Iceberg, Snowflake, Kafka, MongoDB), but schema differences create challenges for translation and evolution.
- Field-Level Metadata Model: Coinbase's 'Schemaster' proposes standardized metadata models with translation patterns to manage schema evolution across data systems at scale.
- Data Profiling Enhancement: Augmenting data profiling with schema understanding enables better translations and evolution during ingestion and reverse-ETL workflows in this video.
Master Schema Translations in the Era of Open Data Lake

Talk by Eric Sun, Head of Data Platform, Coinbase
Unity Catalog puts variety of schemas into a centralized repository, now the developer community wants more productivity and automation for schema inference, translation, evolution and optimization especially for the scenarios of ingestion and reverse-ETL with more code generations. Coinbase Data Platform attempts to pave a path with "Schemaster" to interact with data catalog with the (proposed) metadata model to make schema translation and evolution more manageable across some of the popular systems, such as Delta, Iceberg, Snowflake, Kafka, MongoDB, DynamoDB, Postgres... This Lighting Talk covers 4 areas: The complexity and caveats of schema differences among The proposed field-level metadata model, and 2 translation patterns: point-to-point vs hub-and-spoke Why Data Profiling be augmented to enhance schema understanding and translation Integrate it with Ingestion & Reverse-ETL in a Databricks-oriented eco system Takeaway: standardize schema lineage & translation
Here’s more to explore:
Unified and open governance for data and AI: https://www.databricks.com/product/unity-catalog
See all the product announcements from Data + AI Summit: https://www.databricks.com/events/dataaisummit-2025-announcements
FAQs
Why is schema translation important in open data lakes?
Modern data platforms use diverse schemas and formats (Delta, Iceberg, Snowflake, Kafka, MongoDB, DynamoDB, Postgres). Schema translation enables seamless data movement while maintaining type safety and data quality across systems.
What are the main schema translation challenges?
Schema challenges include type incompatibility across systems, handling flexible schemas from NoSQL databases, managing union types from RPC/API systems, capturing performance metadata, and enabling ingestion and reverse-ETL workflows.
What does Coinbase's 'Schemaster' project address?
Schemaster proposes a standardized field-level metadata model with translation patterns—both point-to-point and hub-and-spoke approaches. This enables consistent schema management across diverse systems integrated through Databricks Data and AI platform.
How does data profiling enhance schema translation?
Augmenting data profiling to understand schema structure and evolution enables smarter translations during ingestion and reverse-ETL. This ensures data reaches target systems with proper structure and quality preserved.
Full transcript
You guys enjoying the convention so far? So today's topic is a little bit different. So we are going to talk about the schema translation, right? We heard a lot about the Unity catalog. Tomorrow you're going to hear a lot about iceberg and this. But why we're talking about this one, right? Um I think there's a history about here last year the biggest news in this conference is data bricks bought tabular iceberg becomes the de facto of the open data format right but then when you use this one and you will find out like u we have a lot of catalog in the market unity catalog is one of them and my friends here is the owner of uh data strat from a gravitino.
That's another open- source uh catalog as well. And now it actually put all this metadata and inventory of objects in a single place. Now what do you do? You transform them. You move data around and you move the data to where the compute is. Right? Here's the problem. The data format and data type, they don't match with each other. Let's talk about that problem. Right? Before I just uh prepare this presentation, I just struggled because there's so many we can talk about.
You know, if you give me two hours, I can I can talk a lot about it. But we only have 20 minutes. So bear with me and see if there's something resonated with you. Number one, we're going to face a lot of data type incompatibility issue. I'll give you some example and see whether you share the same thing. The second one is you deal with MongoDB, Cassandro and all this NoSQL, right? Where's their schema? They don't have a schema.
They're so flexible. But what once you want to load them into your data lake, you want to get the performance. You want to scan billions of rows and terabytes of data. You want that structure data, right? How do you bridge that gap, right? The third one is anybody use Protobuff here? Anybody is a average fan? Okay, you know what I'm talking about. One of union data type such a pain, right? You love it in your RPC and API.
When you go to data lake, they don't support it. Okay, how to handle that? Right, last but not least, you want a performance, you need index. You want to do sharding, you want to do partitioning, right? And you need to sort your data. It gives you 10 times acceleration. Where does that information get captured? Is that in catalog or it get lost? Right? With that we need to talk about the first problem. Right? When we talk about the IDOl which stands for interface definition language right the most popular one are RPC and AVO and the thrift.
These three are the most popular one right back a decade ago when we go to Hadoop maybe Averro is the number one popular data format which is actually from the ideal definition right but now do you guys remember does Aver support time stamp you use that a lot right but unfortunately none of this IDL even support time stamp that's one of the gap think about the other data type, right? JSON is very popular. Does any of them support the JSON?
It's just a string, right? Okay. These are some examples. We're talking about the gap of a data type system, right? And the other one uh I came from Coinbase, right? Uh so we're dealing with uh crypto. So one of the tricky part for crypto is you can have extremely large number or very precise decimal thing which is up to like a 20 22 decimal points but then your integer part can be hundreds of the billions or even uh 26 27 integer part.
So if you want to capture this data in your data lake or iceberg the precision you need is typically like 40 45 digits and there's no no support for that right that's another problem and uh anybody has used onsigned integer unsigned data for your tracking purpose unfortunately iceberg doesn't support it either so how do we handle that we need to do the conversion and We need to resolve this one, right? And u the most interesting thing is about the overloaded column means one column has multiple different uh types in it depends on the other dimension or the category the same column can have different data type right this is very difficult to handle but this is very popular in your API design.
So now we need to handle how do we deal with this situation in the big data world even with the help from unity catalog right so so I'll give you a few more example uh these are some not so popular but still quite used for data type right uh let's start with maybe float 16 float 16 actually means it's uh reduce the precision for float and if you heard about something called FP8, FP16, FP4, these are very popular data type for AI.
When you do inference, they try to use very low precision floating number to reduce the GPU memory consumption. But again, float 16 means it's a two byte float uh numeric. Unfortunately, this is very popular in AI but it's not supported by the big data world right so this is one example the other one is uh think about enum right that is a very popular in multiple language like a java and avo unfortunately iceberg doesn't support it parket doesn't support it bigquery doesn't support it almost nobody support it right so when We look at this problem.
We are looking for a more comprehensive typing system and this one give you a little bit idea to say who did a better job. So Apache Arrow actually have a better typing system compar with most of these popular ones right and that's why uh we actually trying to leverage uh Apache arrow as the foundation baseline to build a even richer typing system on top of that instead of using maybe iceberg or even spark SQL because their types are quite limited.
So the next one is what we going to talk about the additional thing which is not a data type but the data layout data organization this is kind of a metadata that you also care right but then today's catalog they typically only capture a portion of them and when you move your data from one system to another this information is lost. For example, your OLTP system have primary key, right? You have index. When you move that into data lake, all this is gone.
How do you do your uniqueness validation? You just handcode some SQL to do the validation. But what if your catalog system or data typing system can capture that information and even flow that into your data lake, right? Even though the iceberg doesn't support it, you can do your data validation using that metadata. That's some questions we want to pop up and let you think about it. Maybe we should ask Unity catalog to support it in the future.
How about that? Right? This is an example. The other one is like u partition right if you have ever worked with Oracle terod data and even postquest you will see a lot of different partition strategism to improve your query performance but when you go to you know iceberg has it own partition delta has its own partition and then you go to uh you know uh other system like presto has its own way so everybody do a little bit but that information were not fully compatible with each other.
So that's another challenge we should be aware of and we're going to talk about how to deal with that. Right? So our goal is to say if one system have a richer or additional metadata, we should try our best to flow that data to the next system so that we can make use of it even though the other system do not provide the native support for certain feature. Right? So this is not the exhausted list. This is just try to give everybody an idea what a problem space we're dealing with.
Right? You need to go back to say do I need such feature for my use case and I want to automate something. I want to take advantage of this additional metadata. So this is just give you some idea about that. All right. So now let's talk about one of the thought process how to address this. One is on the left we called pointtooint. It's like a you build a translation system say Oracle to iceberg right then you build another one called a myql to delta and then you build another one called delta to hoodie right and you can see uh we call that spaghetti hopefully that resonated with you better right it's a spaghetti approach to do this but of course we don't like it because it's really hard to maintain and you don't have enough leverage because every time you do this thing it's a pointto-point right so now on the right side we have an alternative this alternative is actually called hub and spoke so in the center we try to build something called superset means you have the most comprehensive typing system so that you do a more precise annotation about the data type and additional metadata information And then when you try to do this translation from one to the other, you go through the center first so that everybody is trying to having a contract with the center typing system instead of doing direct connection to the source or the target.
And we all see that with the uh big data and all the AI the data as ecosystem are expanding rapidly right. So we can anticipate that this picture on the right will easily double has more components next year by this time and then if we look at the left side and I can't imagine how that picture will look like 12 months from now that's why we are here to advocate for an open standard and opensource approach on the right side to handle the translation among different system.
Okay. And now of course any standard need to have a specification. I'm giving you a little bit like a very technical thing, right? This is a probably not my favorite slides but definitely something I can go very deep and spend a lot of time on it. So for the sake of time we will talk about maybe two important thing right. Um the most the tricky part is about three different data types we're going to talk about right uh the native data type is the easiest one every data catalog has it the logic data type is the one currently is missing if you have dealt with a and paret you will see something called logical data type but when you go to unity catalog and many other things and that one is gone they only have the native data type.
So what is an logical data type? So please take a look at the uh sample on the right, right? You have something uh which is u you know it's a string but the logic of the data type will tell you it's enum because you know it's a limited category or dictionary. So string is a much I would say coarser data type than enum. Enum is more specific, right? But again, I mentioned earlier there's only one system in in our example support enum out of a box.
So that means everything else they don't support this one. So that enum doesn't go to your catalog. But when you try to do the translation, for example, you want to do a validation of the enum because it should only have a 12 distinct value. But if it's just random free form string then you don't need to have this constraint right. So how do you capture that this one need to conform with the 12 distinct value for that column you need to carry this logical data type forward right and of course if you can also capture those 12 values in your schema translation and propagated from one system to another then you can do a lot with that.
This is just one example to explain what is a logic type. Of course, there are more example about how logic data type can be different from your native data type. The main reason is your native data type has limited support for certain things based on your decision. Uh how many people were using iceberg v2 before this week in your system? Right. I'll just give you a funny uh example, right? Iceberg v2 only support a uh time stamp with a microscond.
You cannot have you know time stamp with second. You cannot have uh a time stamp with a millisecond and you cannot have time stamp with ncond right then you just see something called time stamp but then you don't have that precision with it that makes your data conversion very very difficult if you ever try to move that like a time stamp between delta and iceberg or snowflake with iceberg you will have a lot of trouble because you never anticipated you will have a trouble there so That is another example why capturing this logic data type can give you a lot of a benefit if you want to automate this system when we try to try move data around the s uh you know from one system to another one right so that's one um takeaway I I really want to you know highlight to say logic data type is important but we don't want to stop there I want to talk a little bit about the semantic data type because this is called AI summit, right?
So everything has something to do with AI. So what is AI is about? AI is about using agent to understand your data, generate a query and harvest the insight of your data and a lot of you guys heard about the semantic view, semantic layer, right? So we need to talk about what is a semantic type before we go there. For example, you have a column, it's called ID. What is that ID? Is that user ID, account ID, order ID? It's just a usual ID.
Even you look at the column content, you still couldn't figure out what it is. That's why such semantic, you know, annotation or semantic type can give you a lot of information. So if you want to use AI to query this data, then you need to know whether this ID is a user ID or account ID. And how do we capture that data? Maybe you know that in your OLTP system because that is your customer data, right? But then when you ETL that data into your data lake that kind of information, this is a account data or customer data or this is a a wallet or something that information can be lost unless you you name your column called user ID.
But in many time in many situation we just name them as ID, right? You guys see that a lot. How do I know this ID is what? Right? We need that annotation. That's why this semantic type even though it's optional in here I want to spend like two minutes talk about it because you want to build a better AI ecosystem start leveraging annotating maintaining semantic type once you have a chance. Of course we want to build a system so that this annotation doesn't stay just in one layer.
We want them to flow all the way to your downstream because your your AI BI will happen at a later time, right? Not happen at your ingestion time. How about that, right? Um, last but not least is here is you can see this one is highly normalized data model like any nested structure need to be really flattened, right? You can see the hierarchies precisely, right? This is a very different from the NoSQL world. NoSQL world is just giving you a blob, right?
Uh when you use a hive, hive was also a meta meta data, right? Meta store. The hive way to capture this one is probably only uh six columns, right? Every nested thing is just a big blob throwing to you. Then if you want your AI agent to make more code generation out of this kind of table with nest structure, you need to tell the AI agent precisely how the hierarchy looks like. So they can actually extract the nested column no matter it's a dictionary, it's an array or it's just a simple tpple or it's a it's a JSON.
Right? So that's that part of a schema is also kind of missing from today's catalog system. That's why we want to talk to you and let's come back and say hey data bricks can we fix this thing and let's support this typing system better. All right. Okay. So let's talk about how do we put this thing together and make use of it. Okay. um in addition to ask some of your co-workers to carefully documenting this and I would think let's use the AI agent to figure out how to do this in the first place right you need to do a reverse engineering to understand the data content so that you can figure out all these thing you have to sample the data and you also need to accumulate your findings And the data bricks provides some very good functions to do schema discovery.
Okay, but it can be expensive to run. That's why we need to do this in the more incremental way. Otherwise, your schema discovery can be very expensive for you to op uh to operate. Okay. Um so what we do here is we created something called schema master. So uh the internal product is actually called a sche master right that is trying to master your schema in the way that to solve the problem we just mentioned earlier and uh a couple things we we've already talked about all the problem statement we will build this into a system and provide you with the uh a standard API so that your no matter you are using spark or python or your micros service you can tap into this schema translation system and you can accumulate your translation convention for your own company.
This is not something we can standardize across the universe. That's why you need to kind of accumulate this kind of knowledge there. All right. And also this can be used not only for ingestion. Let's say move your data from online to your data lakeink. But once you want to publish this data back to your AI system, typically you have your feature store, right? your feature store is running in radius in Dynamo DB or something like that.
They also have a different typing system than your data lake. You also need this translation back to do that because otherwise you cannot match them easily. And one of the benefit is this can enable you to do a lot of data quality and uh you know uh matching in the same way. All right. So we're running we're just right on time. So I'm hoping that you can have a little bit takeaway from this one. You know this is not yet a product either from a snowflake data bricks or anybody yet.
But this can well uh be well uh added on top of this catalog system if we focus on automating the translation. Right? So the number one thing is we need a comprehensive typing system. Okay, this is beyond the vendor boundary, right? If a data bricks say, okay, uh, Spark SQL is my standard, we need to say, okay, there's something bigger than that, right? The other one is, um, nested data needed to be taken care of. Don't just, you know, kick the can down the road and think, okay, we'll figure out it later.
Figure it out as early as possible. Right? The third one is if you spend the effort to annotate the logical type and the semantic type, make sure you have a pipeline to propagate that all the way down. Otherwise, you cannot rip all the benefit. All right. And uh now last but not least is okay semantic type semantic type that is for your JAI practice. you're going to benefit from that later. Okay. And of course, we are looking for more and more companies and the people who feel the same pain and also passionate about solving this problem.
This is the stage not for us to really uh to sell any product or show off any solution. We are here to looking for people who wants to solve this problem together. And I thank you for your privilege of your time and I I'm open for some questions. All right. Thank you.
Learn more about the Databricks Data and AI platform.
The information provided herein is for general informational purposes only and may not reflect the most current product capabilities or configurations.