Skip to content

skill: document AT (VERSION => n) alias restriction + stewardless-lake table gating in ducklake-lakehouse #836

Not planned

Description

@athvin

What

Add one sentence to .claude/skills/ducklake-lakehouse/references/layout-and-maintenance.md near the pinned-scan note (line ~86):

  • A pinned scan AT (VERSION => n) takes no trailing table alias — DuckDB rejects FROM t AT (VERSION => n) AS x; pin inside a CTE and alias the CTE instead (precedent: entities/match_score/read/dup_group_stats.sql).
  • A lake that has never had a steward pass has no assertions table; a declared statement that reads it must gate that arm on session.lake_table_exists (precedent: entities/assertion/read/within_groups.sql).

Why

Learned the hard way on #797 (PR #827): er-entity verify planned a statement that unioned pinned scans with direct aliases, and only the DuckLake e2e tier caught both the alias syntax error and the missing-table failure on a stewardless lake. The skill is where the next session writing a pinned scan looks first.

Done when

The two sentences are in the reference, make skills-check passes, and the PR ledger is closed.

Size: 0.1w. Found in the #827 post-merge ledger.

Activity

  1. added
    pruned
    on Nov 27, 2026
  2. athvin commented on Nov 27, 2026

    @athvin
    OwnerAuthor

    Closed in the 2026-11-26 board prune. The board now targets a deduplication tool that works the same whatever the data's source. This card is speculative or process upkeep, so it isn't needed for that. It's labelled pruned and can be reopened if it becomes relevant.

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

    pruned

    Type

    No type

    Projects

    No projects

      Milestone

      No milestone

      Relationships

      None yet

      Development

      No branches or pull requests

      Issue actions