fix: fix nullbit map error
This commit is contained in:
parent
c10e32eb6a
commit
df9be12af0
|
@ -14,10 +14,8 @@ DLL_EXPORT int32_t udf1_init() { return 0; }
|
||||||
DLL_EXPORT int32_t udf1_destroy() { return 0; }
|
DLL_EXPORT int32_t udf1_destroy() { return 0; }
|
||||||
|
|
||||||
DLL_EXPORT int32_t udf1(SUdfDataBlock *block, SUdfColumn *resultCol) {
|
DLL_EXPORT int32_t udf1(SUdfDataBlock *block, SUdfColumn *resultCol) {
|
||||||
|
|
||||||
SUdfColumnData *resultData = &resultCol->colData;
|
SUdfColumnData *resultData = &resultCol->colData;
|
||||||
resultData->numOfRows = block->numOfRows;
|
for (int32_t i = 0; i < block->numOfRows; ++i) {
|
||||||
for (int32_t i = 0; i < resultData->numOfRows; ++i) {
|
|
||||||
int j = 0;
|
int j = 0;
|
||||||
for (; j < block->numOfCols; ++j) {
|
for (; j < block->numOfCols; ++j) {
|
||||||
if (udfColDataIsNull(block->udfCols[j], i)) {
|
if (udfColDataIsNull(block->udfCols[j], i)) {
|
||||||
|
|
Loading…
Reference in New Issue