Skip to Main Content
Preset Feature Feedback
Status Needs review
Categories Enhancement
Created by Customer Engagement
Created on Jan 21, 2025

Support more sophisticated model selection for dbt in Preset CLI

What is the problem or goal the end user is trying to solve or accomplish?

When syncing datasets to Preset via CLI, it’s common to use a selector to filter models. Only a small subset of dbt's own selector logic is supported.

How are they solving it currently?

There can only be 1 DB connection per sync command (because sync command references a profile which references a destination DB connection).

What is the recommended solution by the Customer?

Split the sync into two and use a selector to easily include/exclude certain models based on an arbitrary property in the config.meta.

  • Attach files
  • +1