Skip to content

Update Main Branch Changes with Azure Storage Track2 Methods#1081

Merged
nytian merged 1 commit intonytian/updateasv12from
nytian/merge_main
May 7, 2024
Merged

Update Main Branch Changes with Azure Storage Track2 Methods#1081
nytian merged 1 commit intonytian/updateasv12from
nytian/merge_main

Conversation

@nytian
Copy link
Collaborator

@nytian nytian commented May 1, 2024

Branch nytian/updateasv12: Syncs updates between the main branch and azure-storage-v12.
Branch nytian/merge_main (feature branch): Built on branch nytian/updateasv12, this PR includes adjustments necessary for the integration of previous updates into Azure Storage Track2.

After this PR is approved and merged, then I will merge branch nytian/updateasv12 to azure-storage-v12.

@nytian nytian marked this pull request as ready for review May 1, 2024 20:38
TableQuery.GenerateFilterCondition("PartitionKey", QueryComparisons.LessThan, "@"),
TableOperators.Or,
TableQuery.GenerateFilterCondition("PartitionKey", QueryComparisons.GreaterThanOrEqual, "A")));
conditions.Add($"{nameof(OrchestrationInstanceStatus.PartitionKey)} lt '@' or {nameof(OrchestrationInstanceStatus.PartitionKey)} ge 'A'");
Copy link
Collaborator Author

@nytian nytian May 1, 2024

Choose a reason for hiding this comment

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

In Azure Storage Track2, we don't have TableQuery anymore, so I translate the original query with this to align with other context.

Copy link
Collaborator

Choose a reason for hiding this comment

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

can you please add a comment on top of this method that documents the query? It's a big hard to follow as-is

Copy link
Collaborator Author

Choose a reason for hiding this comment

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

Just want to confirm you mean what $"{nameof(OrchestrationInstanceStatus.PartitionKey)} lt '@' or {nameof(OrchestrationInstanceStatus.PartitionKey)} ge 'A'") means, right?

Copy link
Collaborator

@davidmrdavid davidmrdavid left a comment

Choose a reason for hiding this comment

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

Left a few comments, but mostly looks good!

@nytian nytian merged commit bdea4c3 into nytian/updateasv12 May 7, 2024
@nytian nytian deleted the nytian/merge_main branch May 7, 2024 18:42
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.

2 participants