-
Notifications
You must be signed in to change notification settings - Fork 8.3k
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
[Lens] Inspector and CSV download does not filter partial columns from formula #121063
Comments
Pinging @elastic/kibana-vis-editors @elastic/kibana-vis-editors-external (Team:VisEditors) |
@ghudgins Discussed with the app services team how to solve this and we have a good plan, but there is one product question related to this - do we want to offer a "mode" for Inspect view and/or CSV export to include these intermediary columns? Or should we just always filter them? I'm leaning towards filtering them at all times to keep things simple - what do you think? Technically, Lens should handle this like Visualize charts - the vis expression function should use its vis-specific knowledge to only register the actually needed columns in the inspector adapter. |
agreed - I wouldn't expect the intermediate columns in the output as a user. keep it simple seems like the right call here...can always reconsider in the "more complexity" direction a lot easier than the other way around |
I have the same problem. It's very annoying. I hope you can include it in the short term plan and that it will be fixed soon. |
@zakwanhaj Actually I opened a PR yesterday that will fix this issue: #128297 It will be released with the next upcoming version 8.2 |
Describe the bug:
Partial columns (hidden, generated by the formula's feature) are exported and downloaded in the CSV file generated.
Steps to reproduce:
unique_values( fieldA ) / count()
unique_values( fieldA )
will be present asPart-of X
, together with the final formula column (all with the same colum name)Expected behavior:
Part-of
but in general hidden columns should be removed from the export.Eventually, it can be considered to let partial results be downloaded as an extra feature, but only on user's request and with a better column description.
The text was updated successfully, but these errors were encountered: