Skip to content

Source serialization always sends fractional format for double and floats. #7467

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

Merged
merged 1 commit into from
Mar 24, 2023

Conversation

stevejgordon
Copy link
Contributor

Fixes #7051.

This ensures we maintain at least one fractional decimal which STJ would otherwise
loose.
@stevejgordon stevejgordon added enhancement 8.x Relates to a 8.x client version labels Mar 24, 2023
@stevejgordon
Copy link
Contributor Author

CI failures are unrelated and due to GitHub SSH changes.

@stevejgordon stevejgordon merged commit d647e14 into main Mar 24, 2023
@stevejgordon stevejgordon deleted the numeric-source-converters branch March 24, 2023 11:22
@github-actions
Copy link
Contributor

The backport to 8.0 failed:

The process '/usr/bin/git' failed with exit code 1

To backport manually, run these commands in your terminal:

# Fetch latest updates from GitHub
git fetch
# Create a new working tree
git worktree add .worktrees/backport-8.0 8.0
# Navigate to the new working tree
cd .worktrees/backport-8.0
# Create a new branch
git switch --create backport-7467-to-8.0
# Cherry-pick the merged commit of this pull request and resolve the conflicts
git cherry-pick --mainline 1 d647e1477cf886bf74eccb242fd7290b49b97de0
# Push it to GitHub
git push --set-upstream origin backport-7467-to-8.0
# Go back to the original working tree
cd ../..
# Delete the working tree
git worktree remove .worktrees/backport-8.0

Then, create a pull request where the base branch is 8.0 and the compare/head branch is backport-7467-to-8.0.

github-actions bot pushed a commit that referenced this pull request Mar 24, 2023
This ensures we maintain at least one fractional decimal which STJ would otherwise
loose.
github-actions bot pushed a commit that referenced this pull request Mar 24, 2023
This ensures we maintain at least one fractional decimal which STJ would otherwise
loose.
github-actions bot pushed a commit that referenced this pull request Mar 24, 2023
This ensures we maintain at least one fractional decimal which STJ would otherwise
loose.
github-actions bot pushed a commit that referenced this pull request Mar 24, 2023
This ensures we maintain at least one fractional decimal which STJ would otherwise
loose.
github-actions bot pushed a commit that referenced this pull request Mar 24, 2023
This ensures we maintain at least one fractional decimal which STJ would otherwise
loose.
github-actions bot pushed a commit that referenced this pull request Mar 24, 2023
This ensures we maintain at least one fractional decimal which STJ would otherwise
loose.
github-actions bot pushed a commit that referenced this pull request Mar 24, 2023
This ensures we maintain at least one fractional decimal which STJ would otherwise
loose.
stevejgordon added a commit that referenced this pull request Mar 24, 2023
This ensures we maintain at least one fractional decimal which STJ would otherwise
loose.
stevejgordon added a commit that referenced this pull request Mar 24, 2023
… (#7474)

This ensures we maintain at least one fractional decimal which STJ would otherwise
loose.

Co-authored-by: Steve Gordon <[email protected]>
stevejgordon added a commit that referenced this pull request Mar 24, 2023
… (#7468)

This ensures we maintain at least one fractional decimal which STJ would otherwise
loose.

Co-authored-by: Steve Gordon <[email protected]>
stevejgordon added a commit that referenced this pull request Mar 24, 2023
… (#7469)

This ensures we maintain at least one fractional decimal which STJ would otherwise
loose.

Co-authored-by: Steve Gordon <[email protected]>
stevejgordon added a commit that referenced this pull request Mar 24, 2023
… (#7470)

This ensures we maintain at least one fractional decimal which STJ would otherwise
loose.

Co-authored-by: Steve Gordon <[email protected]>
stevejgordon added a commit that referenced this pull request Mar 24, 2023
… (#7471)

This ensures we maintain at least one fractional decimal which STJ would otherwise
loose.

Co-authored-by: Steve Gordon <[email protected]>
stevejgordon added a commit that referenced this pull request Mar 24, 2023
… (#7472)

This ensures we maintain at least one fractional decimal which STJ would otherwise
loose.

Co-authored-by: Steve Gordon <[email protected]>
stevejgordon added a commit that referenced this pull request Mar 24, 2023
… (#7473)

This ensures we maintain at least one fractional decimal which STJ would otherwise
loose.

Co-authored-by: Steve Gordon <[email protected]>
stevejgordon added a commit that referenced this pull request Mar 24, 2023
…r double and floats (#7476)

* Bump version to 8.0.8

* Add custom converters for double and float source serialization (#7467)

This ensures we maintain at least one fractional decimal which STJ would otherwise
loose.
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
8.x Relates to a 8.x client version
Projects
None yet
Development

Successfully merging this pull request may close these issues.

Floating-point types are not always serialized with a decimal point
1 participant