Skip to content

Does removing foreign keys in detection metrics for multi-tables make sense? #285

@mohamedg-croesus

Description

@mohamedg-croesus

Environment details

If you are already running SDMetrics, please indicate the following details about the environment in
which you are running it:

  • SDMetrics version: 0.8.2
  • Python version:
  • Operating System:

Problem description

Nice correction for DetectionMetric (Solving primary_key use for detection metrics #251, #251)
Removing the primary key from the table makes more sense for the evaluation. But, what about foreign keys present in a table of a relational database. Does not the same problem also occur for the foreign keys too and they need to be deleted? Also, for the parent-child logistic detection metric, the foreign keys (referencing parent rows) in the child tables are no longer required when the denormalized tables are used.

Metadata

Metadata

Assignees

No one assigned

    Labels

    questionGeneral question about the softwareresolution:duplicateThis issue or pull request already exists

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions