Skip to content

validation: enforce filter semantic checks from spec rule 18/33 #171

@pesap

Description

@pesap

Problem

arco validate passes filters that produce empty subsets due unresolved RHS identifiers.
No warning/error emitted.

Spec expectations:

  • Rule 18: detect unknown filter references.
  • Rule 33: warn when filtered subset is empty.

Repro

filter { tech == wind } with no wind column, only value in tech.
arco validate currently reports success.

Acceptance criteria

  • Validation flags unresolved/invalid filter symbol usage with actionable message.
  • Validation warns on empty filtered subsets (name + parent set + predicate).
  • Diagnostic includes source location and fix hint:
    • suggest quotes for categorical literals where applicable.

Metadata

Metadata

Assignees

No one assigned

    Labels

    bugSomething isn't workingcliCommand line interfacev0.5Version 0.5: Benchmarks + Logging

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions