Wildcards are a way to match multiple streams, whether tables or files. They are useful to apply defaults to multiple streams, so you don't have to specify each stream configuration individually.
source:my_source_dbtarget:my_target_dbdefaults:# will dynamically create the object name based on the schema and table nameobject:my_schema.{stream_schema}_{stream_table}streams:# match all tables in my_schemamy_schema.*:# match all tables in another_schema that start with a prefixanother_schema.prefix_*:# match all tables in another_schema that end with a suffixanother_schema.*_suffix:
Filtering files in a folder:
source:my_source_filetarget:my_target_dbdefaults:# will dynamically create the object name based on the folder and file nameobject:my_schema.{stream_folder}_{stream_file_name}streams:# match all files in folderfolder/*:# match all files in another_folder that start with a prefixanother_folder/prefix_*:# match all files in another_folder that end with a suffixanother_folder/*.csv:# match all files in another_folder that start with prefix and end with suffixanother_folder/prefix_*.parquet:
Using the Sling Platform, you can create a job for specific tags. Below is an example of creating a job only running the streams with the tag marketing.
Calling with CLI
# Run all streams with tag:my_tagslingrun-rmy_replication.yaml--streamstag:my_tag# Run all streams with tag:my_tag or tag:another_tagslingrun-rmy_replication.yaml--streamstag:my_tag,tag:another_tag