-
Notifications
You must be signed in to change notification settings - Fork 41
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
feat(bigquery): make preview configurable #241
Conversation
One thought I had was to let preview have its own config struct. I noticed that there is a var Functionally the PR looks good to me. |
Makes sense, but another thought is, should we just use Do you think it's better or do you see limitiations with it? |
I think that could work as well, so we put a check on the I think we can start with this. It makes it implicit but should be fine. |
@rohilsurana updated here. 🙏 |
@rohilsurana actually we need another flag for disable. We can do like what you propose using nested config here. reason is, when I put |
That sounds like a bug of how we are loading the values into config struct, do you maybe want to address it there? |
Just checked we are setting the defaults here - https://github.com/odpf/meteor/blob/dd15e2532141bd5fb7d7d0bd591edc4e66266132/utils/config.go#L17-L22 I think we should load the defaults first into the struct and then the configs from configMap. |
@rohilsurana oh there's no specific reason, was just a wrong order and behaviour. Updated the PR with the fix 🙏 . |
disable_preview
config on bigquery extractor