THIS IS A TEST INSTANCE. ALL YOUR CHANGES WILL BE LOST!!!!
...
/** Interface of a database in a catalog, and can be serialized along with Catalog. */ |
In the InMemoryCatalog schemescenario, in order to avoid the situation that the database does not exist when the table creation is executed on the JM side, we need to also serialize the internal CatalogDatabase when serializing we serialize InMemoryCatalog, so the CatalogDatabase needs to extend Serializable.
Currently only InMemoryCatalog serialization requires serializing CatalogDatabase.
Implementation Plan
The overall execution process is shown in the following figure.
...