From d0e91577589bcf6ed4a2494546073ed0c11efbf4 Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?=E5=8D=83=E6=9E=AB?= Date: Mon, 1 Jul 2024 19:49:25 +0800 Subject: [PATCH] perf: not panic for sequence featureview using featuredb --- domain/sequence_feature_view.go | 4 ---- 1 file changed, 4 deletions(-) diff --git a/domain/sequence_feature_view.go b/domain/sequence_feature_view.go index 9638036..24b45b3 100644 --- a/domain/sequence_feature_view.go +++ b/domain/sequence_feature_view.go @@ -63,10 +63,6 @@ func NewSequenceFeatureView(view *api.FeatureView, p *Project, entity *FeatureEn panic("deduplication_method invalid") } - if p.OnlineDatasourceType == constants.Datasource_Type_FeatureDB || view.WriteToFeatureDB { - panic("sequence feature view not support featuredb yet") - } - daoConfig := dao.DaoConfig{ DatasourceType: p.OnlineDatasourceType, PrimaryKeyField: sequenceFeatureView.userIdField,