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

cdm_measurement_aux schema is hardcoded in sql files #4

Open
egillax opened this issue Sep 25, 2023 · 1 comment
Open

cdm_measurement_aux schema is hardcoded in sql files #4

egillax opened this issue Sep 25, 2023 · 1 comment

Comments

@egillax
Copy link

egillax commented Sep 25, 2023

I think in many cases users only have one writable schema tied to their users. To get this to work in my case I removed cdm_measurement_aux schema and replaced with {scratch_schema}. I then added the scratch_schema to the config file:

scratch_schema = `my_user_name`

Then when formatting the sql file I add this variable. I think this is more in line with situations where users can't create their own schemas but have a fixed one they can write to.

@cxji
Copy link
Contributor

cxji commented Sep 25, 2023

The commit above places all measurement-related tables that are created within the schema specified by measurement_aux_schema in config.py. I think it should work the same way as the scratch_schema you specified.

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

No branches or pull requests

2 participants