Skip to content

[BUG]Negative values not exported correctly #20

@zhongnansu

Description

@zhongnansu

Describe the bug
A clear and concise description of what the bug is.

To Reproduce
Steps to reproduce the behavior:

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

Expected behavior
A clear and concise description of what you expected to happen.

Plugins
Please list all plugins currently enabled.

Screenshots
If applicable, add screenshots to help explain your problem.

Host/Environment (please complete the following information):

  • OS: [e.g. iOS]
  • Version [e.g. 22]

Additional context
Add any other context about the problem here.


Issue occurred when generating CSV file from a table in Discover. Negative numbers appear in the csv with an extra ' in front of them. This is what it looks like:

Negative value Positive value
'-47 520
'-15 475

For reference, this field is of type number

This issue is submitted by @melvinkokxw
opendistro-for-elasticsearch/kibana-reports#344

Metadata

Metadata

Assignees

Labels

bugSomething isn't workingcsv

Type

No type

Projects

No projects

Milestone

Relationships

None yet

Development

No branches or pull requests

Issue actions