[parser] add tests

This commit is contained in:
lzmhhh123
2018-11-02 12:43:22 +08:00
committed by Ti Chi Robot
parent 3400fec39a
commit 1edbdcaaf9

View File

@ -1296,7 +1296,9 @@ func (s *testParserSuite) TestBuiltin(c *C) {
{`select std(c1) from t`, true},
{`select stddev(c1) from t`, true},
{`select stddev_pop(c1) from t`, true},
{`select stddev_pop(distinct c1 from t)`, true},
{`select stddev_pop(distinct c1) from t`, true},
{`select stddev_samp(c1) from t`, true},
{`select stddev_samp(distinct c1) from t`, true},
// for encryption and compression functions
{`select AES_ENCRYPT('text',UNHEX('F3229A0B371ED2D9441B830D21A390C3'))`, true},