Skip to content

Add support for multi-level struct access + hints#1890

Merged
shangyian merged 2 commits intoDataJunction:mainfrom
shangyian:deep-struct-ast
Mar 16, 2026
Merged

Add support for multi-level struct access + hints#1890
shangyian merged 2 commits intoDataJunction:mainfrom
shangyian:deep-struct-ast

Conversation

@shangyian
Copy link
Collaborator

Summary

Adds support for multi-level struct access (e.g., struct_col.field.subfield) with a fallback for single-namespace columns that aren't table aliases. Also adds hints (e.g., Did you mean ... ? suggestions) in error messages when a struct field path doesn't resolve.

Test Plan

  • PR has an associated issue: #
  • make check passes
  • make test shows 100% unit test coverage

Deployment Plan

@netlify
Copy link

netlify bot commented Mar 16, 2026

Deploy Preview for thriving-cassata-78ae72 canceled.

Name Link
🔨 Latest commit e0e0d2e
🔍 Latest deploy log https://app.netlify.com/projects/thriving-cassata-78ae72/deploys/69b7a4e308e3f20008dfd79a

…namespace cols that aren't table aliases, plus hints in error messages when a struct field path doesn't resolve
@shangyian shangyian marked this pull request as ready for review March 16, 2026 06:58
@shangyian shangyian merged commit 5341e6d into DataJunction:main Mar 16, 2026
17 checks passed
@shangyian shangyian deleted the deep-struct-ast branch March 16, 2026 06:58
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.

1 participant