Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Add --sample flag to CLI invocation for run command #11230

Closed
1 task done
Tracked by #11226
QMalcolm opened this issue Jan 23, 2025 · 0 comments · Fixed by #11247
Closed
1 task done
Tracked by #11226

Add --sample flag to CLI invocation for run command #11230

QMalcolm opened this issue Jan 23, 2025 · 0 comments · Fixed by #11247
Assignees
Labels
enhancement New feature or request sample_mode
Milestone

Comments

@QMalcolm
Copy link
Contributor

QMalcolm commented Jan 23, 2025

Housekeeping

  • I am a maintainer of dbt-core

Short description

A flag --sample should be available when specifying dbt run.

Acceptance criteria

  • Whether --sample is set is available in the ModelRunner
  • Whether --sample is set is available in the JinjaContext

Suggested Tests

  • Can get the value of --sample in the JinjaContext

Impact to Other Teams

N/A

Will backports be required?

No, it's a new feature

Context

N/A

@QMalcolm QMalcolm mentioned this issue Jan 23, 2025
26 tasks
@QMalcolm QMalcolm changed the title add --sample flag to CLI invocation for run command Add --sample flag to CLI invocation for run command Jan 23, 2025
@QMalcolm QMalcolm added sample_mode enhancement New feature or request labels Jan 23, 2025
@QMalcolm QMalcolm added this to the v1.10 milestone Jan 23, 2025
@QMalcolm QMalcolm mentioned this issue Jan 28, 2025
5 tasks
@QMalcolm QMalcolm self-assigned this Jan 28, 2025
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
enhancement New feature or request sample_mode
Projects
None yet
Development

Successfully merging a pull request may close this issue.

1 participant