protect against misleading results due to non-existent table

Bug #1670534 reported by Eric K
6
This bug affects 1 person
Affects Status Importance Assigned to Milestone
congress
Triaged
Medium
Unassigned

Bug Description

When a referenced table does not exist, it is imputed to be empty.

For example if there was a rule:
safe_ip(x) :- ip(x), not dangerous(x)

But the table: dangerous does not exist, then safe_ip === ip, potentially misleading.

Do something about this. Some ideas:
- enforce table referential integrity
- indicate when results based on imputed-empty table
- indicate that computed table may be incomplete (some expected tuples may not be computed) and/or table may be unsound (some computed tuples may not be expected) with respect to what results "should be" if all referenced tables exist.

Eric K (ekcs)
Changed in congress:
status: New → Triaged
To post a comment you must log in.
This report contains Public information  
Everyone can see this information.

Other bug subscribers

Remote bug watches

Bug watches keep track of this bug in other bug trackers.