Skip to content

Conversation

sancar
Copy link
Contributor

@sancar sancar commented Apr 19, 2022

This class will be used in SQL and in Compact to match with
Decimal type on SQL and Compact. a.k.a BigDecimal on java.

@sancar sancar added this to the 5.1.0 milestone Apr 19, 2022
@sancar sancar self-assigned this Apr 19, 2022
@devOpsHazelcast
Copy link
Contributor

Windows test FAILed.

@devOpsHazelcast
Copy link
Contributor

Linux test PASSed.

@devOpsHazelcast
Copy link
Contributor

Windows test PASSed.

@devOpsHazelcast
Copy link
Contributor

Linux test PASSed.

@srknzl
Copy link

srknzl commented Apr 19, 2022

Why about adding this to builtin serializers? Currently what do we have for bigdecimal in cpp? If we are going to do it, can you create an issue in Jira to track it?

Copy link

@srknzl srknzl left a comment

Choose a reason for hiding this comment

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

The first part of the review just including the review of .h file

@sancar
Copy link
Contributor Author

sancar commented Apr 20, 2022

Why about adding this to builtin serializers? Currently what do we have for bigdecimal in cpp? If we are going to do it, can you create an issue in Jira to track it?

I think there is already jira tasks for all missing types in all the languages. See https://hazelcast.atlassian.net/jira/software/projects/API/boards/40/backlog?selectedIssue=API-884&text=serializers

@devOpsHazelcast
Copy link
Contributor

Windows test PASSed.

@devOpsHazelcast
Copy link
Contributor

Linux test PASSed.

srknzl
srknzl previously approved these changes Apr 20, 2022
for (auto& item : a) {
item = ~item;
}
int carry = 1;
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 document what is the purpose of carry?

@devOpsHazelcast
Copy link
Contributor

Windows test PASSed.

@devOpsHazelcast
Copy link
Contributor

Linux test PASSed.

@devOpsHazelcast
Copy link
Contributor

Windows test PASSed.

@devOpsHazelcast
Copy link
Contributor

Linux test PASSed.

@devOpsHazelcast
Copy link
Contributor

Windows test PASSed.

@devOpsHazelcast
Copy link
Contributor

Linux test PASSed.

@ihsandemir ihsandemir changed the title Introduce hazelcast::client::decimal Introduce hazelcast::client::decimal[API-1297] Apr 25, 2022
@ihsandemir ihsandemir changed the title Introduce hazelcast::client::decimal[API-1297] Introduce hazelcast::client::decimal [API-1297] Apr 25, 2022
srknzl
srknzl previously approved these changes Apr 25, 2022
ihsandemir
ihsandemir previously approved these changes Apr 25, 2022
@sancar sancar dismissed stale reviews from ihsandemir and srknzl via 29d494f April 26, 2022 06:55
@hazelcast hazelcast deleted a comment from devOpsHazelcast Apr 26, 2022
@hazelcast hazelcast deleted a comment from devOpsHazelcast Apr 26, 2022
@hazelcast hazelcast deleted a comment from devOpsHazelcast Apr 26, 2022
@devOpsHazelcast
Copy link
Contributor

Linux test PASSed.

@ihsandemir
Copy link
Collaborator

Serkan, already approved the PR. Merging the PR.

@devOpsHazelcast
Copy link
Contributor

Windows test PASSed.

@ihsandemir ihsandemir merged commit ac039d1 into hazelcast:master Apr 26, 2022
@ihsandemir ihsandemir deleted the decimal branch April 26, 2022 08:19
sancar pushed a commit to sancar/hazelcast-cpp-client that referenced this pull request Apr 28, 2022
* Introduce hazelcast::client::decimal

This class will be used in SQL and in Compact to match with
Decimal type on SQL and Compact. a.k.a BigDecimal on java.

* add equality operator

* rename decimal to big_decimal
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.

4 participants