int32_tmatchType;// determinate the source according to col id or slot id
int32_tmatchType;// determinate the source according to col id or slot id
}SColMatchInfo;
typedefstructSScanInfo{
int32_tnumOfAsc;
int32_tnumOfDesc;
int32_tnumOfAsc;
int32_tnumOfDesc;
}SScanInfo;
typedefstructSSampleExecInfo{
doublesampleRatio;// data block sample ratio, 1 by default
uint32_tseed;// random seed value
doublesampleRatio;// data block sample ratio, 1 by default
uint32_tseed;// random seed value
}SSampleExecInfo;
enum{
...
...
@@ -261,36 +271,38 @@ enum {
};
typedefstructSTableScanInfo{
STsdbReader*dataReader;
SReadHandlereadHandle;
STsdbReader*dataReader;
SReadHandlereadHandle;
SFileBlockLoadRecorderreadRecorder;
SScanInfoscanInfo;
int32_tscanTimes;
SNode*pFilterNode;// filter info, which is push down by optimizer
SqlFunctionCtx*pCtx;// which belongs to the direct upstream operator operator query context,todo: remove this by using SExprSup
int32_t*rowEntryInfoOffset;// todo: remove this by using SExprSup
SExprInfo*pExpr;// todo: remove this by using SExprSup
SSDataBlock*pResBlock;
SArray*pColMatchInfo;
SExprSupppseudoSup;
SScanInfoscanInfo;
int32_tscanTimes;
SNode*pFilterNode;// filter info, which is push down by optimizer
SqlFunctionCtx*
pCtx;// which belongs to the direct upstream operator operator query context,todo: remove this by using SExprSup
int32_t*rowEntryInfoOffset;// todo: remove this by using SExprSup
SExprInfo*pExpr;// todo: remove this by using SExprSup
SSDataBlock*pResBlock;
SArray*pColMatchInfo;
SExprSupppseudoSup;
SQueryTableDataCondcond;
int32_tscanFlag;// table scan flag to denote if it is a repeat/reverse/main scan
int32_tdataBlockLoadFlag;
SIntervalinterval;// if the upstream is an interval operator, the interval info is also kept here to get the time window to check if current data block needs to be loaded.
int32_tscanFlag;// table scan flag to denote if it is a repeat/reverse/main scan
int32_tdataBlockLoadFlag;
SIntervalinterval;// if the upstream is an interval operator, the interval info is also kept here to get the time
// window to check if current data block needs to be loaded.