Skip to content
New issue

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

JetBrains data tool show int as float (with a lot of 0) #1631

Closed
dungdm93 opened this issue Aug 2, 2018 · 5 comments
Closed

JetBrains data tool show int as float (with a lot of 0) #1631

dungdm93 opened this issue Aug 2, 2018 · 5 comments

Comments

@dungdm93
Copy link

dungdm93 commented Aug 2, 2018

I use DataGrip (2018.2) connect to MySQL cluster via ProxySQL, then I try some query and I got following result:
image
The table DDL:

create table django_content_type
(
  id        int auto_increment primary key,
  app_label varchar(100) not null,
  model     varchar(100) not null,
  constraint django_content_type_app_label_model_76bd3d3b_uniq
  unique (app_label, model)
);

I have tried other methods, such as: DataGrip connect to MySQL directly, mysql client (terminal) connect to ProxySQL.... but everything look good.

@renecannao
Copy link
Contributor

DataGrip is this, right?
https://www.jetbrains.com/datagrip/
I will try to reproduce it.

@dungdm93
Copy link
Author

dungdm93 commented Aug 2, 2018

Yes! It is or any JetBrains IDEs (PyCharm, IntelliJ,...) with database plugin.

@bsramin
Copy link

bsramin commented Aug 24, 2018

same problem here

@bsramin
Copy link

bsramin commented Aug 24, 2018

resolved here #1192 (comment)

@renecannao
Copy link
Contributor

Added flag CLIENT_LONG_FLAG to CapabilityFlags in 1.4.12 and 2.0.0.
Certain libraries do not need that (C API for example), but others seems to rely on it.

Dieken pushed a commit to Dieken/proxysql that referenced this issue May 7, 2019
Dieken pushed a commit to Dieken/proxysql that referenced this issue May 13, 2019
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

3 participants