taosdata/TDengine

the issue of resultset of taos_fetch_block

Open

#23,308 opened on Oct 17, 2023

View on GitHub
 (0 comments) (0 reactions) (0 assignees)C (5,002 forks)batch import
help wantedquestion

Repository metrics

Stars
 (24,849 stars)
PR merge metrics
 (Avg merge 1d 1h) (4 merged PRs in 30d)

Description

int taos_fetch_block(TAOS_RES *res, TAOS_ROW *rows) 问题1:形参rows是res里的全部数据吗 问题2:TAOS_ROW的定义是什么样的 问题3:该怎么解析这里的rows 我自己理解以为是类taos_fetch_row这个读记录,只是把每条记录拼接起来,但我用block返回的行数来循环读,rows[i]的和字节偏移的方式都是到第二行是就出错了 官网没有示例程序,望添加上

Contributor guide