Skip to content

Queries on Arrays: an experiment page, and the long page under patterns - #354

Merged
lloydtabb merged 1 commit into
mainfrom
claude/eloquent-bardeen-23st5f-array-experiment
Nov 14, 2026
Merged

lloydtabb merged 1 commit into
mainfrom
claude/eloquent-bardeen-23st5f-array-experiment

Conversation

@lloydtabb

Copy link
Copy Markdown
Contributor

The experiment page for ##! experimental.array_queries (#353) was a long tutorial, unlike the other experiment pages. This splits it in two.

Experiments → Queries on Arrays (experiments/array_queries.malloynb)

A reference in the shape of the other experiment pages:

  • what the arrow is, and the flag;
  • how to write one;
  • what it returns;
  • short examples;
  • database support and its limits;
  • a table of errors, with each message as Malloy prints it.

It keeps the old path, so the experiments list and the contents entry are unchanged.

Common Patterns → Working with Arrays (patterns/arrays.malloynb)

The long page, "Working with Array and Nested Data", moves here, after Reading Nested Data. It covers why to query in place, the filter pitfall, and the common patterns with real results, all unchanged.

Its sections on what the arrow returns, its limits, database support and what doesn't work are replaced by a link to the experiment page, so each fact lives in one place.

Checks

  • Every example on the experiment page runs on DuckDB with current Malloy main (with Array queries: the rest of #3200, and clearer syntax errors malloy#3209), and every message I could produce there matches exactly.
  • The Trino and Snowflake messages are copied from the old page, which captured them from compiler runs.
  • The full site build passes with no link errors.
  • As before, examples are static until a Malloy release the docs build on has the arrow.

Generated by Claude Code

The experiment page for `##! experimental.array_queries` was a long
tutorial, unlike the other experiment pages. It is now a reference in
their shape: what the arrow is and the flag, how to write one, what it
returns, short examples, database support and its limits, and the
errors. Every example and quoted message was checked on DuckDB with
current Malloy main.

"Working with Array and Nested Data" moves to Common Patterns
(`patterns/arrays.malloynb`, "Working with Arrays" in the contents,
after Reading Nested Data). Its return-shape, limits, database support
and error sections are replaced by a link to the experiment page, so
each lives in one place.

Co-Authored-By: Claude Opus 5.5 <noreply@anthropic.com>
Claude-Session: https://claude.ai/code/session_01NvYaMvB6W3Sph3b7Lvbjzc
Signed-off-by: Claude <noreply@anthropic.com>
@lloydtabb
lloydtabb marked this pull request as ready for review November 14, 2026 22:11
@lloydtabb
lloydtabb merged commit 310d242 into main Nov 14, 2026
5 checks passed
@lloydtabb
lloydtabb deleted the claude/eloquent-bardeen-23st5f-array-experiment branch November 14, 2026 22:11
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

2 participants