Skip to content

Conversation

@natinimni
Copy link
Contributor

Added detailed formatting guidelines for partitions in the alter-merge-mirroring-policy-command documentation.

Thank you for contributing to Kusto documentation

Please add a brief comment outlining the purpose of this PR. Add links to any relevant references such as DevOps work items.

Make sure you've done the following:

  1. Acrolinx: Make sure your Acrolinx score is at least 80 (higher is better) and with 0 spelling issues.

  2. Successful build: Review the build status to make sure all files are green (Succeeded) and there are no errors, warnings, or suggestions.

  3. Preview the pages: Click each Preview URL link, scan the entire page looking for formatting issues, in particular the parts you edited.

  4. Check the Table of Contents: If you're adding a new markdown file, make sure it is linked from the table of contents.

  5. Sign off: Once the PR is finalized, add a comment with #sign-off . If you need to cancel the sign-off, add a comment with #hold-off.

    NOTE: Signing off means the document can be published at any time.

Next steps

  • All PRs to this repository are reviewed and merged by a human. Automatic merge is disabled on this repository for PRs, even with the qualifies-for-auto-merge label.
  • Once all feedback on the PR is addressed, the PR will be merged into the main branch.

Learn more about how to contribute

Added detailed formatting guidelines for partitions in the alter-merge-mirroring-policy-command documentation.
@prmerger-automator
Copy link
Contributor

@natinimni : Thanks for your contribution! The author(s) and reviewer(s) have been notified to review your proposed change.

@learn-build-service-prod
Copy link
Contributor

Learn Build status updates of commit 393794a:

✅ Validation status: passed

File Status Preview URL Details
data-explorer/kusto/management/alter-merge-mirroring-policy-command.md ✅Succeeded

For more details, please refer to the build report.

@ShannonLeavitt
Copy link
Contributor

@spelluru - Could you review the proposed changes?

IMPORTANT: When the changes are ready for publication, adding a #sign-off comment is the best way to signal that the PR is ready for the review team to merge.

#label:"aq-pr-triaged"
@MicrosoftDocs/public-repo-pr-review-team

@prmerger-automator prmerger-automator bot added the aq-pr-triaged tracking label for the PR review team label Feb 9, 2026
Copy link

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 .alter-merge table policy mirroring command reference to document how to format the partition by clause directly in the page (instead of relying on a shared include), aiming to clarify partition syntax for mirroring policies.

Changes:

  • Replaced the shared [!INCLUDE] “Partitions formatting” snippet with an inlined “## Partitions formatting” section.
  • Added a table describing supported partition syntax forms and links to relevant Kusto functions.

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

Comment on lines 37 to 40
|Partition Type|Syntax|Notes|
|--|--|--|
|String column value|*PartitionName* `:` `string` `=` *ColumnName*||
|Truncated datetime column (value)|*PartitionName* `:` `datetime` `=` (`startofyear` \| `startofmonth` \| `startofweek` \| `startofday`) `(` *ColumnName* `)`|See documentation on [startofyear](../query/startofyear-function.md), [startofmonth](../query/startofmonth-function.md), [startofweek](../query/startofweek-function.md), or [startofday](../query/startofday-function.md) functions.|
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 inlined partitions formatting table doesn’t match the previously included shared content: it omits entries like “Virtual column” and “String column value hash()” that are currently shown on other pages via the include. This creates conflicting guidance for the same partition by syntax across the docs set. Either add the missing rows here or adjust the shared include (or introduce a mirroring-specific include) so the supported partition types are documented consistently.

Copilot uses AI. Check for mistakes.
|--|--|--|
|String column value|*PartitionName* `:` `string` `=` *ColumnName*||
|Truncated datetime column (value)|*PartitionName* `:` `datetime` `=` (`startofyear` \| `startofmonth` \| `startofweek` \| `startofday`) `(` *ColumnName* `)`|See documentation on [startofyear](../query/startofyear-function.md), [startofmonth](../query/startofmonth-function.md), [startofweek](../query/startofweek-function.md), or [startofday](../query/startofday-function.md) functions.|
|Truncated Datetime Column Value `=` `bin` `(` *ColumnName* `,` *TimeSpan* `)`|Read more about the [bin](../query/bin-function.md) function.||
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 bin() row in the partitions formatting table is malformed: the first cell currently contains a mix of “Partition Type” and syntax, and the syntax doesn’t include the partition name/type prefix (consistent with the rows above). This will render confusingly and may break the table layout. Please split this into the 3 intended columns (Partition Type / Syntax / Notes) and align the syntax pattern with the other entries (including PartitionName and the datetime = ... form).

Copilot uses AI. Check for mistakes.
Comment on lines 33 to 36
## Partitions formatting

The partitions list is any combination of partition columns, specified using one of the forms shown in the following table.

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.

This section inlines partitions formatting that previously came from a shared include (../includes/partitions-formatting.md), which is still used by other docs (for example, management/mirroring-policy.md). Duplicating the content here increases the chance the formatting guidance drifts between pages. Consider restoring the include (and updating the include itself if the guidance needs correction), or creating a mirroring-specific include and using it consistently across mirroring docs.

Copilot uses AI. Check for mistakes.
@spelluru
Copy link
Contributor

spelluru commented Feb 9, 2026

#sign-off

Add documentation for partitions formatting in Kusto.
@learn-build-service-prod
Copy link
Contributor

Learn Build status updates of commit bdbe451:

✅ Validation status: passed

File Status Preview URL Details
data-explorer/kusto/includes/mirroring-partitions-formatting.md ✅Succeeded
data-explorer/kusto/management/alter-merge-mirroring-policy-command.md ✅Succeeded

For more details, please refer to the build report.

@prmerger-automator
Copy link
Contributor

PRMerger Results

Issue Description
Added File(s) This PR contains added files. New files require human review.
File Change Percent This PR contains file(s) with more than 30% file change.

Updated partitions formatting section with include directive and removed old formatting details.
@learn-build-service-prod
Copy link
Contributor

Learn Build status updates of commit cf627c7:

✅ Validation status: passed

File Status Preview URL Details
data-explorer/kusto/includes/mirroring-partitions-formatting.md ✅Succeeded
data-explorer/kusto/management/alter-merge-mirroring-policy-command.md ✅Succeeded

For more details, please refer to the build report.

@prmerger-automator
Copy link
Contributor

PRMerger Results

Issue Description
Added File(s) This PR contains added files. New files require human review.
File Change Percent This PR contains file(s) with more than 30% file change.

@learn-build-service-prod
Copy link
Contributor

Learn Build status updates of commit 393b88e:

✅ Validation status: passed

File Status Preview URL Details
data-explorer/kusto/includes/mirroring-partitions-formatting.md ✅Succeeded
data-explorer/kusto/management/alter-merge-mirroring-policy-command.md ✅Succeeded
data-explorer/kusto/management/mirroring-policy.md ✅Succeeded

For more details, please refer to the build report.

@prmerger-automator
Copy link
Contributor

PRMerger Results

Issue Description
Added File(s) This PR contains added files. New files require human review.
File Change Percent This PR contains file(s) with more than 30% file change.

@spelluru
Copy link
Contributor

@natinimni - Thanks for updating the content. Please let me know when you are done and I will sign off on the PR.

For the next time, please use the private repository (dataexplorer-docs**-pr**) to update the content next time so that you get a few useful reports and a staging link in the PR. Please contact me (spelluru) if you don't have access to the private repository and I will send you instructions to get the access. Thanks.

@ktalmor
Copy link
Contributor

ktalmor commented Feb 10, 2026

#sign-off

@prmerger-automator
Copy link
Contributor

Invalid command: '#sign-off'. Only the assigned author of one or more file in this PR can sign off. @spelluru

@ttorble
Copy link
Contributor

ttorble commented Feb 10, 2026

@ktalmor Thanks for your review. In the public repo, pull requests should be signed off by the author. @natinimni can you confirm that this ready for merge so that @spelluru can sign off? Thanks

@spelluru
Copy link
Contributor

#sign-off

@ttorble
Copy link
Contributor

ttorble commented Feb 10, 2026

@spelluru Include files need author, ms.author, and ms.service metadata in addition to ms.topic and ms.date. Can you add these values and sign off again? Thanks

#hold-off

@prmerger-automator
Copy link
Contributor

Microsoft authors of articles need to make updates through the private repository, so the updates can be staged and validated by current validation rules. After you review staging and fix all validation issues, you can add the sign-off comment to let the PR reviewers know the updates are ready to be merged.

It's easy to access the private repo version of your articles in GitHub. Just add -pr to the URL, as follows:

 Public repo URL: https://github.com/MicrosoftDocs/{docs-repo}
 Private repo URL: https://github.com/MicrosoftDocs/{docs-repo-pr}

We have closed this pull request. Please resubmit the updates through the private repo. For more information, see the contributor guide.

@learn-build-service-prod
Copy link
Contributor

Learn Build status updates of commit 9706641:

✅ Validation status: passed

File Status Preview URL Details
data-explorer/kusto/includes/mirroring-partitions-formatting.md ✅Succeeded
data-explorer/kusto/management/alter-merge-mirroring-policy-command.md ✅Succeeded
data-explorer/kusto/management/mirroring-policy.md ✅Succeeded

For more details, please refer to the build report.

@prmerger-automator
Copy link
Contributor

PRMerger Results

Issue Description
Added File(s) This PR contains added files. New files require human review.
File Change Percent This PR contains file(s) with more than 30% file change.

@natinimni
Copy link
Contributor Author

Thanks @ttorble and @spelluru - I've added the missing "ms.author" (and other metadata). I do see that this PR was marked as "closed" - do you know why?

@spelluru
Copy link
Contributor

@natinimni - Please see the comment above from prmerger-automator.
#2842 (comment)

@ttorble - Could you merge the PR for this time? Thanks.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Projects

None yet

Development

Successfully merging this pull request may close these issues.

5 participants