We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
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
Describe your problem
When I put a big int number into vineyard, but get just 1 when the value is great than 2**63.
value = 2**63-1 oid = client.put(value) result = client.get(oid) print(f'{value=}, {result=}, {value == int(result)}')
output:
value=9223372036854775807, result=9223372036854775807, True
value = 2**63 oid = client.put(value) result = client.get(oid) print(f'{value=}, {result=}, {value == int(result)}')
output value=9223372036854775808, result=1, False
value=9223372036854775808, result=1, False
value = 2**126 oid = client.put(float(value)) result = client.get(oid) print(f'{value=}, {int(result)=}, {value == int(result)}')
output value=85070591730234615865843651857942052864, int(result)=85070591730234615865843651857942052864, True
value=85070591730234615865843651857942052864, int(result)=85070591730234615865843651857942052864, True
value = 2**126+1 oid = client.put(float(value)) result = client.get(oid) print(f'{value=}, {int(result)=}, {value == int(result)}')
output: value=85070591730234615865843651857942052865, int(result)=85070591730234615865843651857942052864, False
value=85070591730234615865843651857942052865, int(result)=85070591730234615865843651857942052864, False
If is is a bug report, to help us reproducing this bug, please provide information below:
Your Operation System version (uname -a): Linux 6.8.0-45-generic Fixes bugs in launcher when multiple host and multiple workers involved. #45-Ubuntu SMP PREEMPT_DYNAMIC Fri Aug fd 11 Dumping 301618 Realtime Data. │ 30 12:02:04 UTC 2024 x86_64 x86_64 x86_64 GNU/Linux
uname -a
The version of vineyard you use (vineyard.__version__): '0.24.2'
vineyard.__version__
Versions of crucial packages, such as gcc, numpy, pandas, etc.:
Full stack of the error (if there are a crash):
Minimized code to reproduce the error:
If it is a feature request, please provides a clear and concise description of what you want to happen:
Add any other context about the problem here.
The text was updated successfully, but these errors were encountered:
@wangsq Thanks for reporting this issue, we'll check it as soon as possible.
Sorry, something went wrong.
/cc @sighingnow, this issus/pr has had no activity for a long time, please help to review the status and assign people to work on it.
No branches or pull requests
Describe your problem
When I put a big int number into vineyard, but get just 1 when the value is great than 2**63.
1. Get Right Value
output:
value=9223372036854775807, result=9223372036854775807, True
2. Get Wrong Value When Big Integer
output
value=9223372036854775808, result=1, False
3. Use float cast , get right value
output
value=85070591730234615865843651857942052864, int(result)=85070591730234615865843651857942052864, True
4. Use float cast , get wrong value, big float
output:
value=85070591730234615865843651857942052865, int(result)=85070591730234615865843651857942052864, False
If is is a bug report, to help us reproducing this bug, please provide information below:
Your Operation System version (
uname -a
): Linux 6.8.0-45-generic Fixes bugs in launcher when multiple host and multiple workers involved. #45-Ubuntu SMP PREEMPT_DYNAMIC Fri Aug fd 11 Dumping 301618 Realtime Data. │ 30 12:02:04 UTC 2024 x86_64 x86_64 x86_64 GNU/LinuxThe version of vineyard you use (
vineyard.__version__
): '0.24.2'Versions of crucial packages, such as gcc, numpy, pandas, etc.:
Full stack of the error (if there are a crash):
Minimized code to reproduce the error:
If it is a feature request, please provides a clear and concise description of what you want to happen:
What is the problem:
The behaviour that you expect to work:
Additional context
Add any other context about the problem here.
The text was updated successfully, but these errors were encountered: