提交 6c634ff7 编写于 作者: J jiacy-jcy

add case for percentile

上级 390cba6d
......@@ -40,14 +40,14 @@ class TDTestCase:
floatData.append(i + 0.1)
# percentile verifacation
tdSql.error("select percentile(ts 20) from test")
tdSql.error("select apercentile(ts 20) from test")
tdSql.error("select percentile(col7 20) from test")
tdSql.error("select apercentile(col7 20) from test")
tdSql.error("select percentile(col8 20) from test")
tdSql.error("select apercentile(col8 20) from test")
tdSql.error("select percentile(col9 20) from test")
tdSql.error("select apercentile(col9 20) from test")
tdSql.error("select percentile(ts ,20) from test")
tdSql.error("select apercentile(ts ,20) from test")
tdSql.error("select percentile(col7 ,20) from test")
tdSql.error("select apercentile(col7 ,20) from test")
tdSql.error("select percentile(col8 ,20) from test")
tdSql.error("select apercentile(col8 ,20) from test")
tdSql.error("select percentile(col9 ,20) from test")
tdSql.error("select apercentile(col9 ,20) from test")
tdSql.query("select percentile(col1, 0) from test")
tdSql.checkData(0, 0, np.percentile(intData, 0))
......
Markdown is supported
0% .
You are about to add 0 people to the discussion. Proceed with caution.
先完成此消息的编辑!
想要评论请 注册