Skip to content

Commit 2bfed80

Browse files
authored
fix: use execute-query for ui queries (#3123)
1 parent 5908d69 commit 2bfed80

File tree

7 files changed

+8
-8
lines changed

7 files changed

+8
-8
lines changed

src/store/reducers/cluster/cluster.ts

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -98,7 +98,7 @@ export const clusterApi = api.injectEndpoints({
9898
const groupsStatsResponse = await window.api.viewer.sendQuery({
9999
query: query,
100100
database: clusterRoot,
101-
action: 'execute-scan',
101+
action: 'execute-query',
102102
internal_call: true,
103103
});
104104

src/store/reducers/executeTopQueries/executeTopQueries.ts

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -128,7 +128,7 @@ export const topQueriesApi = api.injectEndpoints({
128128
{
129129
query: getQueryText(timeFrame, preparedFilters, sortOrder, limit),
130130
database,
131-
action: 'execute-scan',
131+
action: 'execute-query',
132132
internal_call: true,
133133
},
134134
{signal, withRetries: true},
@@ -168,7 +168,7 @@ export const topQueriesApi = api.injectEndpoints({
168168
{
169169
query: getRunningQueriesText(filters, sortOrder, limit),
170170
database,
171-
action: 'execute-scan',
171+
action: 'execute-query',
172172
internal_call: true,
173173
},
174174
{signal, withRetries: true},

src/store/reducers/shardsWorkload/shardsWorkload.ts

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -46,7 +46,7 @@ function createShardQueryImmediate(
4646
});
4747
}
4848

49-
const queryAction = 'execute-scan';
49+
const queryAction = 'execute-query';
5050

5151
const slice = createSlice({
5252
name: 'shardsWorkload',

src/store/reducers/streamingQuery/streamingQuery.ts

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -23,7 +23,7 @@ export const streamingQueriesApi = api.injectEndpoints({
2323
{
2424
query: getStreamingQueryInfoSQL(path),
2525
database,
26-
action: 'execute-scan',
26+
action: 'execute-query',
2727
internal_call: true,
2828
},
2929
{signal, withRetries: true},

src/store/reducers/tenantOverview/executeTopTables/executeTopTables.ts

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -22,7 +22,7 @@ export const topTablesApi = api.injectEndpoints({
2222
{
2323
query: getQueryText(),
2424
database,
25-
action: 'execute-scan',
25+
action: 'execute-query',
2626
internal_call: true,
2727
},
2828
{signal, withRetries: true},

src/store/reducers/tenantOverview/topShards/tenantOverviewTopShards.ts

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -13,7 +13,7 @@ function createShardQuery(path: string, databaseFullPath: string) {
1313
});
1414
}
1515

16-
const queryAction = 'execute-scan';
16+
const queryAction = 'execute-query';
1717

1818
export const topShardsApi = api.injectEndpoints({
1919
endpoints: (builder) => ({

src/store/reducers/viewSchema/viewSchema.ts

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -26,7 +26,7 @@ export const viewSchemaApi = api.injectEndpoints({
2626
{
2727
query: createViewSchemaQuery(relativePath),
2828
database,
29-
action: 'execute-scan',
29+
action: 'execute-query',
3030
timeout,
3131
internal_call: true,
3232
},

0 commit comments

Comments
 (0)