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

Global controllers that are queried immediately do not work when the number of records is large, such as more than 100,000 rows #1580

Closed
ussr2000 opened this issue Mar 19, 2020 · 11 comments
Assignees
Labels

Comments

@ussr2000
Copy link

In dashboard, if the global controller USES automatic query, some widgets in the page will download less data, but change the global controller to manual query, after the selection of conditions, click the query button, and then download the data, the number of records is normal

@ussr2000
Copy link
Author

davinci-0.3.0-beta.9 release

@scottsut
Copy link
Member

Please provide a reproducible scenario.

@ussr2000
Copy link
Author

1.create a widget,select table view
image
2.create a dashboard
image
3.add a dashboard in the left list
image
4.add a widget to the dashboard
image
5.add a global controller with refresh immediately option
image
image
6.chose a value from global controller ,the widget will refresh automatically ,when the records in the table are more than 100000,then download ,the excel will only have part of the 100000 records ,is not completed
image
7.but when use global controller with manual refresh is ok ,the download excel will have all records
image

@scottsut
Copy link
Member

When you use manual query, Did you also select values from global controls and press the search button before downloading?

@ussr2000
Copy link
Author

yes, after I select values from global controls and press the search button,then download ,the excel have all data ,it is ok

@scottsut
Copy link
Member

We think the behavior in immediate query mode is as expected. Thanks for discovering the problem in manual query mode, the downloaded data should be filtered by global controls whether you press the search button or not.

@scottsut scottsut self-assigned this Mar 20, 2020
@scottsut scottsut added the bug label Mar 20, 2020
@ussr2000
Copy link
Author

but in immediate query mode,the data in downloaded excel is incomplete

@scottsut
Copy link
Member

The downloaded data is not full data, but the data presented by current dashboard.

@ussr2000
Copy link
Author

hello,I think you misunderstood my issue,I mean when I use immediate query mode,when I download the excel ,the data in downloaded excel is incomplete(for examle 70000 ),but when I query data from datebase with the same parameter as the global controller ,the data is complete(for examle 110000 ).
And then when I use manual query mode,the data in downloaded excel is complete(for examle 110000 ).

@scottsut
Copy link
Member

Well...Check if this configuration causes

image

@ussr2000
Copy link
Author

Thank you ,I didn't change the configuration of the widget .The configuration of "immediate query mode" is the same to " manual query mode"

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
Projects
None yet
Development

No branches or pull requests

2 participants