Exclude columns also at the SQL Level. Columns hidden in config can't be queried by agent - #1373
Exclude columns also at the SQL Level. Columns hidden in config can't be queried by agent#1373ad4mou wants to merge 12 commits into
Conversation
🚀 Preview Deployment
Preview will be automatically removed when this PR is closed. |
There was a problem hiding this comment.
All reported issues were addressed across 6 files
Reply with feedback, questions, or to request a fix.
Re-trigger cubic
…nt so it fixes it
There was a problem hiding this comment.
All reported issues were addressed across 8 files (changes from recent commits).
Reply with feedback, questions, or to request a fix.
Re-trigger cubic
There was a problem hiding this comment.
All reported issues were addressed across 6 files (changes from recent commits).
Tip: Review your code locally with the cubic CLI to iterate faster.
Re-trigger cubic
There was a problem hiding this comment.
All reported issues were addressed across 3 files (changes from recent commits).
Tip: Review your code locally with the cubic CLI to iterate faster.
Re-trigger cubic
Bl3f
left a comment
There was a problem hiding this comment.
Need more work I think ; esp. on the column guard, which is not really the best name I'd say.
We should have a parser and from this parser raise usage errors on columns/tables
There was a problem hiding this comment.
All reported issues were addressed across 6 files (changes from recent commits).
Tip: Review your code locally with the cubic CLI to iterate faster.
Re-trigger cubic
…pt/Exclude to avoid long lists
There was a problem hiding this comment.
All reported issues were addressed across 13 files (changes from recent commits).
Tip: Review your code locally with the cubic CLI to iterate faster.
Re-trigger cubic
|
I tested extensively with a DuckDB and a BigQuery DB, the feature works great. |
|
@ad4mou we will put this under the enterprise license - can you implement the change? |
|
Yes absolutely, this is what it looks like for now. CleanShot.2026-08-26.at.11.29.16.mp4 |
There was a problem hiding this comment.
All reported issues were addressed across 15 files (changes from recent commits).
Tip: Review your code locally with the cubic CLI to iterate faster.
Re-trigger cubic
|
LGTM |
Summary
exclude_columnsactually apply when the agent runs SQL, not only when syncing context.SELECT *still runs, but excluded columns are removed first and a yellow warning explains what was stripped.Closes #1015