@@ -42,17 +42,13 @@ use mz_repr::{GlobalId, RelationDesc, RelationVersion, Row, TimestampManipulatio
4242use mz_storage_types:: StorageDiff ;
4343use mz_storage_types:: configuration:: StorageConfiguration ;
4444use mz_storage_types:: connections:: ConnectionContext ;
45- use mz_storage_types:: connections:: inline:: InlinedConnection ;
4645use mz_storage_types:: controller:: { CollectionMetadata , StorageError , TxnsCodecRow } ;
4746use mz_storage_types:: dyncfgs:: STORAGE_DOWNGRADE_SINCE_DURING_FINALIZATION ;
4847use mz_storage_types:: errors:: CollectionMissing ;
4948use mz_storage_types:: parameters:: StorageParameters ;
5049use mz_storage_types:: read_holds:: ReadHold ;
5150use mz_storage_types:: read_policy:: ReadPolicy ;
52- use mz_storage_types:: sources:: {
53- GenericSourceConnection , SourceData , SourceDesc , SourceEnvelope , SourceExportDataConfig ,
54- Timeline ,
55- } ;
51+ use mz_storage_types:: sources:: { GenericSourceConnection , SourceData , SourceEnvelope , Timeline } ;
5652use mz_storage_types:: time_dependence:: { TimeDependence , TimeDependenceError } ;
5753use mz_txn_wal:: metrics:: Metrics as TxnMetrics ;
5854use mz_txn_wal:: txn_read:: { DataSnapshot , TxnsRead } ;
@@ -266,34 +262,6 @@ pub trait StorageCollections: Debug + Sync {
266262 migrated_storage_collections : & BTreeSet < GlobalId > ,
267263 ) -> Result < ( ) , StorageError < Self :: Timestamp > > ;
268264
269- /// Alters the identified ingestion to use the provided [`SourceDesc`].
270- ///
271- /// NOTE: Ideally, [StorageCollections] would not care about these, but we
272- /// have to learn about changes such that when new subsources are created we
273- /// can correctly determine a since based on its dependencies' sinces. This
274- /// is really only relevant because newly created subsources depend on the
275- /// remap shard, and we can't just have them start at since 0.
276- async fn alter_ingestion_source_desc (
277- & self ,
278- ingestion_id : GlobalId ,
279- source_desc : SourceDesc ,
280- ) -> Result < ( ) , StorageError < Self :: Timestamp > > ;
281-
282- /// Alters the data config for the specified source exports of the specified ingestions.
283- async fn alter_ingestion_export_data_configs (
284- & self ,
285- source_exports : BTreeMap < GlobalId , SourceExportDataConfig > ,
286- ) -> Result < ( ) , StorageError < Self :: Timestamp > > ;
287-
288- /// Alters each identified collection to use the correlated
289- /// [`GenericSourceConnection`].
290- ///
291- /// See NOTE on [StorageCollections::alter_ingestion_source_desc].
292- async fn alter_ingestion_connections (
293- & self ,
294- source_connections : BTreeMap < GlobalId , GenericSourceConnection < InlinedConnection > > ,
295- ) -> Result < ( ) , StorageError < Self :: Timestamp > > ;
296-
297265 /// Updates the [`RelationDesc`] for the specified table.
298266 async fn alter_table_desc (
299267 & self ,
@@ -2134,28 +2102,6 @@ where
21342102 Ok ( ( ) )
21352103 }
21362104
2137- async fn alter_ingestion_source_desc (
2138- & self ,
2139- ingestion_id : GlobalId ,
2140- source_desc : SourceDesc ,
2141- ) -> Result < ( ) , StorageError < Self :: Timestamp > > {
2142- Ok ( ( ) )
2143- }
2144-
2145- async fn alter_ingestion_export_data_configs (
2146- & self ,
2147- source_exports : BTreeMap < GlobalId , SourceExportDataConfig > ,
2148- ) -> Result < ( ) , StorageError < Self :: Timestamp > > {
2149- Ok ( ( ) )
2150- }
2151-
2152- async fn alter_ingestion_connections (
2153- & self ,
2154- source_connections : BTreeMap < GlobalId , GenericSourceConnection < InlinedConnection > > ,
2155- ) -> Result < ( ) , StorageError < Self :: Timestamp > > {
2156- Ok ( ( ) )
2157- }
2158-
21592105 async fn alter_table_desc (
21602106 & self ,
21612107 existing_collection : GlobalId ,
0 commit comments