-
Notifications
You must be signed in to change notification settings - Fork 917
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
[BUG] Data Table Visualisation - The default limit of 3 "Split rows" aggregated buckets isn't applied #1178
Comments
I thought that the limit on other visualisation types was not necessarily due to performance but more because adding more than 3 buckets on a line or bar graph makes little sense and would produce a very confusing visualisation. Is there something somewhere that says that the limit is because of performance? |
Hey @RoyiSitbon I see we have a default advanced setting to set a default limit on the split row. Do we want to set a default limit or should we provide cx an option to set a limit? By creating a default limit, I think it will affect other customers experience because they might not want a limit on the split rows. It might also create some backward compatibility issue. Meanwhile, when I play with the code, I found that even with a default limit to 3, I am still able to add more splits. At least, it is not grey which would then block me add more splits. |
Hey, thanks a lot for replying. I agree and changed the behavior as asked. |
Hey @RoyiSitbon I had a look at #1179 and it looks like you are specifically targeting the We need to come up with a solution that respects the viz types limits and this feature should probably only restrict that limit further. Either at a global level or at a viz type/agg level. But im open to other suggestions. Also the issue title seems to be misleading. I dont see a limit set by the split_row property in the table viz's type definitions schema |
@ashwin-pc do you have any ideas on how we can generalizable solution that we can extend? If not, what would it cost us to push #1799 while we work on a solution that respects viz type or is more global? Seems like @RoyiSitbon has already done the table_viz work but I don't know how much debt or rework this would cause in the future...if the answer is "not much" if might be worth merging the local solution and iterating later on the global solution. @RoyiSitbon any thoughts on above? I know this is holding #1179 and, selfishly, I would like to see this in the next release. |
@ahopp @RoyiSitbon I have some questions about the ask here before i can recommend some suggestions. Is the ask:
for context, this is how limits currently work in Visualize. Each viz type has a type definition which also defined the min and max fields that each visualization type supports. The Data Table viz type definition does not have this limit for the split rows aggregation, but does have some limits for the other aggregations. To add limits, we need to add them here and they will be respected. These limits however are limits of the agg/viz type and not user preferences. |
Describe the bug
The default limit of 3 “Split rows” aggregated buckets isn't applied on this visualization which allows adding more buckets and can harm cluster performance.
In other types of visualizations, there is a default limit of up to 3 “Split rows” aggregated buckets, e.g. Horizontal-Bar visualizations.
To Reproduce
Steps to reproduce the behavior:
Expected behavior
We wish to have an option to configure the max,min limitation for the “Split rows” aggregated bucket under dataTable vis.
i.e. Using this configuration, we will limit the max amount to 3:
Screenshots
Bad behavior -
Good behavior -
The text was updated successfully, but these errors were encountered: