@@ -182,12 +182,7 @@ impl Source for FakeSource {
182
182
& self ,
183
183
snapshot : Option < i64 > ,
184
184
cursor : Option < ListSnapshotCursor > ,
185
- table_name : Option < String > ,
186
185
) -> anyhow:: Result < ListSnapshotResponse > {
187
- if table_name. is_some ( ) {
188
- panic ! ( "Query by table is not supported by the fake" ) ;
189
- }
190
-
191
186
if snapshot. is_some ( ) && snapshot != Some ( self . changelog . len ( ) as i64 ) {
192
187
panic ! ( "Unexpected snapshot value" ) ;
193
188
}
@@ -222,12 +217,7 @@ impl Source for FakeSource {
222
217
async fn document_deltas (
223
218
& self ,
224
219
cursor : DocumentDeltasCursor ,
225
- table_name : Option < String > ,
226
220
) -> anyhow:: Result < DocumentDeltasResponse > {
227
- if table_name. is_some ( ) {
228
- panic ! ( "Per-table log not supported in fake" ) ;
229
- }
230
-
231
221
let results_per_page = 5 ;
232
222
let values: Vec < DocumentDeltasValue > = self
233
223
. changelog
@@ -550,21 +540,17 @@ impl Source for UnreliableSource {
550
540
& self ,
551
541
snapshot : Option < i64 > ,
552
542
cursor : Option < ListSnapshotCursor > ,
553
- table_name : Option < String > ,
554
543
) -> anyhow:: Result < ListSnapshotResponse > {
555
544
self . maybe_fail ( ) ?;
556
- self . source
557
- . list_snapshot ( snapshot, cursor, table_name)
558
- . await
545
+ self . source . list_snapshot ( snapshot, cursor) . await
559
546
}
560
547
561
548
async fn document_deltas (
562
549
& self ,
563
550
cursor : DocumentDeltasCursor ,
564
- table_name : Option < String > ,
565
551
) -> anyhow:: Result < DocumentDeltasResponse > {
566
552
self . maybe_fail ( ) ?;
567
- self . source . document_deltas ( cursor, table_name ) . await
553
+ self . source . document_deltas ( cursor) . await
568
554
}
569
555
570
556
async fn get_tables_and_columns ( & self ) -> anyhow:: Result < BTreeMap < TableName , Vec < FieldName > > > {
0 commit comments