Skip to content

Commit 130ea87

Browse files
authored
fix: Filter tables in Tables function (#12212)
#### Summary I missed this in #11711. Without this fix we will always migrate all tables. The sync still works on the filtered tables, so this only impacts migration <!--
1 parent e610ac4 commit 130ea87

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

plugins/source/oracledb/client/client.go

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -63,7 +63,7 @@ func Configure(ctx context.Context, logger zerolog.Logger, spec []byte, opts plu
6363
}
6464

6565
func (c Client) Tables(ctx context.Context, opts plugin.TableOptions) (schema.Tables, error) {
66-
return c.tables, nil
66+
return c.tables.FilterDfs(opts.Tables, opts.SkipTables, opts.SkipDependentTables)
6767
}
6868

6969
func (c Client) Close(_ context.Context) error {

0 commit comments

Comments
 (0)