diff --git a/open-api/rest-catalog-open-api.py b/open-api/rest-catalog-open-api.py index 1709ba260feb..1a0d0b5581c3 100644 --- a/open-api/rest-catalog-open-api.py +++ b/open-api/rest-catalog-open-api.py @@ -1439,6 +1439,11 @@ class PlanTableScanRequest(BaseModel): filter: Optional[Expression] = Field( None, description='Expression used to filter the table data' ) + min_rows_requested: Optional[int] = Field( + None, + alias='min-rows-requested', + description='The minimum number of rows requested for the scan. This is used as a hint to the server to not have to return more rows than necessary. It is not required for the server to return that many rows since the scan may not produce that many rows. The server can also return more rows than requested.', + ) case_sensitive: Optional[bool] = Field( True, alias='case-sensitive', diff --git a/open-api/rest-catalog-open-api.yaml b/open-api/rest-catalog-open-api.yaml index a75ade7eaeca..b087e0481dab 100644 --- a/open-api/rest-catalog-open-api.yaml +++ b/open-api/rest-catalog-open-api.yaml @@ -4402,6 +4402,14 @@ components: description: Expression used to filter the table data $ref: '#/components/schemas/Expression' + min-rows-requested: + description: + The minimum number of rows requested for the scan. This is used as a hint + to the server to not have to return more rows than necessary. It is not required + for the server to return that many rows since the scan may not produce that + many rows. The server can also return more rows than requested. + type: integer + format: int64 case-sensitive: description: Enables case sensitive field matching for filter and select type: boolean