Skip to content

Commit

Permalink
Merge pull request #484 from ydb-platform/add_global_async_index
Browse files Browse the repository at this point in the history
Add an ability to create async indexes
  • Loading branch information
vgvoleg authored Sep 11, 2024
2 parents 3a6e5f7 + 6289a11 commit d3bd358
Showing 1 changed file with 4 additions and 0 deletions.
4 changes: 4 additions & 0 deletions ydb/table.py
Original file line number Diff line number Diff line change
Expand Up @@ -297,6 +297,10 @@ def with_global_index(self):
self._pb.global_index.SetInParent()
return self

def with_global_async_index(self):
self._pb.global_async_index.SetInParent()
return self

def with_index_columns(self, *columns):
for column in columns:
self._pb.index_columns.append(column)
Expand Down

0 comments on commit d3bd358

Please sign in to comment.