File tree Expand file tree Collapse file tree 1 file changed +4
-4
lines changed Expand file tree Collapse file tree 1 file changed +4
-4
lines changed Original file line number Diff line number Diff line change @@ -1515,16 +1515,16 @@ class TKiSinkCallableExecutionTransformer : public TAsyncCallbackTransformer<TKi
15151515 }
15161516 } else if (name == " alterIndex" ) {
15171517 auto listNode = action.Value ().Cast <TCoNameValueTupleList>();
1518- auto * alterIndex = alterTableRequest.add_alter_indexes ();
15191518 for (const auto & indexSetting : listNode) {
15201519 auto name = indexSetting.Name ().Value ();
15211520 if (name == " indexName" ) {
1522- alterIndex->set_name (indexSetting.Value ().Cast <TCoAtom>().StringValue ());
1521+ auto index = indexSetting.Value ().Cast <TCoAtom>().StringValue ();
1522+ alterTableRequest.set_path (TStringBuilder () << alterTableRequest.path () << ' /' << index << ' /' << " indexImplTable" );
15231523 } else if (name == " tableSettings" ) {
15241524 auto tableSettings = indexSetting.Value ().Cast <TCoNameValueTupleList>();
15251525 for (const auto & tableSetting : tableSettings) {
1526- if (!ParsePartitioningSettings ([&alterIndex ]() {
1527- return alterIndex-> mutable_partitioning_settings ();
1526+ if (!ParsePartitioningSettings ([&alterTableRequest ]() {
1527+ return alterTableRequest. mutable_alter_partitioning_settings ();
15281528 }, tableSetting, ctx, true )
15291529 ) {
15301530 return SyncError ();
You can’t perform that action at this time.
0 commit comments