TobikoData / sqlmesh

Efficient data transformation and modeling framework that is backwards compatible with dbt.
https://sqlmesh.com
Apache License 2.0
1.83k stars 161 forks source link

--paths flag doesn't support wildcards #3372

Closed Harmuth94 closed 3 days ago

Harmuth94 commented 1 week ago

Currently, the sqlmesh plan command requires explicit specification of each project path using the -p flag. This limitation poses challenges for us managing multiple SQLMesh projects (one for each source system) with interdependencies, including downstream aggregation of sources, shared utility projects containing macros and tests.

Solution

Introduce support for wildcard patterns in the -p flag of the sqlmesh plan command. This enhancement would allow users to specify multiple projects efficiently. For example, using -p all_projects/* would include all projects within the all_projects directory.

georgesittas commented 3 days ago

Fixed by linked PR.