• Home
  • Features
  • Pricing
  • Docs
  • Announcements
  • Sign In

taosdata / TDengine / #4979

09 Mar 2026 09:42AM UTC coverage: 68.512% (+0.07%) from 68.439%
#4979

push

travis-ci

web-flow
doc: update user manual. (#34693)

211961 of 309380 relevant lines covered (68.51%)

134839524.93 hits per line

Source File
Press 'n' to go to next uncovered line, 'b' for previous

91.67
/source/libs/executor/inc/executorInt.h
1
/*
2
 * Copyright (c) 2019 TAOS Data, Inc. <jhtao@taosdata.com>
3
 *
4
 * This program is free software: you can use, redistribute, and/or modify
5
 * it under the terms of the GNU Affero General Public License, version 3
6
 * or later ("AGPL"), as published by the Free Software Foundation.
7
 *
8
 * This program is distributed in the hope that it will be useful, but WITHOUT
9
 * ANY WARRANTY; without even the implied warranty of MERCHANTABILITY or
10
 * FITNESS FOR A PARTICULAR PURPOSE.
11
 *
12
 * You should have received a copy of the GNU Affero General Public License
13
 * along with this program. If not, see <http://www.gnu.org/licenses/>.
14
 */
15
#ifndef TDENGINE_EXECUTORINT_H
16
#define TDENGINE_EXECUTORINT_H
17

18
#ifdef __cplusplus
19
extern "C" {
20
#endif
21

22
#include "os.h"
23
#include "tcommon.h"
24
#include "theap.h"
25
#include "tlosertree.h"
26
#include "tsort.h"
27
#include "tvariant.h"
28

29
#include "dataSinkMgt.h"
30
#include "executil.h"
31
#include "executor.h"
32
#include "planner.h"
33
#include "scalar.h"
34
#include "taosdef.h"
35
#include "tarray.h"
36
#include "tfill.h"
37
#include "thash.h"
38
#include "tlockfree.h"
39
#include "tmsg.h"
40
#include "tpagedbuf.h"
41
#include "tlrucache.h"
42
#include "tworker.h"
43

44
typedef int32_t (*__block_search_fn_t)(char* data, int32_t num, int64_t key, int32_t order);
45

46
typedef struct STsdbReader STsdbReader;
47
typedef struct STqReader   STqReader;
48

49
typedef enum EExtWinMode {
50
  EEXT_MODE_SCALAR = 1,
51
  EEXT_MODE_AGG,
52
  EEXT_MODE_INDEFR_FUNC,
53
} EExtWinMode;
54

55
#define IS_VALID_SESSION_WIN(winInfo)        ((winInfo).sessionWin.win.skey > 0)
56
#define SET_SESSION_WIN_INVALID(winInfo)     ((winInfo).sessionWin.win.skey = INT64_MIN)
57
#define IS_INVALID_SESSION_WIN_KEY(winKey)   ((winKey).win.skey <= 0)
58
#define SET_SESSION_WIN_KEY_INVALID(pWinKey) ((pWinKey)->win.skey = INT64_MIN)
59

60
#define IS_STREAM_MODE(_task) ((_task)->execModel == OPTR_EXEC_MODEL_STREAM)
61

62
/**
63
 * If the number of generated results is greater than this value,
64
 * query query will be halt and return results to client immediate.
65
 */
66
typedef struct SResultInfo {  // TODO refactor
67
  int64_t totalRows;          // total generated result size in rows
68
  int64_t totalBytes;         // total results in bytes.
69
  int32_t capacity;           // capacity of current result output buffer
70
  int32_t threshold;          // result size threshold in rows.
71
} SResultInfo;
72

73
typedef struct STableQueryInfo {
74
  TSKEY              lastKey;  // last check ts, todo remove it later
75
  SResultRowPosition pos;      // current active time window
76
} STableQueryInfo;
77

78
typedef struct SLimit {
79
  int64_t limit;       // default -1, no limit
80
  int64_t offset;
81
} SLimit;
82

83
typedef struct STableScanAnalyzeInfo SFileBlockLoadRecorder;
84

85
enum {
86
  STREAM_RECOVER_STEP__NONE = 0,
87
  STREAM_RECOVER_STEP__PREPARE1,
88
  STREAM_RECOVER_STEP__PREPARE2,
89
  STREAM_RECOVER_STEP__SCAN1,
90
};
91

92
extern int32_t fetchObjRefPool;
93

94
typedef struct {
95
  char*   pData;
96
  bool    isNull;
97
  int16_t type;
98
  int32_t bytes;
99
} SGroupKeys, SStateKeys;
100

101
typedef struct {
102
  char*           tablename;
103
  char*           dbname;
104
  int32_t         tversion;
105
  int32_t         rversion;
106
  SSchemaWrapper* sw;
107
  SSchemaWrapper* qsw;
108
} SSchemaInfo;
109

110
typedef struct SExchangeOpStopInfo {
111
  int32_t operatorType;
112
  int64_t refId;
113
} SExchangeOpStopInfo;
114

115
typedef struct SGcOperatorParam {
116
  int64_t sessionId;
117
  int32_t downstreamIdx;
118
  int32_t vgId;
119
  int64_t tbUid;
120
  bool    needCache;
121
} SGcOperatorParam;
122

123
typedef struct SGcNotifyOperatorParam {
124
  int32_t downstreamIdx;
125
  int32_t vgId;
126
  int64_t tbUid;
127
} SGcNotifyOperatorParam;
128

129
struct SExprSupp {
130
  SExprInfo*      pExprInfo;
131
  int32_t         numOfExprs;  // the number of scalar expression in group operator
132
  SqlFunctionCtx* pCtx;
133
  int32_t*        rowEntryInfoOffset;  // offset value for each row result cell info
134
  SFilterInfo*    pFilterInfo;
135
  bool            hasWindowOrGroup;    // denote that the function is used with time window or group
136
  bool            hasWindow;           // denote that the function is used with time window
137
  bool            hasIndefRowsFunc;
138
};
139

140
typedef enum {
141
  EX_SOURCE_DATA_NOT_READY = 0x1,
142
  EX_SOURCE_DATA_STARTED,
143
  EX_SOURCE_DATA_READY,
144
  EX_SOURCE_DATA_EXHAUSTED,
145
} EX_SOURCE_STATUS;
146

147
#define COL_MATCH_FROM_COL_ID  0x1
148
#define COL_MATCH_FROM_SLOT_ID 0x2
149

150
typedef struct SLoadRemoteDataInfo {
151
  uint64_t totalSize;     // total load bytes from remote
152
  uint64_t totalRows;     // total number of rows
153
  uint64_t totalElapsed;  // total elapsed time
154
} SLoadRemoteDataInfo;
155

156
typedef struct SLimitInfo {
157
  SLimit   limit;
158
  SLimit   slimit;
159
  uint64_t currentGroupId;
160
  int64_t  remainGroupOffset;
161
  int64_t  numOfOutputGroups;
162
  int64_t  remainOffset;
163
  int64_t  numOfOutputRows;
164
} SLimitInfo;
165

166
typedef struct SSortMergeJoinOperatorParam {
167
  bool initDownstream;
168
} SSortMergeJoinOperatorParam;
169

170
typedef enum EExchangeSourceType {
171
  EX_SRC_TYPE_STB_JOIN_SCAN = 1,
172
  EX_SRC_TYPE_VSTB_SCAN,
173
  EX_SRC_TYPE_VSTB_WIN_SCAN,
174
  EX_SRC_TYPE_VSTB_AGG_SCAN,
175
  EX_SRC_TYPE_VSTB_TAG_SCAN,
176
  EX_SRC_TYPE_VTB_WIN_SCAN,
177
  EX_SRC_TYPE_VSTB_TS_SCAN,
178
  EX_SRC_TYPE_VSTB_INTERVAL_SCAN,
179
  EX_SRC_TYPE_VSTB_PART_INTERVAL_SCAN,
180
} EExchangeSourceType;
181

182
typedef enum {
183
  DYN_TYPE_EXCHANGE_PARAM = 1,
184
  NOTIFY_TYPE_EXCHANGE_PARAM,
185
} EExchangeGetParamType;
186

187
typedef struct SExchangeOperatorBasicParam {
188
  EExchangeGetParamType paramType;
189
  /* dynamic scan params */
190
  int32_t               vgId;
191
  int32_t               srcOpType;
192
  bool                  tableSeq;
193
  SArray*               uidList;
194
  EExchangeSourceType   type;
195
  bool                  isNewDeployed; // used with newDeployedSrc
196
  bool                  isNewParam;
197
  uint64_t              groupid;
198
  SOrgTbInfo*           orgTbInfo;
199
  SArray*               batchOrgTbInfo; // SArray<SOrgTbInfo>
200
  SArray*               tagList;
201
  STimeWindow           window;
202
  SDownstreamSourceNode newDeployedSrc; // used with isNewDeployed
203
  /* notify scan params */
204
  TSKEY notifyTs;
205
} SExchangeOperatorBasicParam;
206

207
typedef struct SExchangeOperatorBatchParam {
208
  bool       multiParams;
209
  SSHashObj* pBatchs;  // SExchangeOperatorBasicParam
210
} SExchangeOperatorBatchParam;
211

212
typedef struct SExchangeOperatorParam {
213
  bool                        multiParams;
214
  SExchangeOperatorBasicParam basic;
215
} SExchangeOperatorParam;
216

217
typedef struct SExchangeSrcIndex {
218
  int32_t srcIdx;
219
  int32_t inUseIdx;
220
} SExchangeSrcIndex;
221

222
typedef struct SExchangeInfo {
223
  bool       isExchange;  // KEEP IT FIRST
224
  int64_t    seqId;
225
  SArray*    pSources;
226
  SSHashObj* pHashSources;
227
  SArray*    pSourceDataInfo;
228
  tsem_t     ready;
229
  void*      pTransporter;
230

231
  // SArray<SSDataBlock*>, result block list, used to keep the multi-block that
232
  // passed by downstream operator
233
  SArray*      pResultBlockList;
234
  SArray*      pRecycledBlocks;  // build a pool for small data block to avoid to repeatly create and then destroy.
235
  SSDataBlock* pDummyBlock;      // dummy block, not keep data
236
  bool         seqLoadData;      // sequential load data or not, false by default
237
  bool         dynamicOp;
238
  bool         dynTbname;         // %%tbname for stream    
239
  int32_t      current;
240
  SLoadRemoteDataInfo loadInfo;
241
  int64_t             self;
242
  SLimitInfo          limitInfo;
243
  int64_t             openedTs;  // start exec time stamp, todo: move to SLoadRemoteDataInfo
244
  char*               pTaskId;
245
  SArray*             pFetchRpcHandles;
246
  bool                notifyToSend;  // need to send notify STEP DONE message
247
  TSKEY               notifyTs;      // notify timestamp
248
} SExchangeInfo;
249

250
typedef struct SScanInfo {
251
  int32_t numOfAsc;
252
  int32_t numOfDesc;
253
} SScanInfo;
254

255
typedef struct SSampleExecInfo {
256
  double   sampleRatio;  // data block sample ratio, 1 by default
257
  uint32_t seed;         // random seed value
258
} SSampleExecInfo;
259

260
enum {
261
  TABLE_SCAN__TABLE_ORDER = 1,
262
  TABLE_SCAN__BLOCK_ORDER = 2,
263
};
264

265
typedef enum ETableCountState {
266
  TABLE_COUNT_STATE_NONE = 0,       // before start scan
267
  TABLE_COUNT_STATE_SCAN = 1,       // cur group scanning
268
  TABLE_COUNT_STATE_PROCESSED = 2,  // cur group processed
269
  TABLE_COUNT_STATE_END = 3,        // finish or noneed to process
270
} ETableCountState;
271

272
struct SAggSupporter {
273
  SSHashObj*     pResultRowHashTable;  // quick locate the window object for each result
274
  char*          keyBuf;               // window key buffer
275
  SDiskbasedBuf* pResultBuf;           // query result buffer based on blocked-wised disk file
276
  int32_t        resultRowSize;  // the result buffer size for each result row, with the meta data size for each row
277
  int32_t        currentPageId;  // current write page id
278
};
279

280
typedef struct {
281
  // if the upstream is an interval operator, the interval info is also kept here to get the time window to check if
282
  // current data block needs to be loaded.
283
  SInterval      interval;
284
  SAggSupporter* pAggSup;
285
  SExprSupp*     pExprSup;  // expr supporter of aggregate operator
286
} SAggOptrPushDownInfo;
287

288
typedef struct STableMetaCacheInfo {
289
  SLRUCache* pTableMetaEntryCache;  // 100 by default
290
  uint64_t   metaFetch;
291
  uint64_t   cacheHit;
292
} STableMetaCacheInfo;
293

294
typedef struct STableScanBase {
295
  STsdbReader*           dataReader;
296
  SFileBlockLoadRecorder readRecorder;
297
  SQueryTableDataCond    cond;
298
  SQueryTableDataCond    orgCond; // use for virtual super table scan
299
  SAggOptrPushDownInfo   pdInfo;
300
  SColMatchInfo          matchInfo;
301
  SReadHandle            readHandle;
302
  SExprSupp              pseudoSup;
303
  STableMetaCacheInfo    metaCache;
304
  int32_t                scanFlag;  // table scan flag to denote if it is a repeat/reverse/main scan
305
  int32_t                dataBlockLoadFlag;
306
  SLimitInfo             limitInfo;
307
  // there are more than one table list exists in one task, if only one vnode exists.
308
  STableListInfo* pTableListInfo;
309
  TsdReader       readerAPI;
310
} STableScanBase;
311

312
typedef struct STableScanInfo {
313
  STableScanBase  base;
314
  SScanInfo       scanInfo;
315
  int32_t         scanTimes;
316
  SSDataBlock*    pResBlock;
317
  SHashObj*       pIgnoreTables;
318
  SSampleExecInfo sample;           // sample execution info
319
  int32_t         tableStartIndex;  // current group scan start
320
  int32_t         tableEndIndex;    // current group scan end
321
  int32_t         currentGroupId;
322
  int32_t         currentTable;
323
  int8_t          scanMode;
324
  int8_t          assignBlockUid;
325
  uint8_t         countState;  // empty table count state
326
  bool            hasGroupByTag;
327
  bool            filesetDelimited;
328
  bool            needCountEmptyTable;
329
  // for virtual super table scan
330
  SSDataBlock*    pOrgBlock;
331
  bool            ignoreTag;
332
  bool            virtualStableScan;
333
  SHashObj*       readerCache;
334
  bool            newReader;
335
  SArray*         pBlockColMap;
336
  // for virtual super table batch scan
337
  int32_t         lastBatchIdx;
338
  int32_t         currentBatchIdx;
339
  STimeWindow     lastTimeWindow;
340
  SArray*         lastColArray;
341
  SArray*         lastBlockColArray;
342
  SArray*         pBatchColMap;  // SArray<SOrgTbInfo>
343
  STimeWindow     cachedTimeWindow;
344
  SArray*         cachedTagList;
345
  uint64_t        cachedGroupId;
346
} STableScanInfo;
347

348
typedef enum ESubTableInputType {
349
  SUB_TABLE_MEM_BLOCK,
350
  SUB_TABLE_EXT_PAGES,
351
} ESubTableInputType;
352

353
typedef struct STmsSubTableInput {
354
  STsdbReader*        pReader;
355
  SQueryTableDataCond tblCond;
356
  STableKeyInfo*      pKeyInfo;
357
  bool                bInMemReader;
358
  ESubTableInputType  type;
359
  SSDataBlock*        pReaderBlock;
360

361
  SArray*      aBlockPages;
362
  SSDataBlock* pPageBlock;
363
  int32_t      pageIdx;
364

365
  int32_t      rowIdx;
366
  int64_t*     aTs;
367
  SSDataBlock* pInputBlock;
368
} STmsSubTableInput;
369

370
typedef struct SBlockOrderInfo SBlockOrderInfo;
371
typedef struct STmsSubTablesMergeInfo {
372
  SBlockOrderInfo* pTsOrderInfo;
373
  SBlockOrderInfo* pPkOrderInfo;
374

375
  int32_t                 numSubTables;
376
  STmsSubTableInput*      aInputs;
377
  SMultiwayMergeTreeInfo* pTree;
378
  int32_t                 numSubTablesCompleted;
379

380
  int32_t        numTableBlocksInMem;
381
  SDiskbasedBuf* pBlocksBuf;
382

383
  int32_t numInMemReaders;
384
} STmsSubTablesMergeInfo;
385

386
typedef struct STableMergeScanInfo {
387
  int32_t         tableStartIndex;
388
  int32_t         tableEndIndex;
389
  bool            hasGroupId;
390
  uint64_t        groupId;
391
  STableScanBase  base;
392
  int32_t         bufPageSize;
393
  uint32_t        sortBufSize;  // max buffer size for in-memory sort
394
  SArray*         pSortInfo;
395
  SSortHandle*    pSortHandle;
396
  SSDataBlock*    pSortInputBlock;
397
  SSDataBlock*    pReaderBlock;
398
  int64_t         startTs;  // sort start time
399
  SLimitInfo      limitInfo;
400
  int64_t         numOfRows;
401
  SScanInfo       scanInfo;
402
  int32_t         scanTimes;
403
  int32_t         readIdx;
404
  SSDataBlock*    pResBlock;
405
  SSampleExecInfo sample;         // sample execution info
406
  SSHashObj*      mTableNumRows;  // uid->num of table rows
407
  SHashObj*       mSkipTables;
408
  int64_t         mergeLimit;
409
  SSortExecInfo   sortExecInfo;
410
  bool            needCountEmptyTable;
411
  bool            bGroupProcessed;  // the group return data means processed
412
  bool            filesetDelimited;
413
  bool            bNewFilesetEvent;
414
  bool            bNextDurationBlockEvent;
415
  int32_t         numNextDurationBlocks;
416
  SSDataBlock*    nextDurationBlocks[2];
417
  bool            rtnNextDurationBlocks;
418
  int32_t         nextDurationBlocksIdx;
419
  bool            bSortRowId;
420

421
  STmsSubTablesMergeInfo* pSubTablesMergeInfo;
422
} STableMergeScanInfo;
423

424
typedef struct STagScanFilterContext {
425
  SHashObj* colHash;
426
  int32_t   index;
427
  SArray*   cInfoList;
428
  int32_t   code;
429
} STagScanFilterContext;
430

431
typedef struct STagScanInfo {
432
  SColumnInfo*          pCols;
433
  SSDataBlock*          pRes;
434
  SColMatchInfo         matchInfo;
435
  int32_t               curPos;
436
  SReadHandle           readHandle;
437
  STableListInfo*       pTableListInfo;
438
  uint64_t              suid;
439
  void*                 pCtbCursor;
440
  SNode*                pTagCond;
441
  SNode*                pTagIndexCond;
442
  STagScanFilterContext filterCtx;
443
  SArray*               aUidTags;     // SArray<STUidTagInfo>
444
  SArray*               aFilterIdxs;  // SArray<int32_t>
445
  SStorageAPI*          pStorageAPI;
446
  SLimitInfo            limitInfo;
447
} STagScanInfo;
448

449
typedef enum EStreamScanMode {
450
  STREAM_SCAN_FROM_READERHANDLE = 1,
451
  STREAM_SCAN_FROM_RES,
452
  STREAM_SCAN_FROM_UPDATERES,
453
  STREAM_SCAN_FROM_DELETE_DATA,
454
  STREAM_SCAN_FROM_DATAREADER_RETRIEVE,
455
  STREAM_SCAN_FROM_DATAREADER_RANGE,
456
  STREAM_SCAN_FROM_CREATE_TABLERES,
457
} EStreamScanMode;
458

459
enum {
460
  PROJECT_RETRIEVE_CONTINUE = 0x1,
461
  PROJECT_RETRIEVE_DONE = 0x2,
462
};
463

464
typedef struct SPartitionBySupporter {
465
  SArray* pGroupCols;     // group by columns, SArray<SColumn>
466
  SArray* pGroupColVals;  // current group column values, SArray<SGroupKeys>
467
  char*   keyBuf;         // group by keys for hash
468
  bool    needCalc;       // partition by column
469
} SPartitionBySupporter;
470

471
typedef struct SPartitionDataInfo {
472
  uint64_t groupId;
473
  char*    tbname;
474
  SArray*  rowIds;
475
} SPartitionDataInfo;
476

477
typedef struct STimeWindowAggSupp {
478
  TSKEY           maxTs;
479
  TSKEY           minTs;
480
  SColumnInfoData timeWindowData;  // query time window info for scalar function execution.
481
} STimeWindowAggSupp;
482

483
typedef struct SStreamNotifyEventSupp {
484
  SHashObj*    pWindowEventHashMap;  // Hash map from gorupid+skey+eventType to the list node of window event.
485
  SHashObj*    pTableNameHashMap;    // Hash map from groupid to the dest child table name.
486
  SSDataBlock* pEventBlock;          // The datablock contains all window events and results.
487
  SArray*      pSessionKeys;
488
  const char*  windowType;
489
} SStreamNotifyEventSupp;
490

491
typedef struct SSteamOpBasicInfo {
492
  int16_t                operatorFlag;
493
  SStreamNotifyEventSupp notifyEventSup;
494
  bool                   recvCkBlock;
495
  SSDataBlock*           pCheckpointRes;
496
  SSHashObj*             pSeDeleted;
497
  void*                  pDelIterator;
498
  SSDataBlock*           pDelRes;
499
  SArray*                pUpdated;
500
  STableTsDataState*     pTsDataState;
501
  int32_t                numOfRecv;
502
} SSteamOpBasicInfo;
503

504
typedef struct SStreamFillSupporter {
505
  int32_t        type;  // fill type
506
  SInterval      interval;
507
  SResultRowData prev;
508
  TSKEY          prevOriginKey;
509
  SResultRowData cur;
510
  SResultRowData next;
511
  TSKEY          nextOriginKey;
512
  SResultRowData nextNext;
513
  SFillColInfo*  pAllColInfo;  // fill exprs and not fill exprs
514
  SExprSupp      notFillExprSup;
515
  int32_t        numOfAllCols;  // number of all exprs, including the tags columns
516
  int32_t        numOfFillCols;
517
  int32_t        numOfNotFillCols;
518
  int32_t        rowSize;
519
  SSHashObj*     pResMap;
520
  bool           hasDelete;
521
  SStorageAPI*   pAPI;
522
  STimeWindow    winRange;
523
  int32_t        pkColBytes;
524
  __compar_fn_t  comparePkColFn;
525
  int32_t*       pOffsetInfo;
526
  bool           normalFill;
527
  void*          pEmptyRow;
528
  SArray*        pResultRange;
529
} SStreamFillSupporter;
530

531
typedef struct SStreamScanInfo {
532
  SSteamOpBasicInfo basic;
533
  SExprInfo*        pPseudoExpr;
534
  int32_t           numOfPseudoExpr;
535
  SExprSupp         tbnameCalSup;
536
  SExprSupp*        pPartTbnameSup;
537
  SExprSupp         tagCalSup;
538
  int32_t           primaryTsIndex;  // primary time stamp slot id
539
  SReadHandle       readHandle;
540
  SInterval         interval;  // if the upstream is an interval operator, the interval info is also kept here.
541
  SColMatchInfo     matchInfo;
542
  SHashObj*         pCol2SlotId;
543

544
  SArray*      pBlockLists;  // multiple SSDatablock.
545
  SSDataBlock* pRes;         // result SSDataBlock
546
  int32_t      updateResIndex;
547
  int32_t      blockType;        // current block type
548
  int32_t      validBlockIndex;  // Is current data has returned?
549
  uint64_t     numOfExec;        // execution times
550
  STqReader*   tqReader;
551

552
  SHashObj*       pVtableMergeHandles;  // key: vtable uid, value: SStreamVtableMergeHandle
553
  SDiskbasedBuf*  pVtableMergeBuf;      // page buffer used by vtable merge
554
  SArray*         pVtableReadyHandles;
555
  STableListInfo* pTableListInfo;
556

557
  uint64_t            groupId;
558
  bool                igCheckGroupId;
559
  struct SUpdateInfo* pUpdateInfo;
560

561
  EStreamScanMode       scanMode;
562
  struct SOperatorInfo* pStreamScanOp;
563
  struct SOperatorInfo* pTableScanOp;
564
  SArray*               childIds;
565
  SPartitionBySupporter partitionSup;
566
  SExprSupp*            pPartScalarSup;
567
  bool                  assignBlockUid;  // assign block uid to groupId, temporarily used for generating rollup SMA.
568
  int32_t               scanWinIndex;    // for state operator
569
  SSDataBlock*          pDeleteDataRes;  // delete data SSDataBlock
570
  int32_t               deleteDataIndex;
571
  STimeWindow           updateWin;
572
  STimeWindowAggSupp    twAggSup;
573
  SSDataBlock*          pUpdateDataRes;
574
  SStreamFillSupporter* pFillSup;
575
  // status for tmq
576
  SNodeList* pGroupTags;
577
  SNode*     pTagCond;
578
  SNode*     pTagIndexCond;
579

580
  // recover
581
  int32_t      blockRecoverTotCnt;
582
  SSDataBlock* pRecoverRes;
583

584
  SSDataBlock*      pCreateTbRes;
585
  int8_t            igCheckUpdate;
586
  int8_t            igExpired;
587
  void*             pState;  // void
588
  SStoreTqReader    readerFn;
589
  SSDataBlock*      pCheckpointRes;
590
  int8_t            pkColType;
591
  int32_t           pkColLen;
592
  bool              useGetResultRange;
593
  STimeWindow       lastScanRange;
594
  SSDataBlock*      pRangeScanRes;  // update SSDataBlock
595
  bool              hasPart;
596

597
  //nonblock data scan
598
  TSKEY                  recalculateInterval;
599
  __compar_fn_t          comparePkColFn;
600
  SScanRange             curRange;
601
  struct SOperatorInfo*  pRecTableScanOp;
602
  bool                   scanAllTables;
603
  SSHashObj*             pRecRangeMap;
604
  SArray*                pRecRangeRes;
605
} SStreamScanInfo;
606

607
typedef struct {
608
  struct SVnode*       vnode;  // todo remove this
609
  SSDataBlock          pRes;   // result SSDataBlock
610
  STsdbReader*         dataReader;
611
  struct SSnapContext* sContext;
612
  SStorageAPI*         pAPI;
613
  STableListInfo*      pTableListInfo;
614
} SStreamRawScanInfo;
615

616
typedef struct STableCountScanSupp {
617
  int16_t dbNameSlotId;
618
  int16_t stbNameSlotId;
619
  int16_t tbCountSlotId;
620
  bool    groupByDbName;
621
  bool    groupByStbName;
622
  char    dbNameFilter[TSDB_DB_NAME_LEN];
623
  char    stbNameFilter[TSDB_TABLE_NAME_LEN];
624
} STableCountScanSupp;
625

626
typedef struct SOptrBasicInfo {
627
  SResultRowInfo resultRowInfo;
628
  SSDataBlock*   pRes;
629
  bool           mergeResultBlock;
630
  int32_t        inputTsOrder;
631
  int32_t        outputTsOrder;
632
} SOptrBasicInfo;
633

634
typedef struct SIntervalAggOperatorInfo {
635
  SOptrBasicInfo     binfo;              // basic info
636
  SAggSupporter      aggSup;             // aggregate supporter
637
  SExprSupp          scalarSupp;         // supporter for perform scalar function
638
  SGroupResInfo      groupResInfo;       // multiple results build supporter
639
  SInterval          interval;           // interval info
640
  int32_t            primaryTsIndex;     // primary time stamp slot id from result of downstream operator.
641
  STimeWindow        win;                // query time range
642
  bool               timeWindowInterpo;  // interpolation needed or not
643
  SArray*            pInterpCols;        // interpolation columns
644
  EOPTR_EXEC_MODEL   execModel;          // operator execution model [batch model|stream model]
645
  STimeWindowAggSupp twAggSup;
646
  SArray*            pPrevValues;  //  SArray<SGroupKeys> used to keep the previous not null value for interpolation.
647
  bool               cleanGroupResInfo;
648
  struct SOperatorInfo* pOperator;
649
  // for limit optimization
650
  bool          limited;
651
  int64_t       limit;
652
  bool          slimited;
653
  int64_t       slimit;
654
  uint64_t      curGroupId;  // initialize to UINT64_MAX
655
  uint64_t      handledGroupNum;
656
  BoundedQueue* pBQ;
657
} SIntervalAggOperatorInfo;
658

659
typedef struct SMergeAlignedIntervalAggOperatorInfo {
660
  SIntervalAggOperatorInfo* intervalAggOperatorInfo;
661

662
  uint64_t     groupId;  // current groupId
663
  int64_t      curTs;    // current ts
664
  SSDataBlock* prefetchedBlock;
665
  SResultRow*  pResultRow;
666
} SMergeAlignedIntervalAggOperatorInfo;
667

668
typedef struct SOpCheckPointInfo {
669
  uint16_t  checkPointId;
670
  SHashObj* children;  // key:child id
671
} SOpCheckPointInfo;
672

673
typedef struct SDataGroupInfo {
674
  uint64_t groupId;
675
  int64_t  numOfRows;
676
  SArray*  pPageList;
677
  SArray*  blockForNotLoaded;   // SSDataBlock that data is not loaded
678
  int32_t  offsetForNotLoaded;  // read offset for SSDataBlock that data is not loaded
679
} SDataGroupInfo;
680

681
typedef struct SWindowRowsSup {
682
  STimeWindow win;
683
  TSKEY       prevTs;  // previous timestamp, used for window aggregation
684
  int32_t     startRowIndex;
685
  int32_t     numOfRows;
686
  uint64_t    groupId;
687
  uint32_t    numNullRows;  // number of continuous rows with null state col
688
  TSKEY       lastTs;  // last row's timestamp, used for checking duplicated ts
689
} SWindowRowsSup;
690

691
// return true if there are continuous rows with null state col
692
// state window operator needs to handle these rows specially
693
static inline bool hasContinuousNullRows(SWindowRowsSup* pRowSup) {
2,147,483,647✔
694
  return pRowSup->numNullRows > 0;
2,147,483,647✔
695
}
696

697
// reset on initialization or found of a row with non-null state col
698
static inline void resetNumNullRows(SWindowRowsSup* pRowSup) {
2,147,483,647✔
699
  pRowSup->numNullRows = 0;
2,147,483,647✔
700
}
2,147,483,647✔
701

702
static inline void resetWindowRowsSup(SWindowRowsSup* pRowSup) {
12,489,514✔
703
  if (NULL == pRowSup) {
12,489,514✔
704
    return;
×
705
  }
706

707
  pRowSup->win.skey = pRowSup->win.ekey = 0;
12,489,514✔
708
  pRowSup->prevTs = INT64_MIN;
12,489,514✔
709
  pRowSup->startRowIndex = pRowSup->groupId = 0;
12,489,514✔
710
  pRowSup->numOfRows = pRowSup->numNullRows = 0;
12,489,514✔
711
}
712

713
typedef int32_t (*AggImplFn)(struct SOperatorInfo* pOperator, SSDataBlock* pBlock);
714

715
typedef struct SSessionAggOperatorInfo {
716
  SOptrBasicInfo        binfo;
717
  SAggSupporter         aggSup;
718
  SExprSupp             scalarSupp;  // supporter for perform scalar function
719
  SGroupResInfo         groupResInfo;
720
  SWindowRowsSup        winSup;
721
  bool                  reptScan;  // next round scan
722
  int64_t               gap;       // session window gap
723
  int32_t               tsSlotId;  // primary timestamp slot id
724
  STimeWindowAggSupp    twAggSup;
725
  struct SOperatorInfo* pOperator;
726
  bool                  cleanGroupResInfo;
727
} SSessionAggOperatorInfo;
728

729
typedef struct SStateWindowOperatorInfo {
730
  SOptrBasicInfo        binfo;
731
  SAggSupporter         aggSup;
732
  SExprSupp             scalarSup;
733
  SGroupResInfo         groupResInfo;
734
  SWindowRowsSup        winSup;
735
  SColumn               stateCol;
736
  bool                  hasKey;    // has key means the state window has started
737
  SStateKeys            stateKey;
738
  int32_t               tsSlotId;  // primary timestamp column slot id
739
  STimeWindowAggSupp    twAggSup;
740
  struct SOperatorInfo* pOperator;
741
  bool                  cleanGroupResInfo;
742
  STrueForInfo          trueForInfo;
743
  EStateWinExtendOption extendOption;
744
} SStateWindowOperatorInfo;
745

746

747
typedef struct SEventWindowOperatorInfo {
748
  SOptrBasicInfo     binfo;
749
  SAggSupporter      aggSup;
750
  SExprSupp          scalarSup;
751
  SWindowRowsSup     winSup;
752
  int32_t            tsSlotId;  // primary timestamp column slot id
753
  STimeWindowAggSupp twAggSup;
754
  uint64_t           groupId;  // current group id, used to identify the data block from different groups
755
  SFilterInfo*       pStartCondInfo;
756
  SFilterInfo*       pEndCondInfo;
757
  bool               inWindow;
758
  SResultRow*        pRow;
759
  SSDataBlock*       pPreDataBlock;
760
  struct SOperatorInfo*     pOperator;
761
  STrueForInfo              trueForInfo;
762
} SEventWindowOperatorInfo;
763

764
#define OPTR_IS_OPENED(_optr)  (((_optr)->status & OP_OPENED) == OP_OPENED)
765
#define OPTR_SET_OPENED(_optr) ((_optr)->status |= OP_OPENED)
766
#define OPTR_CLR_OPENED(_optr) ((_optr)->status &= ~OP_OPENED)
767

768
SSchemaWrapper* extractQueriedColumnSchema(SScanPhysiNode* pScanNode);
769

770
int32_t initQueriedTableSchemaInfo(SReadHandle* pHandle, SScanPhysiNode* pScanNode, const char* dbName,
771
                                   SExecTaskInfo* pTaskInfo);
772
void    cleanupQueriedTableScanInfo(void* p);
773

774
void initBasicInfo(SOptrBasicInfo* pInfo, SSDataBlock* pBlock);
775
void cleanupBasicInfo(SOptrBasicInfo* pInfo);
776

777
int32_t initExprSupp(SExprSupp* pSup, SExprInfo* pExprInfo, int32_t numOfExpr, SFunctionStateStore* pStore);
778
void checkIndefRowsFuncs(SExprSupp* pSup);
779
void    cleanupExprSupp(SExprSupp* pSup);
780
void    cleanupExprSuppWithoutFilter(SExprSupp* pSupp);
781

782
void     cleanupResultInfoInHashMap(SExecTaskInfo* pTaskInfo, SExprSupp* pSup, SDiskbasedBuf* pBuf,
783
                                    SGroupResInfo* pGroupResInfo, SSHashObj* pHashmap);
784
void     cleanupResultInfo(SExecTaskInfo* pTaskInfo, SExprSupp* pSup, SGroupResInfo* pGroupResInfo,
785
                           SAggSupporter *pAggSup, bool cleanHashmap);
786
void     cleanupResultInfoWithoutHash(SExecTaskInfo* pTaskInfo, SExprSupp* pSup, SDiskbasedBuf* pBuf,
787
                                      SGroupResInfo* pGroupResInfo);
788

789
int32_t initAggSup(SExprSupp* pSup, SAggSupporter* pAggSup, SExprInfo* pExprInfo, int32_t numOfCols, size_t keyBufSize,
790
                   const char* pkey, void* pState, SFunctionStateStore* pStore);
791
void    cleanupAggSup(SAggSupporter* pAggSup);
792

793
void initResultSizeInfo(SResultInfo* pResultInfo, int32_t numOfRows);
794

795
void doBuildResultDatablock(struct SOperatorInfo* pOperator, SOptrBasicInfo* pbInfo, SGroupResInfo* pGroupResInfo,
796
                            SDiskbasedBuf* pBuf);
797

798
/**
799
 * @brief copydata from hash table, instead of copying from SGroupResInfo's pRow
800
 */
801
void doCopyToSDataBlockByHash(SExecTaskInfo* pTaskInfo, SSDataBlock* pBlock, SExprSupp* pSup, SDiskbasedBuf* pBuf,
802
                              SGroupResInfo* pGroupResInfo, SSHashObj* pHashmap, int32_t threshold, bool ignoreGroup);
803
void doCopyToSDataBlock(SExecTaskInfo* pTaskInfo, SSDataBlock* pBlock, SExprSupp* pSup, SDiskbasedBuf* pBuf,
804
                        SGroupResInfo* pGroupResInfo, int32_t threshold, bool ignoreGroup, STrueForInfo *pTrueForInfo);
805

806
bool hasLimitOffsetInfo(SLimitInfo* pLimitInfo);
807
bool hasSlimitOffsetInfo(SLimitInfo* pLimitInfo);
808
void initLimitInfo(const SNode* pLimit, const SNode* pSLimit, SLimitInfo* pLimitInfo);
809
void resetLimitInfoForNextGroup(SLimitInfo* pLimitInfo);
810
bool applyLimitOffset(SLimitInfo* pLimitInfo, SSDataBlock* pBlock, SExecTaskInfo* pTaskInfo);
811

812
int32_t applyAggFunctionOnPartialTuples(SExecTaskInfo* taskInfo, SqlFunctionCtx* pCtx, SColumnInfoData* pTimeWindowData,
813
                                        int32_t offset, int32_t forwardStep, int32_t numOfTotal, int32_t numOfOutput);
814

815
int32_t setFunctionResultOutput(struct SOperatorInfo* pOperator, SOptrBasicInfo* pInfo, SAggSupporter* pSup, int32_t stage,
816
                             int32_t numOfExprs);
817
int32_t      setRowTsColumnOutputInfo(SqlFunctionCtx* pCtx, int32_t numOfCols, SArray** pResList);                             
818
int32_t extractDataBlockFromFetchRsp(SSDataBlock* pRes, char* pData, SArray* pColList, char** pNextStart, bool isVstbScan);
819
void    updateLoadRemoteInfo(SLoadRemoteDataInfo* pInfo, int64_t numOfRows, int32_t dataLen, int64_t startTs,
820
                             struct SOperatorInfo* pOperator);
821

822
STimeWindow getFirstQualifiedTimeWindow(int64_t ts, STimeWindow* pWindow, SInterval* pInterval, int32_t order);
823
int32_t     getBufferPgSize(int32_t rowSize, uint32_t* defaultPgsz, int64_t* defaultBufsz);
824

825
extern void doDestroyExchangeOperatorInfo(void* param);
826

827
int32_t doFilter(SSDataBlock* pBlock, SFilterInfo* pFilterInfo, SColMatchInfo* pColMatchInfo, SColumnInfoData** pRet);
828
int32_t addTagPseudoColumnData(SReadHandle* pHandle, const SExprInfo* pExpr, int32_t numOfExpr, SSDataBlock* pBlock,
829
                               int32_t rows, SExecTaskInfo* pTask, STableMetaCacheInfo* pCache);
830

831
int32_t appendOneRowToDataBlock(SSDataBlock* pBlock, STupleHandle* pTupleHandle);
832
int32_t setResultRowInitCtx(SResultRow* pResult, SqlFunctionCtx* pCtx, int32_t numOfOutput,
833
                            int32_t* rowEntryInfoOffset);
834
void    clearResultRowInitFlag(SqlFunctionCtx* pCtx, int32_t numOfOutput);
835

836
SResultRow* doSetResultOutBufByKey(SDiskbasedBuf* pResultBuf, SResultRowInfo* pResultRowInfo, char* pData,
837
                                   int32_t bytes, bool masterscan, uint64_t groupId, SExecTaskInfo* pTaskInfo,
838
                                   bool isIntervalQuery, SAggSupporter* pSup, bool keepGroup);
839

840
int32_t projectApplyFunctions(SExprInfo* pExpr, SSDataBlock* pResult, SSDataBlock* pSrcBlock, SqlFunctionCtx* pCtx,
841
                              int32_t numOfOutput, SArray* pPseudoList, const void* pExtraParams);
842
int32_t projectApplyFunctionsWithSelect(SExprInfo* pExpr, SSDataBlock* pResult, SSDataBlock* pSrcBlock,
843
                                        SqlFunctionCtx* pCtx, int32_t numOfOutput, SArray* pPseudoList,
844
                                        const void* pExtraParams, bool doSelectFunc, bool hasIndefRowsFunc);
845

846
int32_t setInputDataBlock(SExprSupp* pExprSupp, SSDataBlock* pBlock, int32_t order, int32_t scanFlag,
847
                          bool createDummyCol);
848

849
int32_t checkForQueryBuf(size_t numOfTables);
850

851
int32_t createDataSinkParam(SDataSinkNode* pNode, void** pParam, SExecTaskInfo* pTask, SReadHandle* readHandle);
852

853
STimeWindow getActiveTimeWindow(SDiskbasedBuf* pBuf, SResultRowInfo* pResultRowInfo, int64_t ts, SInterval* pInterval,
854
                                int32_t order);
855
int32_t getNumOfRowsInTimeWindow(SDataBlockInfo* pDataBlockInfo, TSKEY* pPrimaryColumn, int32_t startPos, TSKEY ekey,
856
                                 __block_search_fn_t searchFn, STableQueryInfo* item, int32_t order);
857
int32_t binarySearchForKey(char* pValue, int num, TSKEY key, int order);
858
SResultRow* getNewResultRow(SDiskbasedBuf* pResultBuf, int32_t* currentPageId, int32_t interBufSize);
859
bool isInTimeWindow(STimeWindow* pWin, TSKEY ts, int64_t gap);
860
bool functionNeedToExecute(SqlFunctionCtx* pCtx);
861
bool isOverdue(TSKEY ts, STimeWindowAggSupp* pSup);
862
bool isCloseWindow(STimeWindow* pWin, STimeWindowAggSupp* pSup);
863

864
uint64_t calGroupIdByData(SPartitionBySupporter* pParSup, SExprSupp* pExprSup, SSDataBlock* pBlock, int32_t rowId);
865

866
void finalizeResultRows(SDiskbasedBuf* pBuf, SResultRowPosition* resultRowPosition, SExprSupp* pSup,
867
                        SSDataBlock* pBlock, SExecTaskInfo* pTaskInfo);
868

869
bool    groupbyTbname(SNodeList* pGroupList);
870
int32_t getForwardStepsInBlock(int32_t numOfRows, __block_search_fn_t searchFn, TSKEY ekey, int32_t pos, int32_t order,
871
                               int64_t* pData);
872
SSDataBlock* buildCreateTableBlock(SExprSupp* tbName, SExprSupp* tag);
873
SExprInfo*   createExpr(SNodeList* pNodeList, int32_t* numOfExprs);
874

875
int32_t copyResultrowToDataBlock(SExprInfo* pExprInfo, int32_t numOfExprs, SResultRow* pRow, SqlFunctionCtx* pCtx,
876
                                 SSDataBlock* pBlock, const int32_t* rowEntryOffset, SExecTaskInfo* pTaskInfo);
877
void doUpdateNumOfRows(SqlFunctionCtx* pCtx, SResultRow* pRow, int32_t numOfExprs, const int32_t* rowEntryOffset);
878

879
void    streamOpReleaseState(struct SOperatorInfo* pOperator);
880
void    streamOpReloadState(struct SOperatorInfo* pOperator);
881
void    clearGroupResInfo(SGroupResInfo* pGroupResInfo);
882
int32_t initBasicInfoEx(SOptrBasicInfo* pBasicInfo, SExprSupp* pSup, SExprInfo* pExprInfo, int32_t numOfCols,
883
                        SSDataBlock* pResultBlock, SFunctionStateStore* pStore);
884
int32_t getMaxTsWins(const SArray* pAllWins, SArray* pMaxWins);
885
void    initGroupResInfoFromArrayList(SGroupResInfo* pGroupResInfo, SArray* pArrayList);
886
void    getSessionHashKey(const SSessionKey* pKey, SSessionKey* pHashKey);
887
int32_t getAllSessionWindow(SSHashObj* pHashMap, SSHashObj* pStUpdated);
888
int32_t closeSessionWindow(SSHashObj* pHashMap, STimeWindowAggSupp* pTwSup, SSHashObj* pClosed);
889
int32_t copyUpdateResult(SSHashObj** ppWinUpdated, SArray* pUpdated, __compar_fn_t compar);
890
int32_t sessionKeyCompareAsc(const void* pKey1, const void* pKey2);
891
void    removeSessionDeleteResults(SSHashObj* pHashMap, SArray* pWins);
892
int32_t doOneWindowAggImpl(SColumnInfoData* pTimeWindowData, SResultWindowInfo* pCurWin, SResultRow** pResult,
893
                           int32_t startIndex, int32_t winRows, int32_t rows, int32_t numOutput,
894
                           struct SOperatorInfo* pOperator, int64_t winDelta);
895
void    setSessionWinOutputInfo(SSHashObj* pStUpdated, SResultWindowInfo* pWinInfo);
896
int32_t saveResult(SResultWindowInfo winInfo, SSHashObj* pStUpdated);
897
int32_t saveDeleteRes(SSHashObj* pStDelete, SSessionKey key);
898
void    doBuildDeleteDataBlock(struct SOperatorInfo* pOp, SSHashObj* pStDeleted, SSDataBlock* pBlock, void** Ite,
899
                               SGroupResInfo* pGroupResInfo);
900
void    doBuildSessionResult(struct SOperatorInfo* pOperator, void* pState, SGroupResInfo* pGroupResInfo,
901
                             SSDataBlock* pBlock, SArray* pSessionKeys);
902
void    resetWinRange(STimeWindow* winRange);
903
int64_t getDeleteMark(SWindowPhysiNode* pWinPhyNode, int64_t interval);
904
void    resetUnCloseSessionWinInfo(SSHashObj* winMap);
905
void    setStreamOperatorCompleted(struct SOperatorInfo* pOperator);
906
void    destroyFlusedPos(void* pRes);
907
bool    isIrowtsPseudoColumn(SExprInfo* pExprInfo);
908
bool    isIsfilledPseudoColumn(SExprInfo* pExprInfo);
909
bool    isInterpFunc(SExprInfo* pExprInfo);
910
bool    isIrowtsOriginPseudoColumn(SExprInfo* pExprInfo);
911

912
int32_t encodeSSessionKey(void** buf, SSessionKey* key);
913
void*   decodeSSessionKey(void* buf, SSessionKey* key);
914
int32_t encodeSResultWindowInfo(void** buf, SResultWindowInfo* key, int32_t outLen);
915
void*   decodeSResultWindowInfo(void* buf, SResultWindowInfo* key, int32_t outLen);
916
int32_t encodeSTimeWindowAggSupp(void** buf, STimeWindowAggSupp* pTwAggSup);
917
void*   decodeSTimeWindowAggSupp(void* buf, STimeWindowAggSupp* pTwAggSup);
918

919
void    destroyOperatorParamValue(void* pValues);
920
int32_t mergeOperatorParams(SOperatorParam* pDst, SOperatorParam* pSrc);
921
int32_t buildTableScanOperatorParam(SOperatorParam** ppRes, SArray* pUidList, int32_t srcOpType, bool tableSeq);
922
int32_t buildTableScanOperatorParamEx(SOperatorParam** ppRes, SArray* pUidList, int32_t srcOpType, SOrgTbInfo *pMap, bool tableSeq, STimeWindow *window, bool isNewParam, ETableScanDynType type);
923
int32_t buildTableScanOperatorParamNotify(SOperatorParam** ppRes,
924
                                          int32_t srcOpType, TSKEY notifyTs);
925
void    freeExchangeGetBasicOperatorParam(void* pParam);
926
void    freeResetOperatorParams(struct SOperatorInfo* pOperator, SOperatorParamType type, bool allFree);
927
int32_t getNextBlockFromDownstreamImpl(struct SOperatorInfo* pOperator, int32_t idx, bool clearParam,
928
                                       SSDataBlock** pResBlock);
929

930
int32_t saveDeleteInfo(SArray* pWins, SSessionKey key);
931
int32_t copyDeleteWindowInfo(SArray* pResWins, SSHashObj* pStDeleted);
932
int32_t copyDeleteSessionKey(SSHashObj* source, SSHashObj* dest);
933

934
bool inSlidingWindow(const SInterval* pInterval, const STimeWindow* pWin, const SDataBlockInfo* pBlockInfo);
935
bool inCalSlidingWindow(const SInterval* pInterval, const STimeWindow* pWin, TSKEY calStart, TSKEY calEnd, EStreamType blockType);
936
bool compareVal(const char* v, const SStateKeys* pKey);
937
bool inWinRange(STimeWindow* range, STimeWindow* cur);
938

939
int32_t getNextQualifiedWindow(SInterval* pInterval, STimeWindow* pNext, SDataBlockInfo* pDataBlockInfo,
940
                               TSKEY* primaryKeys, int32_t prevPosition, int32_t order);
941
int32_t extractQualifiedTupleByFilterResult(SSDataBlock* pBlock, const SColumnInfoData* p, int32_t status);
942
bool    getIgoreNullRes(SExprSupp* pExprSup);
943
bool    checkNullRow(SExprSupp* pExprSup, SSDataBlock* pSrcBlock, int32_t index, bool ignoreNull);
944
STrueForInfo* getTrueForInfo(struct SOperatorInfo* pOperator);
945

946
void    destroyTmqScanOperatorInfo(void* param);
947
int32_t checkUpdateData(SStreamScanInfo* pInfo, bool invertible, SSDataBlock* pBlock, bool out);
948
void resetBasicOperatorState(SOptrBasicInfo* pBasicInfo);
949

950
int32_t addNewResultRowBuf(SResultRow* pWindowRes, SDiskbasedBuf* pResultBuf, uint32_t size);
951

952
#ifdef __cplusplus
953
}
954
#endif
955

956
#endif  // TDENGINE_EXECUTORINT_H
STATUS · Troubleshooting · Open an Issue · Sales · Support · CAREERS · ENTERPRISE · START FREE · SCHEDULE DEMO
ANNOUNCEMENTS · TWITTER · TOS & SLA · Supported CI Services · What's a CI service? · Automated Testing

© 2026 Coveralls, Inc