-
Notifications
You must be signed in to change notification settings - Fork 12
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
DM-42733: minor improvement spin-offs from query system rewrite #954
Commits on Feb 8, 2024
-
Fix "/" -> "*" typo in query expression evaluation.
Apparently nobody has ever tried to multiply anything inside a butler query expression, because it wouldn't have worked. Note that we don't actually need an entry for "/" in this mapping because that requires special-casing to deal with floating-point vs. integer division anyway.
Configuration menu - View commit details
-
Copy full SHA for 4b9aa31 - Browse repository at this point
Copy the full SHA 4b9aa31View commit details -
Add wrapper class that defers pydantic validation.
The wrapper class itself is gnarly and full of advanced Pydantic usage and metaprogramming, but it's general and it keeps the messiness outside of both the serialized types and the validated types without duplication or two-stage validation.
Configuration menu - View commit details
-
Copy full SHA for c619da4 - Browse repository at this point
Copy the full SHA c619da4View commit details -
Configuration menu - View commit details
-
Copy full SHA for ac84152 - Browse repository at this point
Copy the full SHA ac84152View commit details -
Configuration menu - View commit details
-
Copy full SHA for 95f2436 - Browse repository at this point
Copy the full SHA 95f2436View commit details -
Configuration menu - View commit details
-
Copy full SHA for bd95eab - Browse repository at this point
Copy the full SHA bd95eabView commit details -
Configuration menu - View commit details
-
Copy full SHA for 3c319db - Browse repository at this point
Copy the full SHA 3c319dbView commit details -
Configuration menu - View commit details
-
Copy full SHA for 18fdce4 - Browse repository at this point
Copy the full SHA 18fdce4View commit details -
Configuration menu - View commit details
-
Copy full SHA for ac01be3 - Browse repository at this point
Copy the full SHA ac01be3View commit details -
Allow limit=None (sort of) but not offset=None.
We mixed up which of these should be allowed to be None in the old interface, but we don't need to repeat the mistake in the new one, though some of the fix will have to wait until new interfaces stop delegating to the old ones.
Configuration menu - View commit details
-
Copy full SHA for 4b73e3c - Browse repository at this point
Copy the full SHA 4b73e3cView commit details -
Configuration menu - View commit details
-
Copy full SHA for 2ccf797 - Browse repository at this point
Copy the full SHA 2ccf797View commit details -
Configuration menu - View commit details
-
Copy full SHA for a308fbc - Browse repository at this point
Copy the full SHA a308fbcView commit details -
Add SQLAlchemy aggregate function for region unions.
We just concatenate the encoded strings with a ":" (could be anything that isn't in the base64 alphabet) then split them in Python before decoding. This will let use GROUP BY on dimension key columns for deduplication while preserving region columns needed for Python-side region-overlap postprocessing. Rename union_agg to union_aggregate.
Configuration menu - View commit details
-
Copy full SHA for 6b5f2fd - Browse repository at this point
Copy the full SHA 6b5f2fdView commit details -
Add feature flags and abstraction for DISTINCT ON and ANY_VALUE.
SQLite does not require SELECT columns to be in aggregates if they are not in the GROUP BY clause. What PostgreSQL can do depends on the version.
Configuration menu - View commit details
-
Copy full SHA for 9fc0fa1 - Browse repository at this point
Copy the full SHA 9fc0fa1View commit details -
Configuration menu - View commit details
-
Copy full SHA for cd1727d - Browse repository at this point
Copy the full SHA cd1727dView commit details -
Configuration menu - View commit details
-
Copy full SHA for a31864d - Browse repository at this point
Copy the full SHA a31864dView commit details -
Configuration menu - View commit details
-
Copy full SHA for 38c3e67 - Browse repository at this point
Copy the full SHA 38c3e67View commit details -
Configuration menu - View commit details
-
Copy full SHA for fb90c4a - Browse repository at this point
Copy the full SHA fb90c4aView commit details