You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
What is the bug?
When you divide or modulus two byte values together using DIVIDE(), /, MODULUS(), MOD(), and % if the denominator value is 0 then the following error will be returned: TransportError(503, 'ArithmeticException', {'error': {'reason': 'There was internal problem at backend', 'details': '/ by zero', 'type': 'ArithmeticException'}, 'status': 503})
How can one reproduce the bug?
Start OpenSearch on localhost:9200.
What is the bug?
When you divide or modulus two byte values together using DIVIDE(), /, MODULUS(), MOD(), and % if the denominator value is 0 then the following error will be returned:
TransportError(503, 'ArithmeticException', {'error': {'reason': 'There was internal problem at backend', 'details': '/ by zero', 'type': 'ArithmeticException'}, 'status': 503})
How can one reproduce the bug?
Start OpenSearch on localhost:9200.
Create and load mappings file: byte_mapping.json
Load mappings file:
Create and load mappings file: byte.json
Load mappings file:
Run SQL command:
SELECT DIVIDE(value, value) FROM byte;
What is the expected behavior?
a null value should be returned
What is your host/environment?
The text was updated successfully, but these errors were encountered: