File tree Expand file tree Collapse file tree 1 file changed +16
-0
lines changed
ydb/library/yql/providers/generic/connector/api/service/protos Expand file tree Collapse file tree 1 file changed +16
-0
lines changed Original file line number Diff line number Diff line change @@ -235,6 +235,22 @@ message TReadSplitsRequest {
235
235
// If empty, the connector will return the split data from the very beginning.
236
236
TContinuation continuation = 6 ;
237
237
238
+ enum EFiltering {
239
+ FILTERING_UNSPECIFIED = 0 ;
240
+ // If Connector cannot push down the predicate to the data source completely
241
+ // (due to the lack of data type support, for example), it doesn't apply filter at all
242
+ // and returns the full result of `SELECT columns FROM table` (no WHERE clause).
243
+ // It's YDB's duty to filter the output on its own side.
244
+ FILTERING_OPTIONAL = 1 ;
245
+ // If Connector cannot push down the predicate to the data source completely,
246
+ // it terminates the request and returns an error.
247
+ FILTERING_MANDATORY = 2 ;
248
+ }
249
+
250
+ // Determines various modes of server behavior in the context of predicate pushdown.
251
+ // If not set, the default value is `FILTERING_OPTIONAL`.
252
+ EFiltering filtering = 7 ;
253
+
238
254
reserved 5 ;
239
255
}
240
256
You can’t perform that action at this time.
0 commit comments