Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Fix issue of returning incorrect entities when querying table with int64 values #2386

Merged
merged 1 commit into from
Apr 24, 2024

Conversation

EmmaZhu
Copy link
Member

@EmmaZhu EmmaZhu commented Apr 10, 2024

Thanks for contribution! Please go through following checklist before sending PR.

PR Branch Destination

  • For Azurite V3, please send PR to main branch.
  • For legacy Azurite V2, please send PR to legacy-dev branch.

Always Add Test Cases

Make sure test cases are added to cover the code change.

Add Change Log

Add change log for the code change in Upcoming Release section in ChangeLog.md.

Development Guideline

Please go to CONTRIBUTION.md for steps about setting up development environment and recommended Visual Studio Code extensions.

const anotherPartitionKey = createUniquePartitionKey("");
const anotherEntity: TableTestEntity =
entityFactory.createBasicEntityForTest(anotherPartitionKey);
anotherEntity.int64Field = { value: "1234", type: "Int64" };
Copy link
Member

Choose a reason for hiding this comment

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

Just to check the entity will have value as "1234L"?

@blueww
Copy link
Member

blueww commented Apr 16, 2024

/azp run

Copy link

Azure Pipelines successfully started running 1 pipeline(s).

@@ -260,12 +260,12 @@ describe("Query Parser", () => {
{
name: "Correctly handles longs",
originalQuery: "myInt lt 123.01L",
expectedQuery: "(lt (id myInt) \"123.01\")"
Copy link
Member

Choose a reason for hiding this comment

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

Optional: We might can add a case to validate long query here. Might can do it after this release, as the test case already covered long.

@EmmaZhu EmmaZhu merged commit fcfaba5 into Azure:main Apr 24, 2024
3 checks passed
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