Skip to content

Commit

Permalink
fix(partner-sdk): updated the column type for table
Browse files Browse the repository at this point in the history
  • Loading branch information
manjutapali committed Apr 16, 2024
1 parent cd0d0eb commit 5094420
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion examples/connector/python/main.py
Original file line number Diff line number Diff line change
Expand Up @@ -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")
Expand Down

0 comments on commit 5094420

Please sign in to comment.