mysql / mysql/mysql-shell-plugins
BIGINT values are not displayed correctly
Nobody has claimed this yet.
- Dominant language
- TypeScript
- Stars
- 96
- Forks
- 22
- PR merge metrics
- No merged PRs in 30d
Description
Large BIGINT numbers are not correctly displayed in vscode plugin.
CREATE TABLE test (id BIGINT);
INSERT INTO test VALUES(10000000000000001);
INSERT INTO test VALUES(10000000000000002);
INSERT INTO test VALUES(10000000000000003);
INSERT INTO test VALUES(10000000000000004);
INSERT INTO test VALUES(10000000000000005);
SELECT * FROM test;
+-------------------+
| id |
+-------------------+
| 10000000000000000 |
| 10000000000000002 |
| 10000000000000004 |
| 10000000000000004 |
| 10000000000000004 |
+-------------------+
There is nothing wrong with the data stored in the table, but the display seems to be wrong.
These numbers are correctly displayed in regular terminals and MySQL Workbench.
(local)
MySQL Shell for VS Code v1.14.2
Windows 10
(remote)
Ubuntu20.04
mysql Ver 8.0.35
Thank you,
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
Reproduce the issue in the MySQL Shell for VS Code using the provided BIGINT table and SELECT query, then compare the plugin output with a regular terminal or MySQL Workbench. Done means the plugin displays each inserted value exactly, including 10000000000000001 through 10000000000000005; the issue names no files or tests to start from.
Written by the indexing model from the issue text.
Assessment
- Tech stack
- mysql, typescript, vscode
- Domain
- database, desktop, devtools
- Issue type
- Bug
- Difficulty
- 3/5
- Estimated time
- 1-2 days
- Activity status
- Stale
- Clarity
- Mostly clear
- Newbie friendliness
- 35/100