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

Compilation Error in rpc request (from remote system.sql) Required var 'start_date' not found in config #159

Open
QingSun88 opened this issue Mar 24, 2023 · 6 comments

Comments

@QingSun88
Copy link

When compile ‘base_ga4__events.sql’, it shows “Compilation Error in rpc request (from remote system.sql) Required var 'start_date' not found in config”. But actually I have set the var ‘start_date’ when I change required variables in dbt_project.yml (frequency: “streaming”) under the main file tree.

Screenshot 2023-03-24 at 11 43 46

But when I run this model again, it shows success without error and create this table in my BigQuery.

So should I do anything to fix this error? Or just let it here?

@adamribaudo-velir
Copy link
Collaborator

I haven't run into this error, personally. Without being able to reproduce it, I think it will be hard to provide guidance. Can you provide any steps that consistently reproduce this issue?

And can you confirm that you're editing your project's dbt_project.yml and not the package's dbt_project.yml?

@QingSun88
Copy link
Author

Yes, I confirm that I edit my project's dbt_project.yml.
steps:
add package to packages.yml →change required variables in project's dbt_project.yml file→run ‘dbt deps’ → run ‘dbt seed’ -->run models
→add optional variables in project's dbt_project.yml --> complete models (some success, some fails for rpc request error)

@adamribaudo-velir
Copy link
Collaborator

adamribaudo-velir commented Mar 31, 2023 via email

@QingSun88
Copy link
Author

This is the compiled code of 'base_ga4__events.sql'
image

This is the compiled code of 'stg_ga4__events.sql':
image

@yanchengcho
Copy link

run into this error too !

@adamribaudo-velir
Copy link
Collaborator

@yanchengcho @QingSun88 have you tried the latest releases and is this still an issue?

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Development

No branches or pull requests

3 participants