From edad275144086c9f67534ac7b890e12e76dd7a2a Mon Sep 17 00:00:00 2001
From: Arseniy Volynets <vol0ncar@yandex.ru>
Date: Fri, 31 May 2024 10:39:05 +0000
Subject: [PATCH] fix: failed to deserialize column with map type

---
 sbroad-core/src/ir/relation.rs | 1 +
 1 file changed, 1 insertion(+)

diff --git a/sbroad-core/src/ir/relation.rs b/sbroad-core/src/ir/relation.rs
index c2099333e9..54b9d25e18 100644
--- a/sbroad-core/src/ir/relation.rs
+++ b/sbroad-core/src/ir/relation.rs
@@ -370,6 +370,7 @@ impl<'de> Visitor<'de> for ColumnVisitor {
             "unsigned" => Ok(Column::new(&column_name, Type::Unsigned, role, is_nullable)),
             "array" => Ok(Column::new(&column_name, Type::Array, role, is_nullable)),
             "uuid" => Ok(Column::new(&column_name, Type::Uuid, role, is_nullable)),
+            "map" => Ok(Column::new(&column_name, Type::Map, role, is_nullable)),
             s => Err(Error::custom(format!("unsupported column type: {s}"))),
         }
     }
-- 
GitLab