synth icon indicating copy to clipboard operation
synth copied to clipboard

Specify collections on import

Open christos-h opened this issue 3 years ago • 4 comments

Required Functionality For certain use-cases, it is important to specify a set of collections when importing (i.e. importing a specific set of tables from a database). Synth already supports importing a single collection with --collection but this doesn't cover all usecases.

Proposed Solution There are various options here, but one would be a comma separated list of table names (since comma is an illegal character for a collection name anyway). --collections collection1,collection2,....

Future work could also involve supporting regular expressions. For example --collection-pattern "subset_.*".

christos-h avatar Jul 10 '21 18:07 christos-h

Is it ok if I work on this one?

cakebaker avatar Jul 14 '21 15:07 cakebaker

For sure! Let me know if you need anything.

christos-h avatar Jul 14 '21 15:07 christos-h

Hey @christoshadjiaslanis, can you elaborate a bit here on the additional use cases you meant in the request? Is this just about being able to import more than one collection in one call or is there something else?

brokad avatar Sep 08 '21 09:09 brokad

@brokad

Is this just about being able to import more than one collection in one call or is there something else? No that's it!

christos-h avatar Sep 08 '21 11:09 christos-h