提交 2838b0c6 编写于 作者: G Ganlin Zhao

[TD-11220]<feature>(query): time related functions

上级 e6485830
......@@ -1745,6 +1745,13 @@ void vectorTimeFunc(int16_t functionId, tExprOperandInfo *pInputs, int32_t numIn
SET_TYPED_DATA(outputData, pOutput->type, result);
break;
}
case TSDB_FUNC_SCALAR_TIMEZONE: {
assert(numInputs == 1);
memcpy(((char*)varDataVal(outputData)), varDataVal(inputData[0]), varDataLen(inputData[0]));
varDataSetLen(outputData, varDataLen(inputData[0]));
break;
}
default: {
assert(false);
break;
......
Markdown is supported
0% .
You are about to add 0 people to the discussion. Proceed with caution.
先完成此消息的编辑!
想要评论请 注册