Skip to content

Infer path variable from ON-clause path#224

Open
srnand wants to merge 3 commits into
mainfrom
srnand/may14/DeriveOfflineTableNameFromOnClause
Open

Infer path variable from ON-clause path#224
srnand wants to merge 3 commits into
mainfrom
srnand/may14/DeriveOfflineTableNameFromOnClause

Conversation

@srnand
Copy link
Copy Markdown
Collaborator

@srnand srnand commented May 14, 2026

Summary

  • Replaced {{offline.table.name}} in JobTemplates with {{path}} which now defaults to source.pathString() (the fully-qualified CATALOG.SCHEMA.TABLE / SCHEMA.TABLE from the trigger's ON clause), so users no longer need to repeat the path in WITH ('offline.table.name' '...').

@srnand srnand requested a review from ryannedolan May 14, 2026 23:45
Copy link
Copy Markdown
Collaborator

@ryannedolan ryannedolan left a comment

Choose a reason for hiding this comment

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

Nice! Couple comments.

Comment thread hoptimator Outdated
Base automatically changed from srnand/may14/AddCatalogSupportOnTableTrigger to main May 15, 2026 05:30
Replaced `{{offline.table.name}}` in JobTemplates with `{{path}}` which now defaults to
`source.pathString()` (the fully-qualified `CATALOG.SCHEMA.TABLE` /
`SCHEMA.TABLE` from the trigger's ON clause), so users no longer need to
repeat the path in `WITH ('offline.table.name' '...')`. An explicit
option still wins because `.with(properties)` merges on top of the
default binding.

Co-Authored-By: Claude Opus 4.7 (1M context) <noreply@anthropic.com>
@srnand srnand force-pushed the srnand/may14/DeriveOfflineTableNameFromOnClause branch from 55459ba to 41b250d Compare May 15, 2026 18:44
@github-actions
Copy link
Copy Markdown

github-actions Bot commented May 15, 2026

Code Coverage

Overall Project 84.43% 🟢
Files changed 91.67% 🟢

File Coverage
K8sSourceDeployer.java 95.48% 🟢
K8sTriggerDeployer.java 92.07% -0.23% 🟢

@srnand srnand force-pushed the srnand/may14/DeriveOfflineTableNameFromOnClause branch from 41b250d to f90ad54 Compare May 15, 2026 19:17
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.

3 participants