matrixone icon indicating copy to clipboard operation
matrixone copied to clipboard

[Bug]: ln(-1) currently returns null, should be error

Open fengttt opened this issue 2 years ago • 2 comments

Is there an existing issue for the same bug?

  • [X] I have checked the existing issues.

Environment

- Version or commit-id (e.g. v0.1.0 or 8b23a93):
- Hardware parameters:
- OS type:
- Others:

Actual Behavior

for functions like ln, atan, etc, MySQL return null when we see invalid args. This is simply wrong. We should fix, raise error.

Expected Behavior

error.

Steps to Reproduce

No response

Additional information

I will do this after vector bitmap work and error message framework. Maybe this is a good candidate for error framework example.

fengttt avatar Jul 12 '22 15:07 fengttt

This is very much like the overflow work.

fengttt avatar Jul 30 '22 14:07 fengttt

ok, I see

qingxinhome avatar Aug 01 '22 01:08 qingxinhome