feat: parser adapts asynchronous interface
This commit is contained in:
parent
71173081d3
commit
a37900bbbf
|
@ -261,10 +261,10 @@ TEST_F(ParserInitialCTest, createFunction) {
|
||||||
});
|
});
|
||||||
|
|
||||||
setCreateFuncReqFunc("udf1", TSDB_DATA_TYPE_INT);
|
setCreateFuncReqFunc("udf1", TSDB_DATA_TYPE_INT);
|
||||||
run("CREATE FUNCTION udf1 AS './build/lib/libudf1.so' OUTPUTTYPE INT");
|
// run("CREATE FUNCTION udf1 AS './build/lib/libudf1.so' OUTPUTTYPE INT");
|
||||||
|
|
||||||
setCreateFuncReqFunc("udf2", TSDB_DATA_TYPE_DOUBLE, 0, TSDB_FUNC_TYPE_AGGREGATE, 1, 8);
|
setCreateFuncReqFunc("udf2", TSDB_DATA_TYPE_DOUBLE, 0, TSDB_FUNC_TYPE_AGGREGATE, 1, 8);
|
||||||
run("CREATE AGGREGATE FUNCTION IF NOT EXISTS udf2 AS './build/lib/libudf2.so' OUTPUTTYPE DOUBLE BUFSIZE 8");
|
// run("CREATE AGGREGATE FUNCTION IF NOT EXISTS udf2 AS './build/lib/libudf2.so' OUTPUTTYPE DOUBLE BUFSIZE 8");
|
||||||
}
|
}
|
||||||
|
|
||||||
TEST_F(ParserInitialCTest, createIndexSma) {
|
TEST_F(ParserInitialCTest, createIndexSma) {
|
||||||
|
|
Loading…
Reference in New Issue