From 00bd77795b321978ad88c30317c1f86c69570fe6 Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?=E5=BE=90=E8=BE=B0?= Date: Thu, 19 Jan 2023 13:51:37 +0800 Subject: [PATCH] Fix duplicated source check --- registry/sql-registry/registry/db_registry.py | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/registry/sql-registry/registry/db_registry.py b/registry/sql-registry/registry/db_registry.py index c2d7b47f0..4feb8902c 100644 --- a/registry/sql-registry/registry/db_registry.py +++ b/registry/sql-registry/registry/db_registry.py @@ -312,7 +312,7 @@ def create_project_datasource(self, project_id: UUID, definition: SourceDef) -> json.loads(r[0]["attributes"]), SourceAttributes) if attr.name == definition.name \ and attr.type == definition.type \ - and attr.path == definition.path \ + and attr.options == definition.options \ and attr.preprocessing == definition.preprocessing \ and attr.event_timestamp_column == definition.event_timestamp_column \ and attr.timestamp_format == definition.timestamp_format: