This commit is contained in:
dapan 2021-06-09 17:43:25 +08:00
parent ebb15e0e6a
commit c4ac06dac4
1 changed files with 3 additions and 1 deletions

View File

@ -2331,6 +2331,8 @@ int32_t addExprAndResultField(SSqlCmd* pCmd, SQueryInfo* pQueryInfo, int32_t col
}
if (info.precision == TSDB_TIME_PRECISION_MILLI) {
tickPerSec /= 1000000;
} else if (info.precision == TSDB_TIME_PRECISION_MICRO) {
tickPerSec /= 1000;
}