Skip to content

Partition by date#56

Merged
marcelofern merged 1 commit into
mainfrom
partitioning_by_date
Apr 6, 2026
Merged

Partition by date#56
marcelofern merged 1 commit into
mainfrom
partitioning_by_date

Conversation

@marcelofern

@marcelofern marcelofern commented Mar 6, 2026

Copy link
Copy Markdown
Collaborator

Add strategy so that an existing table can be partitioned by date.

@github-actions

github-actions Bot commented Mar 6, 2026

Copy link
Copy Markdown

Coverage Report Results

Name Stmts Miss Branch BrPart Cover
src/psycopack/__init__.py 9 0 0 0 100%
src/psycopack/_commands.py 191 4 32 4 96%
src/psycopack/_conn.py 5 0 0 0 100%
src/psycopack/_const.py 3 0 0 0 100%
src/psycopack/_cur.py 24 0 2 0 100%
src/psycopack/_identifiers.py 12 0 2 0 100%
src/psycopack/_introspect.py 206 6 20 0 97%
src/psycopack/_logging.py 2 0 0 0 100%
src/psycopack/_partition.py 13 0 0 0 100%
src/psycopack/_psycopg.py 5 0 0 0 100%
src/psycopack/_registry.py 88 0 12 0 100%
src/psycopack/_repack.py 476 10 176 8 97%
src/psycopack/_sync_strategy.py 4 0 0 0 100%
src/psycopack/_tracker.py 182 2 46 2 98%
tests/conftest.py 19 0 0 0 100%
tests/factories.py 41 0 10 0 100%
tests/test_cur.py 20 0 2 0 100%
tests/test_fixtures.py 5 0 0 0 100%
tests/test_package.py 3 0 0 0 100%
tests/test_repack.py 1018 0 20 0 100%
TOTAL 2326 22 322 14 99%

1 empty file skipped.

@marcelofern marcelofern force-pushed the partitioning_by_date branch from 892c9d2 to 703cf4a Compare March 9, 2026 04:55
@marcelofern marcelofern force-pushed the partitioning_by_date branch from 703cf4a to 3f610a4 Compare April 2, 2026 07:19
@marcelofern marcelofern force-pushed the partitioning_by_date branch from 3f610a4 to 9a51968 Compare April 2, 2026 08:35
@marcelofern marcelofern marked this pull request as ready for review April 2, 2026 08:35
@marcelofern marcelofern requested a review from a team as a code owner April 2, 2026 08:35
@marcelofern marcelofern merged commit 9e8d744 into main Apr 6, 2026
9 checks passed
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.

1 participant