Skip to content

refactor: collapse QueryPatternType/QueryType into a single type#511

Merged
milindsrivastava1997 merged 6 commits into
mainfrom
500-collapse-spatialtemporalgenerictemporalquantileonetemporalonespatial-into-spatiotemporal-only-classification
Jul 7, 2026
Merged

refactor: collapse QueryPatternType/QueryType into a single type#511
milindsrivastava1997 merged 6 commits into
mainfrom
500-collapse-spatialtemporalgenerictemporalquantileonetemporalonespatial-into-spatiotemporal-only-classification

Conversation

@milindsrivastava1997

Copy link
Copy Markdown
Contributor

No description provided.

@milindsrivastava1997 milindsrivastava1997 marked this pull request as ready for review July 3, 2026 21:36
@milindsrivastava1997 milindsrivastava1997 merged commit 430fef6 into main Jul 7, 2026
10 checks passed
@milindsrivastava1997 milindsrivastava1997 deleted the 500-collapse-spatialtemporalgenerictemporalquantileonetemporalonespatial-into-spatiotemporal-only-classification branch July 7, 2026 18:26
zaoxing added a commit that referenced this pull request Jul 11, 2026
…t-correction

Resolve conflicts from main's promql.rs dedup + QueryPatternType removal
(#511/#515/#517/#518) against the rate()/increase() counter-reset correction +
extrapolation work:

- promql.rs: keep main's refactored build_query_kwargs_promql signature
  (&Statistic, match_result); thread `timestamps` through it and retain the
  Rate|Increase range-boundary arm; drop now-unused imports (QueryPatternType,
  get_is_collapsable, AggregationOperator, PromQLFunction,
  get_spatial_aggregation_output_labels, get_statistics_to_compute).
- simple_engine/mod.rs: keep RANGE_*_MS_KWARG imports (per-step range boundaries),
  drop removed QueryPatternType.
- tests: keep the single-pop Increase extrapolation test (arroyo serde now makes
  it deserializable) over main's obsolete not_implemented assertion; keep all new
  rate/increase test modules alongside main's range_query_arithmetic_tests.

Verified: workspace builds; 560 lib tests pass (0 failures); fmt clean.

Co-Authored-By: Claude Opus 4.8 (1M context) <noreply@anthropic.com>
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

Successfully merging this pull request may close these issues.

Collapse Spatial/TemporalGeneric/TemporalQuantile/OneTemporalOneSpatial into SpatioTemporal-only classification

1 participant