Skip to content

Datasets counts are inflated #3

Description

@afgane

The gxadmin dataset-count command used in the script includes deleted datasets:

$ gxadmin query dataset-count 2007-01-01
 num_datasets
--------------
         6742

$ gxadmin query q "SELECT count(id) FROM dataset where create_time<'2007-01-01'"
 count
-------
  6742

$ gxadmin query q "SELECT count(id) FROM dataset where create_time<'2007-01-01' and deleted=false"
 count
-------
  1090

We likely don't want those counted?

Activity

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Type

    No type

    Projects

    No projects

      Milestone

      No milestone

      Relationships

      None yet

      Development

      No branches or pull requests

      Issue actions