From 04ef9028c2913ef28af171600681cbeffeb23134 Mon Sep 17 00:00:00 2001 From: sdk-team Date: Wed, 18 Dec 2024 07:26:57 +0000 Subject: [PATCH] Add Support Real time mock table. --- VERSION | 2 +- .../paifeaturestore/model/GetFeatureViewResult.h | 2 ++ paifeaturestore/src/model/GetFeatureViewResult.cc | 7 +++++++ 3 files changed, 10 insertions(+), 1 deletion(-) diff --git a/VERSION b/VERSION index 4b48bf022..3cb9cbf49 100644 --- a/VERSION +++ b/VERSION @@ -1 +1 @@ -1.36.2029 \ No newline at end of file +1.36.2030 \ No newline at end of file diff --git a/paifeaturestore/include/alibabacloud/paifeaturestore/model/GetFeatureViewResult.h b/paifeaturestore/include/alibabacloud/paifeaturestore/model/GetFeatureViewResult.h index 640eb557e..6fc56f06f 100644 --- a/paifeaturestore/include/alibabacloud/paifeaturestore/model/GetFeatureViewResult.h +++ b/paifeaturestore/include/alibabacloud/paifeaturestore/model/GetFeatureViewResult.h @@ -61,6 +61,7 @@ namespace AlibabaCloud std::string getLastSyncConfig()const; std::string getType()const; std::vector getFields()const; + std::string getMockTableName()const; std::string getRegisterDatasourceName()const; std::string getFeatureEntityId()const; std::vector getTags()const; @@ -88,6 +89,7 @@ namespace AlibabaCloud std::string lastSyncConfig_; std::string type_; std::vector fields_; + std::string mockTableName_; std::string registerDatasourceName_; std::string featureEntityId_; std::vector tags_; diff --git a/paifeaturestore/src/model/GetFeatureViewResult.cc b/paifeaturestore/src/model/GetFeatureViewResult.cc index 94472d8e0..eb2dcb4b5 100644 --- a/paifeaturestore/src/model/GetFeatureViewResult.cc +++ b/paifeaturestore/src/model/GetFeatureViewResult.cc @@ -97,6 +97,8 @@ void GetFeatureViewResult::parse(const std::string &payload) lastSyncConfig_ = value["LastSyncConfig"].asString(); if(!value["PublishTableScript"].isNull()) publishTableScript_ = value["PublishTableScript"].asString(); + if(!value["MockTableName"].isNull()) + mockTableName_ = value["MockTableName"].asString(); } @@ -190,6 +192,11 @@ std::vector GetFeatureViewResult::getFields()c return fields_; } +std::string GetFeatureViewResult::getMockTableName()const +{ + return mockTableName_; +} + std::string GetFeatureViewResult::getRegisterDatasourceName()const { return registerDatasourceName_;