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

Existing Cluster Column Chart from beta3 stopped working in beta4 #1648

Closed
clementchong opened this issue Jul 14, 2022 · 13 comments
Closed

Existing Cluster Column Chart from beta3 stopped working in beta4 #1648

clementchong opened this issue Jul 14, 2022 · 13 comments
Assignees
Labels
bug Something isn't working frontend
Milestone

Comments

@clementchong
Copy link
Contributor

Datart Version
1.0.0b4

Describe the bug
An existing cluster column chart from beta 3 stopped working in beta 4. The data source is the same and both beta3 and beta4 are running in parallel for regression test. The "# Product" in the dimension is the prod_type_count field from dataset.

Manually creating the chart again in beta 4 has same issue.

To Reproduce
Steps to reproduce the behavior:

  1. Go to '...'
  2. Click on '....'
  3. Scroll down to '....'
  4. See error

Expected behavior
The charts should display the same in beta 4.

Screenshots

Data seen from beta 3:
image

Chart from beta 3:
image

Data seen from beta 4:
image

Chart seen from beta 4:
image

Environmental details: (optional, depending on where the bug occurs)

  • OS: [e.g. Windows 10]
  • Source Database: [e.g. MySQL 8.0.26]
  • Browser: [e.g. chrome 94, safari 15]

Additional context
Add any other context about the problem here.

@Cuiyansong
Copy link
Contributor

Cuiyansong commented Jul 15, 2022

The issue maybe same as whitespace in database column name, could you try to remove "#" mark and only keep " Products"?

@Cuiyansong Cuiyansong added the question Further information is requested label Jul 15, 2022
@clementchong
Copy link
Contributor Author

The issue maybe same as whitespace in database column name, could you try to remove "#" mark and only keep " Products"?

I tried removing the field alias but still same issue.

image

When I try remove the prod_type from "Color" box, the chart appears but it does not provide the product split information like before.

image

@Cuiyansong
Copy link
Contributor

I mean could you try to change "# Products" and "# Clients" to " Products" and " Clients"?

@clementchong
Copy link
Contributor Author

I mean could you try to change "# Products" and "# Clients" to " Products" and " Clients"?

Yes of course. Removed all aliases.

image

@clementchong
Copy link
Contributor Author

There are only 3 fields in the SQL and I can see the data but the chart is not rendering.

image

image

@Cuiyansong
Copy link
Contributor

Sorry for misunderstanding, let me try to produce the error first.

@Cuiyansong Cuiyansong added the bug Something isn't working label Jul 15, 2022
@Cuiyansong Cuiyansong self-assigned this Jul 15, 2022
@clementchong
Copy link
Contributor Author

ok thank you. I turned on debug but do not see SQL error, hence checking here.

@Cuiyansong Cuiyansong added frontend and removed question Further information is requested labels Jul 15, 2022
@Cuiyansong Cuiyansong added this to the RC.0 milestone Jul 15, 2022
@Cuiyansong
Copy link
Contributor

This issue will be fixed in rc.0, thanks for your contributions 👍🏿 .

@Cuiyansong Cuiyansong added the need signoff in pre-release Validating this bug label Jul 15, 2022
@clementchong
Copy link
Contributor Author

Ok, what is the root cause? Let me know when PR is available. I can merge locally to test. I cannot upgrade to beta 4 for now.

@Cuiyansong
Copy link
Contributor

This is #790 , root cause is number value is not strict equal to string value when compare two value.

@clementchong
Copy link
Contributor Author

Ok thank you!

@Cuiyansong Cuiyansong removed the need signoff in pre-release Validating this bug label Jul 25, 2022
@Cuiyansong
Copy link
Contributor

感谢贡献,此问题已验证并修复,如新版本仍然有问题请留言或者重开此问题。

@clementchong
Copy link
Contributor Author

感谢贡献,此问题已验证并修复,如新版本仍然有问题请留言或者重开此问题。

好的!谢谢你!

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
bug Something isn't working frontend
Projects
None yet
Development

No branches or pull requests

3 participants