1
0
mirror of https://github.com/mariadb-corporation/mariadb-columnstore-engine.git synced 2025-07-30 19:23:07 +03:00

MCOL-265 Add support for TIMESTAMP data type

This commit is contained in:
Gagan Goel
2019-03-17 14:14:03 -04:00
parent 8a7ccd7d93
commit e89d1ac3cf
167 changed files with 4346 additions and 250 deletions

View File

@ -123,6 +123,16 @@ public:
fTableAlias = tableAlias;
}
inline const std::string timeZone () const
{
return fTimeZone;
}
inline void timeZone (const std::string& timeZone)
{
fTimeZone = timeZone;
}
virtual const std::string data() const;
virtual void data(const std::string data)
{
@ -172,6 +182,7 @@ private:
std::string fFunctionName; /// function name
std::string fTableAlias; /// table alias which has the column
std::string fData; /// SQL representation
std::string fTimeZone;
/** @brief Do a deep, strict (as opposed to semantic) equivalence test
*
@ -260,6 +271,10 @@ public:
{
return fFunctor->getDatetimeIntVal(row, fFunctionParms, isNull, fOperationType);
}
virtual int64_t getTimestampIntVal(rowgroup::Row& row, bool& isNull)
{
return fFunctor->getTimestampIntVal(row, fFunctionParms, isNull, fOperationType);
}
virtual int64_t getTimeIntVal(rowgroup::Row& row, bool& isNull)
{
return fFunctor->getTimeIntVal(row, fFunctionParms, isNull, fOperationType);