matrixone icon indicating copy to clipboard operation
matrixone copied to clipboard

[Bug]: there is no log with two parameters

Open daviszhen opened this issue 3 years ago • 1 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

Function 'log' with parameters [BIGINT BIGINT] will be implemented in future version.

Expected Behavior

No response

Steps to Reproduce

No response

Additional information

No response

daviszhen avatar Jul 01 '22 03:07 daviszhen

move to 0.6 ok.

dengn avatar Jul 04 '22 01:07 dengn

mysql> SELECT log(((((-2,2); ERROR 20203 (HY000): invalid argument log input, bad value <= 0 mysql> SELECT log(1,2); ERROR 20203 (HY000): invalid argument log base, bad value 1 mysql> SELECT log(2,2); +-----------+ | log(2, 2) | +-----------+ | 1 | +-----------+ 1 row in set (0.00 sec)

mysql> SELECT log(8,2); +---------------------+ | log(8, 2) | +---------------------+ | 0.33333333333333337 | +---------------------+ 1 row in set (0.00 sec)

mysql>

aressu1985 avatar Oct 24 '22 12:10 aressu1985