Skip to content

[pyAMQP] Add Support For Decimal#39511

Merged
kashifkhan merged 13 commits intoAzure:mainfrom
kashifkhan:sb_rcv_peek
Feb 6, 2025
Merged

[pyAMQP] Add Support For Decimal#39511
kashifkhan merged 13 commits intoAzure:mainfrom
kashifkhan:sb_rcv_peek

Conversation

@kashifkhan
Copy link
Copy Markdown
Member

@kashifkhan kashifkhan commented Jan 31, 2025

The AMQP Spec allows for decimal encoding / decoding. As SB & EH only support Decimal128, that is whats being added over here. The implementation follows the IEEE Std 754-2008 bids formatting and Ive confirmed this works across .net and java on the receiving side properly.

fixes #38717

@azure-sdk
Copy link
Copy Markdown
Collaborator

API change check

API changes are not detected in this pull request.

@kashifkhan
Copy link
Copy Markdown
Member Author

/azp run python - servicebus - tests

@kashifkhan
Copy link
Copy Markdown
Member Author

/azp run python - eventhub - tests

@azure-pipelines
Copy link
Copy Markdown

Azure Pipelines successfully started running 1 pipeline(s).

1 similar comment
@azure-pipelines
Copy link
Copy Markdown

Azure Pipelines successfully started running 1 pipeline(s).

@kashifkhan kashifkhan marked this pull request as ready for review February 5, 2025 14:20
@kashifkhan kashifkhan requested a review from annatisch as a code owner February 5, 2025 14:20
@kashifkhan kashifkhan enabled auto-merge (squash) February 6, 2025 20:47
@kashifkhan kashifkhan merged commit ba26689 into Azure:main Feb 6, 2025
@kashifkhan kashifkhan deleted the sb_rcv_peek branch February 7, 2025 14:19
l0lawrence pushed a commit to l0lawrence/azure-sdk-for-python that referenced this pull request Feb 19, 2025
* add support for decimal128

* decode and encode decimals

* clean up

* sync EH with changes

* unit test for decode decimal

* live test

* raise error if exponent is incorrect

* add a few comments

* more unit tests

* sync comments to EH

* add comment abt dec128 support

* fix encode tests
cRui861 pushed a commit that referenced this pull request Feb 27, 2025
* add support for decimal128

* decode and encode decimals

* clean up

* sync EH with changes

* unit test for decode decimal

* live test

* raise error if exponent is incorrect

* add a few comments

* more unit tests

* sync comments to EH

* add comment abt dec128 support

* fix encode tests
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.

receiver.peek_messages() fails for some queues and works for others

4 participants