mirror of
https://github.com/dbeaver/cloudbeaver.git
synced 2026-04-25 05:36:14 +03:00
[GH-ISSUE #206] Type error: MYSQL, Can't serialize value / Expected type Int but was Long #56
Labels
No labels
AS
can't reproduce
can't reproduce
deployment
development
documentation
duplicate
duplicate
ee
enhancement
external
new driver
performance
pull-request
third party issue
wait for response
wait for review
wontfix
x:Oracle
x:cassandra
x:clickhouse
x:db2
x:duckdb
x:greenplum
x:h2
x:h2gis
x:hana
x:hive
x:intersystems
x:kyuubi
x:maria
x:mongo
x:mysql
x:postgresql
x:presto
x:sql server
x:sqlite
x:teradata
x:trino
xf:accessibility
xf:administration
xf:ai
xf:authentication
xf:aws
xf:commit-mode
xf:connection
xf:dark theme
xf:data editor
xf:datatransfer
xf:dba
xf:driver management
xf:erd
xf:filters
xf:i18n
xf:i18n
xf:installer
xf:json
xf:kerberos
xf:ldap
xf:local config
xf:log viewer
xf:metadata
xf:metadata editor
xf:navigator
xf:okta
xf:query manager
xf:resource manager
xf:scripts
xf:sql editor
xf:tasks
xf:ui/uix
xo: Firefox
xo:eclipse
xo:internet explorer
xo:macos
xp:major
xrn:internal
No milestone
No project
No assignees
1 participant
Notifications
Due date
No due date set.
Dependencies
No dependencies set.
Reference
starred/cloudbeaver#56
Loading…
Add table
Add a link
Reference in a new issue
No description provided.
Delete branch "%!s()"
Deleting a branch is permanent. Although the deleted branch may continue to exist for a short time before it actually gets removed, it CANNOT be undone in most cases. Continue?
Originally created by @Rivi-IT on GitHub (Nov 5, 2020).
Original GitHub issue: https://github.com/dbeaver/cloudbeaver/issues/206
Originally assigned to: @serge-rider on GitHub.
Describe the bug
We are looking for a cloud based SQL Management Tool - so we take a first look at Cloudbeaver.
The installation is container based with podman.
To Reproduce
Login to CloudBeaver as Admin or User
Connection to SQL Server as root or User with grant all for WordPress database
DB Admin with grant all for database <db_name>.
Select table "wp_options", try to open table "wp_options".
Error
Can't serialize value (/readDataFromContainer/results[0]/resultSet/columns[2]/maxLength) : Expected type 'Int' but was 'Long'.
Screenshots

Desktop (please complete the following information):
OS: Win 10
Browser: Firefox
Version: 82
Browser: Vivaldi
Version: 3.3.2022
OS: Lubuntu 20.04
Browser: Firefox
Version: 82
Additional context
@kseniiaguzeeva commented on GitHub (Nov 6, 2020):
Thank you for the bug report.
@serge-rider commented on GitHub (Nov 6, 2020):
Fixed.
GraphQL (java-graphql library) doesn't allow Int values bigger than maximum 32bit signed integer.
Also JS and GraphQL don't support 64 bit integers (as JS represents all numbers as double precision float values).
I've changed GQL data types from Int to Float in metadata describing data types. It fixed this particular issue.
However we may have other problems with 64 bit long integers in future.
@Rivi-IT commented on GitHub (Nov 8, 2020):
Thanks for fix: table rows are fetched and displayed, row update is working too.
However, i didn't check all features till now .