Skip to content

Commit

Permalink
[parser] add tests
Browse files Browse the repository at this point in the history
  • Loading branch information
lzmhhh123 authored and ti-chi-bot committed Oct 9, 2021
1 parent 3400fec commit 1edbdca
Showing 1 changed file with 3 additions and 1 deletion.
4 changes: 3 additions & 1 deletion parser/parser_test.go
Original file line number Diff line number Diff line change
Expand Up @@ -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},
Expand Down

0 comments on commit 1edbdca

Please sign in to comment.