Skip to content

Document table calculation functions#393

Merged
charliedowler merged 2 commits intomainfrom
charlie/document-table-calculation-functions
Feb 10, 2026
Merged

Document table calculation functions#393
charliedowler merged 2 commits intomainfrom
charlie/document-table-calculation-functions

Conversation

@charliedowler
Copy link
Contributor

Summary

  • Add reference docs for 8 new table calculation functions from Lightdash PRs #19999 and #20102
  • Row functions (row, offset, index, lookup, offset_list, list) — row-based functions that compile to SQL window functions
  • Pivot functions (pivot_row, pivot_offset_list) — functions for accessing values across pivot columns
  • Each function page includes signature, parameter table, practical example, and compiled SQL in an expandable accordion
  • Add "Table calculation functions" nav group in the sidebar between the main table calculations page and SQL templates
  • Cross-link from the table calculations guide and SQL templates overview

Test plan

  • Verify both new pages render at /references/table-calculation-functions/row-functions and /references/table-calculation-functions/pivot-functions
  • Verify "Table calculation functions" nav group appears in the sidebar
  • Verify accordion blocks expand/collapse for compiled SQL sections
  • Verify cross-links from table-calculations.mdx and sql-templates.mdx resolve correctly
  • Verify existing SQL template pages are unaffected

🤖 Generated with Claude Code

Document the 8 new table calculation functions from Lightdash PRs #19999
and #20102: row, offset, index, lookup, offset_list, list, pivot_row,
and pivot_offset_list. Each function page includes signature, parameter
table, practical example, and compiled SQL in an accordion.

Co-Authored-By: Claude Opus 4.6 <noreply@anthropic.com>
@github-actions
Copy link
Contributor

github-actions bot commented Feb 9, 2026

🤖 Documentation Bot

All checks passed! No issues found.

Co-Authored-By: Claude Opus 4.6 <noreply@anthropic.com>
@github-actions
Copy link
Contributor

github-actions bot commented Feb 9, 2026

🤖 Documentation Bot

All checks passed! No issues found.

Copy link
Contributor

@torimwhaley torimwhaley left a comment

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

LGTM 👍

@charliedowler charliedowler merged commit 229ec90 into main Feb 10, 2026
3 checks passed
@charliedowler charliedowler deleted the charlie/document-table-calculation-functions branch February 10, 2026 16:30
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