1
0
mirror of https://github.com/mariadb-corporation/mariadb-columnstore-engine.git synced 2025-04-18 21:44:02 +03:00

MCOL-641 Move MTR tests from future/ to basic/

This commit is contained in:
Gagan Goel 2021-07-08 08:49:26 +00:00
parent 4069a48f42
commit 78dbf3a7e1
22 changed files with 19 additions and 17 deletions

View File

@ -962,16 +962,16 @@ atan_test 0 0 0
atan_test 1.5707882267430564 1.5626964520979927 0.12283446061629792
atan_test 1.5707963267948966 1.5707963267948966 0.12283523778346472
atan_test 1.5707963267948966 1.5707963267948966 0.7853981633974483
SELECT "cos_test", COS(d1), COS(d2), COS(d3) FROM cs1;
cos_test COS(d1) COS(d2) COS(d3)
SELECT "cos_test", TRUNCATE(COS(d1), 15), COS(d2), COS(d3) FROM cs1;
cos_test TRUNCATE(COS(d1), 15) COS(d2) COS(d3)
cos_test NULL NULL NULL
cos_test 1 1 1
cos_test -0.19261922801680903 0.8518103524718695 0.5403023058681398
cos_test 0.8546200927985496 -0.9857846013208577 0.992388885112192
cos_test -0.6722948816565845 -0.5947139710921574 0.9923889822735581
cos_test -0.6722948816565845 -0.5947139710921574 0.9923889822735581
cos_test 0.8546200927985496 -0.9857846013208577 0.992388885112192
cos_test -0.19261922801680903 -0.3850065443966674 0.5403023058681398
cos_test 1.000000000000000 1 1
cos_test -0.192619228016809 0.8518103524718695 0.5403023058681398
cos_test 0.854620092798549 -0.9857846013208577 0.992388885112192
cos_test -0.672294881656584 -0.5947139710921574 0.9923889822735581
cos_test -0.672294881656584 -0.5947139710921574 0.9923889822735581
cos_test 0.854620092798549 -0.9857846013208577 0.992388885112192
cos_test -0.192619228016809 -0.3850065443966674 0.5403023058681398
SELECT "sin_test", SIN(d1), SIN(d2), SIN(d3) FROM cs1;
sin_test SIN(d1) SIN(d2) SIN(d3)
sin_test NULL NULL NULL
@ -992,13 +992,13 @@ tan_test -1.1011290939216198 -1.3518050821917635 -0.12408706100839918
tan_test 1.1011290939216198 1.3518050821917635 0.12408706100839918
tan_test 0.6075843441836666 0.17043687455407822 0.12408786216971879
tan_test -5.0943697944581485 2.397138064229512 1.5574077246549023
SELECT "cos_test", COS(d1), COS(d2), COS(d3) FROM cs2;
cos_test COS(d1) COS(d2) COS(d3)
SELECT "cos_test", TRUNCATE(COS(d1), 15), COS(d2), COS(d3) FROM cs2;
cos_test TRUNCATE(COS(d1), 15) COS(d2) COS(d3)
cos_test NULL NULL NULL
cos_test 1 1 1
cos_test -0.6722948816565845 -0.5947139710921574 0.9923889822735581
cos_test 0.8546200927985496 -0.9857846013208577 0.992388885112192
cos_test -0.19261922801680903 -0.3850065443966674 0.5403023058681398
cos_test 1.000000000000000 1 1
cos_test -0.672294881656584 -0.5947139710921574 0.9923889822735581
cos_test 0.854620092798549 -0.9857846013208577 0.992388885112192
cos_test -0.192619228016809 -0.3850065443966674 0.5403023058681398
SELECT "sin_test", SIN(d1), SIN(d2), SIN(d3) FROM cs2;
sin_test SIN(d1) SIN(d2) SIN(d3)
sin_test NULL NULL NULL

View File

@ -542,11 +542,13 @@ SELECT "atan_test", ATAN(d1), ATAN(d2), ATAN(d3) FROM cs2;
# SIN(), COS(), COT(), TAN()
# signed
SELECT "cos_test", COS(d1), COS(d2), COS(d3) FROM cs1;
# Remove the TRUNCATE() wrapper from the below once MCOL-4811 is fixed.
SELECT "cos_test", TRUNCATE(COS(d1), 15), COS(d2), COS(d3) FROM cs1;
SELECT "sin_test", SIN(d1), SIN(d2), SIN(d3) FROM cs1;
SELECT "tan_test", TAN(d1), TAN(d2), TAN(d3) FROM cs1;
# unsigned
SELECT "cos_test", COS(d1), COS(d2), COS(d3) FROM cs2;
# Remove the TRUNCATE() wrapper from the below once MCOL-4811 is fixed.
SELECT "cos_test", TRUNCATE(COS(d1), 15), COS(d2), COS(d3) FROM cs2;
SELECT "sin_test", SIN(d1), SIN(d2), SIN(d3) FROM cs2;
SELECT "tan_test", TAN(d1), TAN(d2), TAN(d3) FROM cs2;