Skip to content

Commit 04ef902

Browse files
committed
Add Support Real time mock table.
1 parent ff5406a commit 04ef902

File tree

3 files changed

+10
-1
lines changed

3 files changed

+10
-1
lines changed

VERSION

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1 +1 @@
1-
1.36.2029
1+
1.36.2030

paifeaturestore/include/alibabacloud/paifeaturestore/model/GetFeatureViewResult.h

Lines changed: 2 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -61,6 +61,7 @@ namespace AlibabaCloud
6161
std::string getLastSyncConfig()const;
6262
std::string getType()const;
6363
std::vector<FieldsItem> getFields()const;
64+
std::string getMockTableName()const;
6465
std::string getRegisterDatasourceName()const;
6566
std::string getFeatureEntityId()const;
6667
std::vector<std::string> getTags()const;
@@ -88,6 +89,7 @@ namespace AlibabaCloud
8889
std::string lastSyncConfig_;
8990
std::string type_;
9091
std::vector<FieldsItem> fields_;
92+
std::string mockTableName_;
9193
std::string registerDatasourceName_;
9294
std::string featureEntityId_;
9395
std::vector<std::string> tags_;

paifeaturestore/src/model/GetFeatureViewResult.cc

Lines changed: 7 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -97,6 +97,8 @@ void GetFeatureViewResult::parse(const std::string &payload)
9797
lastSyncConfig_ = value["LastSyncConfig"].asString();
9898
if(!value["PublishTableScript"].isNull())
9999
publishTableScript_ = value["PublishTableScript"].asString();
100+
if(!value["MockTableName"].isNull())
101+
mockTableName_ = value["MockTableName"].asString();
100102

101103
}
102104

@@ -190,6 +192,11 @@ std::vector<GetFeatureViewResult::FieldsItem> GetFeatureViewResult::getFields()c
190192
return fields_;
191193
}
192194

195+
std::string GetFeatureViewResult::getMockTableName()const
196+
{
197+
return mockTableName_;
198+
}
199+
193200
std::string GetFeatureViewResult::getRegisterDatasourceName()const
194201
{
195202
return registerDatasourceName_;

0 commit comments

Comments
 (0)