Skip to content

Commit 730f98f

Browse files
authored
feat: add ioxQuery limits (#6875)
* feat: add ioxQuery limits Add support for viewing and modifying the new IOx Query limits.§ * fix: move new limits to correct place in dialogue * chore: update openapi version * chore: update openapi version * chore: update openapi sha
1 parent 4d27a31 commit 730f98f

File tree

2 files changed

+24
-2
lines changed

2 files changed

+24
-2
lines changed

package.json

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -52,7 +52,7 @@
5252
"prettier:fix": "pretty-quick --config .prettierrc.json --write '{src,cypress}/**/*.{ts,tsx}'",
5353
"tsc": "tsc -p ./tsconfig.json --noEmit --pretty --skipLibCheck",
5454
"tsc:watch": "yarn tsc --watch",
55-
"generate": "export SHA=96ac07e89b65d81b5f84ffbc7279e8bf36353ddb && export REMOTE=https://raw.githubusercontent.com/influxdata/openapi/${SHA}/ && yarn generate-meta",
55+
"generate": "export SHA=9ca282867ee2b2766ea60f29cdbb9b0556361335 && export REMOTE=https://raw.githubusercontent.com/influxdata/openapi/${SHA}/ && yarn generate-meta",
5656
"generate-local": "export REMOTE=../openapi/ && yarn generate-meta",
5757
"generate-local-cloud": "export REMOTE=../openapi/ && yarn generate-meta-cloud",
5858
"generate-meta": "if [ -z \"${CLOUD_URL}\" ]; then yarn generate-meta-oss; else yarn generate-meta-cloud; fi",
@@ -85,7 +85,7 @@
8585
"@babel/preset-env": "^7.20.2",
8686
"@babel/runtime": "^7.20.6",
8787
"@cypress/skip-test": "^2.6.1",
88-
"@influxdata/oats": "0.5.3",
88+
"@influxdata/oats": "^0.7.0",
8989
"@testing-library/dom": "^8.17.1",
9090
"@testing-library/jest-dom": "^5.16.5",
9191
"@testing-library/react": "^12.1.5",

src/operator/OrgOverlay.tsx

Lines changed: 22 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -339,6 +339,28 @@ export const OrgOverlay: FC = () => {
339339
</Grid.Column>
340340
</Grid.Row>
341341
)}
342+
{limits?.ioxQuery && (
343+
<Grid.Row>
344+
<Grid.Column widthMD={Columns.Four}>
345+
<Form.Label label="Partitions" />
346+
<LimitsField
347+
type={InputType.Number}
348+
name="ioxQuery.partitions"
349+
limits={limits}
350+
onChangeLimits={setLimits}
351+
/>
352+
</Grid.Column>
353+
<Grid.Column widthMD={Columns.Four}>
354+
<Form.Label label="Parquet Files" />
355+
<LimitsField
356+
type={InputType.Number}
357+
name="ioxQuery.parquetFiles"
358+
limits={limits}
359+
onChangeLimits={setLimits}
360+
/>
361+
</Grid.Column>
362+
</Grid.Row>
363+
)}
342364
<Grid.Row>
343365
<h4>Notification Rules</h4>
344366
<Grid.Column widthMD={Columns.Four}>

0 commit comments

Comments
 (0)