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

[BUG] Command line variable ignored when supplied to command in server #2092

Closed
alexbethea22 opened this issue Feb 4, 2020 · 1 comment · Fixed by #2104
Closed

[BUG] Command line variable ignored when supplied to command in server #2092

alexbethea22 opened this issue Feb 4, 2020 · 1 comment · Fixed by #2104
Labels
bug Something isn't working partial_parsing

Comments

@alexbethea22
Copy link

alexbethea22 commented Feb 4, 2020

Describe the bug

When I run this command against the cli method in the server:

dbt run --vars '{period_start_date: '2019-04-01', period: 'day'}' -m buildings

the command line variables are ignored. Instead I would expect the command line variables to be present in the context.

Note: partial parsing is enabled in this environment

Steps To Reproduce

tbd

The output of dbt --version:

O.15.2
@alexbethea22 alexbethea22 added bug Something isn't working triage labels Feb 4, 2020
@drewbanin drewbanin removed the triage label Feb 4, 2020
@iahelr
Copy link

iahelr commented Feb 4, 2020

Hi, this also happens when we run a job and pass to it variables options as part of the dbt run command.

@drewbanin drewbanin added this to the Barbara Gittings milestone Feb 4, 2020
beckjake added a commit that referenced this issue Feb 11, 2020
…uments

Attach cli vars to configs when they come in via the RPC server (#2092)
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
bug Something isn't working partial_parsing
Projects
None yet
Development

Successfully merging a pull request may close this issue.

4 participants