6
6
#include < ydb/library/yql/providers/common/schema/expr/yql_expr_schema.h>
7
7
#include < ydb/library/yql/providers/dq/common/yql_dq_settings.h>
8
8
#include < ydb/library/yql/providers/dq/expr_nodes/dqs_expr_nodes.h>
9
- #include < ydb/library/yql/providers/s3/actors/yql_s3_read_actor.h>
10
- #include < ydb/library/yql/providers/s3/actors/yql_s3_source_factory.h>
9
+ // #include <ydb/library/yql/providers/s3/actors/yql_s3_read_actor.h> // temporary off until refactoring in next PR
10
+ // #include <ydb/library/yql/providers/s3/actors/yql_s3_source_factory.h> // temporary off until refactoring in next PR
11
11
#include < ydb/library/yql/providers/s3/expr_nodes/yql_s3_expr_nodes.h>
12
12
#include < ydb/library/yql/providers/s3/proto/range.pb.h>
13
13
#include < ydb/library/yql/providers/s3/proto/sink.pb.h>
@@ -104,9 +104,10 @@ class TS3DqIntegration: public TDqIntegrationBase {
104
104
YQL_CLOG (TRACE, ProviderS3) << " limited max partitions to " << maxPartitions;
105
105
}
106
106
107
+ #if 0 // temporary off until refactoring in next PR
107
108
auto useRuntimeListing = State_->Configuration->UseRuntimeListing.Get().GetOrElse(false);
108
109
if (useRuntimeListing) {
109
- size_t partitionCount = hasDirectories ? maxPartitions : Min (parts.size (), maxPartitions);
110
+ size_t partitionCount = v ? maxPartitions : Min(parts.size(), maxPartitions);
110
111
partitions.reserve(partitionCount);
111
112
for (size_t i = 0; i < partitionCount; ++i) {
112
113
NS3::TRange range;
@@ -119,7 +120,9 @@ class TS3DqIntegration: public TDqIntegrationBase {
119
120
}
120
121
return 0;
121
122
}
122
-
123
+ #else
124
+ Y_UNUSED (hasDirectories);
125
+ #endif
123
126
if (maxPartitions && parts.size () > maxPartitions) {
124
127
if (const auto extraParts = parts.size () - maxPartitions; extraParts > maxPartitions) {
125
128
const auto partsPerTask = (parts.size () - 1ULL ) / maxPartitions + 1ULL ;
@@ -405,7 +408,7 @@ class TS3DqIntegration: public TDqIntegrationBase {
405
408
srcDesc.MutableSettings ()->insert ({" addPathIndex" , " true" });
406
409
}
407
410
408
- #if defined(_linux_) || defined(_darwin_)
411
+ #if 0 // defined(_linux_) || defined(_darwin_) // temporary off until refactoring in next PR
409
412
410
413
auto useRuntimeListing = State_->Configuration->UseRuntimeListing.Get().GetOrElse(false);
411
414
srcDesc.SetUseRuntimeListing(useRuntimeListing);
0 commit comments