Skip to content

Conversation

@dylanjmcconnell
Copy link
Member

  • Bumped version no / pyproject.toml
  • Updated README with
    (- Fixed small type hint issue in get_data).

Migrates from file-based to hive-partitioned parquet storage while maintaining full backward compatibility. The new API supports multi-value filtering for significant performance improvements when querying multiple
projects/zones/subregions.

Key Changes:

- Restructured data organization: ../project/, ../zone/, ../demand/ (replaces solar/wind/demand)
- Added six new API functions: get_{project,zone,demand}_{single,multiple}_reference_year(s)
- Support for list-based filtering (e.g., project=["A", "B", "C"]) to avoid n+1 query problem
- Optional custom column selection via select_columns parameter
- Maintained all 10 original API functions as backward-compatible pass-throughs
- Renamed parameters for consistency: area → zone, reference_years → reference_year_mapping
- Added comprehensive docstrings with usage examples
- Implemented end-to-end test suite with parametrized concurrent/sequential fixtures
- Updated README with new query patterns and performance guidance
- Potentially fixed cross-platform column ordering issues in parquet files

Related: Depends on PR #20 (some potential issues issue #23)
@codecov
Copy link

codecov bot commented Nov 30, 2025

Codecov Report

✅ All modified and coverable lines are covered by tests.

Files with missing lines Coverage Δ
src/isp_trace_parser/get_data.py 91.56% <ø> (ø)
🚀 New features to boost your workflow:
  • ❄️ Test Analytics: Detect flaky tests, report on failures, and find test suite problems.

@dylanjmcconnell dylanjmcconnell merged commit 64e4ea0 into main Nov 30, 2025
15 checks passed
@dylanjmcconnell dylanjmcconnell deleted the release-2.0 branch November 30, 2025 21:01
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.

2 participants