Skip to content

Conversation

@towner-10
Copy link

Introduces configuration to support the timescaledb.compress_segmentby and timescaledb.compress_orderby compression attributes. It is also able to pull the configuration from the database itself.

Solves #32

Usage / Example

builder.IsHypertable(x => x.Date)
            .WithChunkSkipping(x => x.Date)
            .WithChunkTimeInterval("1 day")
            .WithCompressionSegmentBy(x => x.TypeId)
            .WithCompressionOrderBy(x =>
            [
                x.ByDescending(m => m.Date)
            ]);

@sebastian-ederer
Copy link
Contributor

Thank you so much for the commit. ❤️
Currently, I am heavily involved in other projects, but I'll review the PR in the next few days! 👍

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