Skip to content

[ATSCALE-44228] row security property to UDA#44

Merged
svetoslavpetkov merged 5 commits intodraft/v1.6from
ATSCALE-44228-UDA-rowSecurity
Feb 18, 2026
Merged

[ATSCALE-44228] row security property to UDA#44
svetoslavpetkov merged 5 commits intodraft/v1.6from
ATSCALE-44228-UDA-rowSecurity

Conversation

@stanislavtrifonov88
Copy link
Copy Markdown
Contributor

  • updated the UDA attribtes to include row_security property
  • the rule is that either row_securty or dimension + name properties can be defined

@github-actions
Copy link
Copy Markdown

github-actions bot commented Feb 9, 2026

All contributors have signed the CLA ✍️ ✅
Posted by the CLA Assistant Lite bot.

Copy link
Copy Markdown

Copilot AI left a comment

Choose a reason for hiding this comment

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

Pull request overview

Updates the SML model reference documentation to support including row_security in user-defined aggregate (UDA) attribute references, aligning the schema docs with row-security capabilities elsewhere in the model spec.

Changes:

  • Add row_security to the AttributeReference entity definition in the model schema section.
  • Update UDA attributes documentation to describe conditional requiredness for name/dimension vs row_security.

💡 Add Copilot custom instructions for smarter, more guided reviews. Learn how to get started.

Comment on lines +650 to 658
- `name`: String, required if `row_security` is undefined. The name of the dimension attribute to
include. These values are used to group the summarized metric data in
the resulting aggregate table. Note that user-defined aggregate
definitions are fixed: they do not include every level of a hierarchy
unless they are explicitly defined.

- `dimension`: String, required. The dimension to which the attribute
- `dimension`: String, required if `row_security` is undefined. The dimension to which the attribute
defined by `name` belongs.

Copy link

Copilot AI Feb 9, 2026

Choose a reason for hiding this comment

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

The docs here describe conditional requiredness, but they don’t clearly state the mutual-exclusion rule from the PR description (either row_security OR (dimension + name), not a mix) and they also allow partial specification (e.g., name without dimension). Consider rewriting this section to explicitly require dimension and name together when row_security is not set, and to state that row_security must not be combined with them.

Copilot uses AI. Check for mistakes.
defined by `name` belongs.

- `row_security`: String, required if `dimension` and `name` are
undefined. Allows row security to be included in a user defined aggregate.
Copy link

Copilot AI Feb 9, 2026

Choose a reason for hiding this comment

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

row_security description should be more specific about what value is expected (e.g., the unique_name of a row_security object) and use consistent hyphenation with the rest of the doc ("user-defined aggregate" instead of "user defined aggregate").

Suggested change
undefined. Allows row security to be included in a user defined aggregate.
undefined. Specifies the `unique_name` of a `row_security` object to include in a user-defined aggregate.

Copilot uses AI. Check for mistakes.
Copy link
Copy Markdown
Collaborator

@svetoslavpetkov svetoslavpetkov left a comment

Choose a reason for hiding this comment

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

LGTM

Copy link
Copy Markdown
Collaborator

@diannewood diannewood left a comment

Choose a reason for hiding this comment

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

LGTM

@stanislavtrifonov88
Copy link
Copy Markdown
Contributor Author

I have read the CLA Document and I hereby sign the CLA

@stanislavtrifonov
Copy link
Copy Markdown
Contributor

I have read the CLA Document and I hereby sign the CLA

@stanislavtrifonov
Copy link
Copy Markdown
Contributor

recheck

@svetoslavpetkov svetoslavpetkov changed the base branch from main to draft/v1.6 February 18, 2026 16:06
@svetoslavpetkov svetoslavpetkov merged commit 20ee0e1 into draft/v1.6 Feb 18, 2026
1 check passed
@github-actions github-actions bot locked and limited conversation to collaborators Feb 18, 2026
@svetoslavpetkov svetoslavpetkov deleted the ATSCALE-44228-UDA-rowSecurity branch February 18, 2026 16:10
Sign up for free to subscribe to this conversation on GitHub. Already have an account? Sign in.

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

5 participants