You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
refactor: Decorate api methods that require total ordering (#802)
* refactor: label all apis that use total ordering
* reorganize flags
* fix config reference and add another test
* fix broken attribute reference
* add _session property to groupby objects
* restore session_tokyo fixture
* add docstring for OrderRequiredError
* add _session property to index object
* handled methods where only some parameterizations need total order
* fix inverted validation
* import validations module and not functions
* mark some analytic ops as order independent
* rename validate.py to validations.py
* docstring for WindowSpec.row_bounded
* Apply suggestions from code review
---------
Co-authored-by: Tim Sweña (Swast) <[email protected]>
Copy file name to clipboardExpand all lines: bigframes/core/__init__.py
+6-4
Original file line number
Diff line number
Diff line change
@@ -344,10 +344,12 @@ def project_window_op(
344
344
never_skip_nulls: will disable null skipping for operators that would otherwise do so
345
345
skip_reproject_unsafe: skips the reprojection step, can be used when performing many non-dependent window operations, user responsible for not nesting window expressions, or using outputs as join, filter or aggregation keys before a reprojection
346
346
"""
347
-
ifnotself.session._strictly_ordered:
348
-
# TODO: Support unbounded windows with aggregate ops and some row-order-independent analytic ops
349
-
# TODO: Support non-deterministic windowing
350
-
raiseValueError("Windowed ops not supported in unordered mode")
0 commit comments