ydb-platform / ydb-platform/ydb-php-sdk
bug: Fix Uint64
Nobody has claimed this yet.
- Dominant language
- PHP
- Stars
- 39
- Forks
- 19
- Avg merge
- 1d 15h
- Merged PRs (30d)
- 2
Description
PHP Doesn't support UInt64 directly and work with the numbers as Int64 under, then switch to double.
I don't know good way for solve it.
Now it can be workarounded for work in PHP with the numbers as string (cast to utf8 while read and send to server as utf8 type too) and work with native uint64 on server side only.
$a = "9523372036854775807";
SELECT CAST($a AS UInt64);
Contributor guide
First steps
- Read the whole issue, then the project's contributing guide.
- Comment on the issue to say you are picking it up — it saves two people doing the same work.
- Fork the repository and make your change on a branch.
- Open a pull request that references the issue number.
Research direction
No source file or test is named. Start by tracing how the PHP SDK reads and sends UInt64 values, then reproduce the provided 9523372036854775807 example; done means values preserve their exact UInt64 meaning across the client/server boundary, including the documented string-based workaround.
Written by the indexing model from the issue text.
Assessment
- Tech stack
- php
- Domain
- databases
- Issue type
- Bug
- Difficulty
- 4/5
- Estimated time
- 3-5 days
- Activity status
- Active
- Clarity
- Needs clarification
- Newbie friendliness
- 45/100