#ifndef TDENGINE_NAME_H #define TDENGINE_NAME_H #include "os.h" #include "taosmsg.h" #include "tstoken.h" typedef struct SDataStatis { int16_t colId; int64_t sum; int64_t max; int64_t min; int16_t maxIndex; int16_t minIndex; int16_t numOfNull; } SDataStatis; typedef struct SColumnInfoData { SColumnInfo info; void* pData; // the corresponding block data in memory } SColumnInfoData; void extractTableName(const char *tableId, char *name); char* extractDBName(const char *tableId, char *name); void extractTableNameFromToken(SSQLToken *pToken, SSQLToken* pTable); SSchema tGetTableNameColumnSchema(); SSchema tGetUserSpecifiedColumnSchema(const char* v, int16_t type, const char* name); bool tscValidateTableNameLength(size_t len); SColumnFilterInfo* tscFilterInfoClone(const SColumnFilterInfo* src, int32_t numOfFilters); int64_t taosGetIntervalStartTimestamp(int64_t startTime, int64_t slidingTime, int64_t intervalTime, char timeUnit, int16_t precision); #endif // TDENGINE_NAME_H