@@ -280,8 +280,8 @@ TSimpleOperationIo CreateSimpleOperationIo(
280
280
structuredJob,
281
281
preparer,
282
282
options,
283
- CanonizeStructuredTableList (preparer.GetContext (), GetStructuredInputs (spec)),
284
- CanonizeStructuredTableList (preparer.GetContext (), GetStructuredOutputs (spec)),
283
+ CanonizeStructuredTableList (preparer.GetClient ()-> GetRawClient (), GetStructuredInputs (spec)),
284
+ CanonizeStructuredTableList (preparer.GetClient ()-> GetRawClient (), GetStructuredOutputs (spec)),
285
285
hints,
286
286
nodeReaderFormat,
287
287
GetColumnsUsedInOperation (spec));
@@ -303,8 +303,8 @@ TSimpleOperationIo CreateSimpleOperationIo(
303
303
}
304
304
};
305
305
306
- auto inputs = NRawClient::CanonizeYPaths (/* retryPolicy */ nullptr , preparer.GetContext (), spec.GetInputs ());
307
- auto outputs = NRawClient::CanonizeYPaths (/* retryPolicy */ nullptr , preparer.GetContext (), spec.GetOutputs ());
306
+ auto inputs = NRawClient::CanonizeYPaths (preparer.GetClient ()-> GetRawClient (), spec.GetInputs ());
307
+ auto outputs = NRawClient::CanonizeYPaths (preparer.GetClient ()-> GetRawClient (), spec.GetOutputs ());
308
308
309
309
VerifyHasElements (inputs, " input" );
310
310
VerifyHasElements (outputs, " output" );
@@ -1632,9 +1632,9 @@ void ExecuteMapReduce(
1632
1632
TMapReduceOperationSpec spec = spec_;
1633
1633
1634
1634
TMapReduceOperationIo operationIo;
1635
- auto structuredInputs = CanonizeStructuredTableList (preparer->GetContext (), spec.GetStructuredInputs ());
1636
- auto structuredMapOutputs = CanonizeStructuredTableList (preparer->GetContext (), spec.GetStructuredMapOutputs ());
1637
- auto structuredOutputs = CanonizeStructuredTableList (preparer->GetContext (), spec.GetStructuredOutputs ());
1635
+ auto structuredInputs = CanonizeStructuredTableList (preparer->GetClient ()-> GetRawClient (), spec.GetStructuredInputs ());
1636
+ auto structuredMapOutputs = CanonizeStructuredTableList (preparer->GetClient ()-> GetRawClient (), spec.GetStructuredMapOutputs ());
1637
+ auto structuredOutputs = CanonizeStructuredTableList (preparer->GetClient ()-> GetRawClient (), spec.GetStructuredOutputs ());
1638
1638
1639
1639
const bool inferOutputSchema = options.InferOutputSchema_ .GetOrElse (preparer->GetContext ().Config ->InferTableSchema );
1640
1640
@@ -1898,9 +1898,9 @@ void ExecuteRawMapReduce(
1898
1898
YT_LOG_DEBUG (" Starting raw map-reduce operation (PreparationId: %v)" ,
1899
1899
preparer->GetPreparationId ());
1900
1900
TMapReduceOperationIo operationIo;
1901
- operationIo.Inputs = NRawClient::CanonizeYPaths (/* retryPolicy */ nullptr , preparer->GetContext (), spec.GetInputs ());
1902
- operationIo.MapOutputs = NRawClient::CanonizeYPaths (/* retryPolicy */ nullptr , preparer->GetContext (), spec.GetMapOutputs ());
1903
- operationIo.Outputs = NRawClient::CanonizeYPaths (/* retryPolicy */ nullptr , preparer->GetContext (), spec.GetOutputs ());
1901
+ operationIo.Inputs = NRawClient::CanonizeYPaths (preparer->GetClient ()-> GetRawClient (), spec.GetInputs ());
1902
+ operationIo.MapOutputs = NRawClient::CanonizeYPaths (preparer->GetClient ()-> GetRawClient (), spec.GetMapOutputs ());
1903
+ operationIo.Outputs = NRawClient::CanonizeYPaths (preparer->GetClient ()-> GetRawClient (), spec.GetOutputs ());
1904
1904
1905
1905
VerifyHasElements (operationIo.Inputs , " inputs" );
1906
1906
VerifyHasElements (operationIo.Outputs , " outputs" );
@@ -1947,8 +1947,8 @@ void ExecuteSort(
1947
1947
{
1948
1948
YT_LOG_DEBUG (" Starting sort operation (PreparationId: %v)" ,
1949
1949
preparer->GetPreparationId ());
1950
- auto inputs = NRawClient::CanonizeYPaths (/* retryPolicy */ nullptr , preparer->GetContext (), spec.Inputs_ );
1951
- auto output = NRawClient::CanonizeYPath (nullptr , preparer->GetContext (), spec.Output_ );
1950
+ auto inputs = NRawClient::CanonizeYPaths (preparer->GetClient ()-> GetRawClient (), spec.Inputs_ );
1951
+ auto output = NRawClient::CanonizeYPath (preparer->GetClient ()-> GetRawClient (), spec.Output_ );
1952
1952
1953
1953
if (options.CreateOutputTables_ ) {
1954
1954
CheckInputTablesExist (*preparer, inputs);
@@ -1996,8 +1996,8 @@ void ExecuteMerge(
1996
1996
{
1997
1997
YT_LOG_DEBUG (" Starting merge operation (PreparationId: %v)" ,
1998
1998
preparer->GetPreparationId ());
1999
- auto inputs = NRawClient::CanonizeYPaths (/* retryPolicy */ nullptr , preparer->GetContext (), spec.Inputs_ );
2000
- auto output = NRawClient::CanonizeYPath (nullptr , preparer->GetContext (), spec.Output_ );
1999
+ auto inputs = NRawClient::CanonizeYPaths (preparer->GetClient ()-> GetRawClient (), spec.Inputs_ );
2000
+ auto output = NRawClient::CanonizeYPath (preparer->GetClient ()-> GetRawClient (), spec.Output_ );
2001
2001
2002
2002
if (options.CreateOutputTables_ ) {
2003
2003
CheckInputTablesExist (*preparer, inputs);
@@ -2046,7 +2046,7 @@ void ExecuteErase(
2046
2046
{
2047
2047
YT_LOG_DEBUG (" Starting erase operation (PreparationId: %v)" ,
2048
2048
preparer->GetPreparationId ());
2049
- auto tablePath = NRawClient::CanonizeYPath (nullptr , preparer->GetContext (), spec.TablePath_ );
2049
+ auto tablePath = NRawClient::CanonizeYPath (preparer->GetClient ()-> GetRawClient (), spec.TablePath_ );
2050
2050
2051
2051
TNode specNode = BuildYsonNodeFluently ()
2052
2052
.BeginMap ()
@@ -2082,8 +2082,8 @@ void ExecuteRemoteCopy(
2082
2082
{
2083
2083
YT_LOG_DEBUG (" Starting remote copy operation (PreparationId: %v)" ,
2084
2084
preparer->GetPreparationId ());
2085
- auto inputs = NRawClient::CanonizeYPaths (/* retryPolicy */ nullptr , preparer->GetContext (), spec.Inputs_ );
2086
- auto output = NRawClient::CanonizeYPath (nullptr , preparer->GetContext (), spec.Output_ );
2085
+ auto inputs = NRawClient::CanonizeYPaths (preparer->GetClient ()-> GetRawClient (), spec.Inputs_ );
2086
+ auto output = NRawClient::CanonizeYPath (preparer->GetClient ()-> GetRawClient (), spec.Output_ );
2087
2087
2088
2088
if (options.CreateOutputTables_ ) {
2089
2089
CreateOutputTable (*preparer, output);
0 commit comments