Wrong precision visible for numeric datatype (result grid) with Postgres
See original GitHub issueSystem information:
- Operating system Win 10
- DBeaver version 5.3.3
- Java version
Description
When using the grid view for results, numeric datatypes are truncated for display. When double clicking into the result cell, it shows the correct precision. Text result view also shows the correct precision.
This can lead to user confusion 😉 Not sure if locale settings also play a role here.
Steps to reproduce:
SELECT 123.4::numeric(9,6);
Issue Analytics
- State:
- Created 5 years ago
- Comments:17 (9 by maintainers)
Top Results From Across the Web
Documentation: 15: 8.1. Numeric Types - PostgreSQL
We use the following terms below: The precision of a numeric is the total count of significant digits in the whole number, that...
Read more >Data Types - Tableau Help
Sometimes Tableau incorrectly interprets the data type of a field. ... resulting floating-point field in Tableau will have some of its precision truncated....
Read more >PostgreSQL - change precision of numeric? - Stack Overflow
Try this: ALTER Table account_invoice ALTER COLUMN amount_total TYPE DECIMAL(10,5); DECIMAL(X, Y) -> X represents full length and Y represents ...
Read more >SSIS Data types: Change from the Advanced Editor vs Data ...
In this article, we will give an overview on SSIS data types and data types ... Precision: Set the column precision for numeric...
Read more >Managing Data Formats - DBeaver Documentation
You can change the format of the following data types: ... mode - Specifies a rounding behavior for numerical operations capable of discarding...
Read more >Top Related Medium Post
No results found
Top Related StackOverflow Question
No results found
Troubleshoot Live Code
Lightrun enables developers to add logs, metrics and snapshots to live code - no restarts or redeploys required.
Start FreeTop Related Reddit Thread
No results found
Top Related Hackernoon Post
No results found
Top Related Tweet
No results found
Top Related Dev.to Post
No results found
Top Related Hashnode Post
No results found
Top GitHub Comments
This is configurable in preferences (global or connection-specific). You can change minimum fraction digits:
In plaintext mode DBeaver uses native numbers representation by default.
Thanks a lot, It has been fix at Version 21.3.3