TableSchemaEvolutionClient
Database-specific schema evolution operations.
This interface encapsulates schema evolution and synchronization operations. Implementations handle the details of schema migration, including type compatibility, column mapping, constraint management, and database-specific quirks when aligning source stream schemas with destination table structures.
These operations typically involve:
Schema introspection and comparison
Type system translation between source and destination
Safe schema evolution strategies (adding/modifying columns)
Handling of database-specific constraints and limitations
Preservation of data integrity during schema changes
See also
for standard SQL-based table operations
Functions
Execute the changeset against the destination. After this method completes, a call to discoverSchema should return an identical schema as computeSchema.
Generate a changeset which, when applied to this, will result in expectedColumns.
Compute the schema that we expect the table to have, given the stream. This should not query the destination in any way.
Query the destination and discover the schema of an existing table. If this method includes the _airbyte_* columns, then computeSchema MUST also include those columns.
Ensures the destination table schema matches the expected stream schema through introspection and reconciliation.