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] Power(0, x) returns null instead of 0 #1740

Open
GumpacG opened this issue Jun 14, 2023 · 0 comments
Open

[BUG] Power(0, x) returns null instead of 0 #1740

GumpacG opened this issue Jun 14, 2023 · 0 comments
Labels
bug Something isn't working tdvt Tableau test framework

Comments

@GumpacG
Copy link
Collaborator

GumpacG commented Jun 14, 2023

What is the bug?
Power(0, x) returns null instead of 0
Tableau tdvt test case fails for
test file: /opt/homebrew/lib/python3.11/site-packages/tdvt/exprtests/standard/setup.operator.num.txt
test case: num0 ^ num1

How can one reproduce the bug?
Steps to reproduce the behavior:

  1. Load calcs to opensearch i
  2. run query
SELECT POWER(0, 1.1)
FROM calcs
  1. See result as null instead of 0

What is the expected behavior?
Result should be 0

What is your host/environment?

  • OpenSearch 2.8
  • SQL 2.8
  • Connector 1.0
@GumpacG GumpacG added bug Something isn't working tdvt Tableau test framework labels Jun 14, 2023
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
bug Something isn't working tdvt Tableau test framework
Projects
None yet
Development

No branches or pull requests

2 participants