-
Notifications
You must be signed in to change notification settings - Fork 244
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
[query] rework flags and fix QoB flags #12423
Conversation
I also couldn't remove the flags from Scala because of the Scala tests. |
@tpoterba this is ready for a look |
Hmm. Those two tests still fail. They don't fail on my laptop when I run them in isolation. |
bump @tpoterba this is passing tests now. |
Can we medium prioritize this? I don't think my VEP PR will pass until flags are fixed, but I'm not 100% sure. |
daae1d3
to
e43e620
Compare
@tpoterba OK, this is ready for final review. Flags are now duplicated in Python so that service backend can perform all actions without starting a JVM. I have a test that verifies the flag sets, their envvars, and the default values, are all the same. I preserved the randomness behavior. We can address that in a separate PR. The flags now use the Hail
FWIW, hail configuration files look like this:
|
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
🎉
bd3c56d
to
8b306cd
Compare
This includes the changes from #12691, so I put a WIP on. I'm still not certain why this PR uncovered those issues. It's possible that I was just incredibly unlucky? |
d675b26
to
02cff0f
Compare
Flags now use the same user configuration machinery we use for Batch and QoB. I am not certain this is the right choice. Feedback very welcome. The configuration_of function lets us uniformly treat any configuration by checking, in order: explicit argument, envvar, config file, or a fallback. I added a bit of code to allow us to support the envvars which do not conform to the new envvar scheme. I also removed a few flags that are no longer used. I kind of think these flags should actually be under a new section like "query_compiler" or something. @tpoterba, thoughts?
0604a03
to
6fc6900
Compare
What a helluva lifecycle for a PR. Rebased, labels removed, ready to merge. I expect it to pass. |
Flags now use the same user configuration machinery we use for Batch and QoB. I am not certain this is the right choice. Feedback very welcome. The configuration_of function lets us uniformly treat any configuration by checking, in order: explicit argument, envvar, config file, or a fallback.
I added a bit of code to allow us to support the envvars which do not conform to the new envvar scheme.
I also removed a few flags that are no longer used.
I kind of think these flags should actually be under a new section like "query_compiler" or something.
@tpoterba, thoughts?