We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
1 parent ce35b84 commit 47b0460Copy full SHA for 47b0460
ydb/table.py
@@ -290,6 +290,7 @@ def __init__(self, name):
290
self._pb.name = name
291
self.name = name
292
self.index_columns = []
293
+ self.data_columns = []
294
# output only.
295
self.status = None
296
@@ -307,6 +308,12 @@ def with_index_columns(self, *columns):
307
308
self.index_columns.append(column)
309
return self
310
311
+ def with_data_columns(self, *columns):
312
+ for column in columns:
313
+ self._pb.data_columns.append(column)
314
+ self.data_columns.append(column)
315
+ return self
316
+
317
def to_pb(self):
318
return self._pb
319
0 commit comments