From 50944205743c7b262389f1f01f9a71bad8608a9a Mon Sep 17 00:00:00 2001 From: Manjunath Tapali Date: Tue, 16 Apr 2024 10:52:42 +0530 Subject: [PATCH] fix(partner-sdk): updated the column type for table --- examples/connector/python/main.py | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/examples/connector/python/main.py b/examples/connector/python/main.py index e6d4c30..1780d5c 100644 --- a/examples/connector/python/main.py +++ b/examples/connector/python/main.py @@ -42,7 +42,7 @@ def Test(self, request, context): def Schema(self, request, context): table_list = common_pb2.TableList() t1 = table_list.tables.add(name="table1") - t1.columns.add(name="a1", type=common_pb2.DataType.STRING, primary_key=True) + t1.columns.add(name="a1", type=common_pb2.DataType.UNSPECIFIED, primary_key=True) t1.columns.add(name="a2", type=common_pb2.DataType.DOUBLE) t2 = table_list.tables.add(name="table2")