Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Sort continuous aggregates when dumping to the schema #71

Closed

Commits on Sep 5, 2024

  1. Sort continuous aggregates when dumping to the schema

    Makes the schema dumper output consistent by sorting the continuous aggregates by the view name, otherwise the schema can get a random diff depending on the rows order returned by the DB.
    
    ```
    > Timescaledb::ContinuousAggregates.order(:view_name).pluck(:view_name)
      Timescaledb::ContinuousAggregate Pluck (5.9ms)  SELECT "timescaledb_information"."continuous_aggregates"."view_name" FROM "timescaledb_information"."continuous_aggregates" ORDER BY "timescaledb_information"."continuous_aggregates"."view_name" ASC
    ```
    carlosantoniodasilva committed Sep 5, 2024
    Configuration menu
    Copy the full SHA
    f6ac8b8 View commit details
    Browse the repository at this point in the history