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

[BUG]Discover page PPL and SQL API long values do not correspond to UI #9305

Open
ArgusLi opened this issue Jan 30, 2025 · 0 comments
Open
Labels
bug Something isn't working discover-next untriaged

Comments

@ArgusLi
Copy link
Contributor

ArgusLi commented Jan 30, 2025

Describe the bug

For the Discover page, when there is a large Long Value (e.g. 1,733,270,955,080,999,936), the UI will display the number with full precision, but the API call will display the value with precision up til the hundreds (e.g. 1733270955081000000).

To Reproduce
Steps to reproduce the behavior:

  1. Using a dataset containing a long value that is large.
  2. Go to Discover.
  3. Select PPL or SQL Index patterns.
  4. Open the console, network and record.
  5. Run a query that will show the large long value.
  6. Compare the API result to that of the UI result.
    Expected behavior
    The API response body should contain the same number as the UI

OpenSearch Version
Latest release.

Dashboards Version
Latest release.

Plugins

None

Screenshots

Image

Host/Environment (please complete the following information):

  • OS: MacOS
  • Browser and version: Chrome Version 131.0.6778.140 (Official Build) (arm64)
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
bug Something isn't working discover-next untriaged
Projects
None yet
Development

No branches or pull requests

2 participants