Skip to content

TTL for Fact Tables with TTL less than 20min Fails #211

@agavra

Description

@agavra

We have the following code:

final var compactionWindow = Duration.ofSeconds(delegate.ttlSeconds() / 20);
final var strategy =
SchemaBuilder.timeWindowCompactionStrategy()
.withCompactionWindow(
compactionWindow.toMinutes(),
TimeWindowCompactionStrategy.CompactionWindowUnit.MINUTES);

If TTL is less than 20min, we'll try to set the compaction window to 0 which is invalid.

Metadata

Metadata

Assignees

No one assigned

    Labels

    bugSomething isn't working

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions