Skip to content
Merged
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
1 change: 1 addition & 0 deletions src/store/reducers/cancelQuery.ts
Original file line number Diff line number Diff line change
Expand Up @@ -20,6 +20,7 @@ export const cancelQueryApi = api.injectEndpoints({
database,
action,
query_id: queryId,
internal_call: true,
},
{signal},
);
Expand Down
1 change: 1 addition & 0 deletions src/store/reducers/cluster/cluster.ts
Original file line number Diff line number Diff line change
Expand Up @@ -99,6 +99,7 @@ export const clusterApi = api.injectEndpoints({
query: query,
database: clusterRoot,
action: 'execute-scan',
internal_call: true,
});

if (isQueryErrorResponse(groupsStatsResponse)) {
Expand Down
2 changes: 2 additions & 0 deletions src/store/reducers/executeTopQueries/executeTopQueries.ts
Original file line number Diff line number Diff line change
Expand Up @@ -129,6 +129,7 @@ export const topQueriesApi = api.injectEndpoints({
query: getQueryText(timeFrame, preparedFilters, sortOrder, limit),
database,
action: 'execute-scan',
internal_call: true,
},
{signal, withRetries: true},
);
Expand Down Expand Up @@ -168,6 +169,7 @@ export const topQueriesApi = api.injectEndpoints({
query: getRunningQueriesText(filters, sortOrder, limit),
database,
action: 'execute-scan',
internal_call: true,
},
{signal, withRetries: true},
);
Expand Down
1 change: 1 addition & 0 deletions src/store/reducers/shardsWorkload/shardsWorkload.ts
Original file line number Diff line number Diff line change
Expand Up @@ -126,6 +126,7 @@ export const shardApi = api.injectEndpoints({
),
database,
action: queryAction,
internal_call: true,
},
{
signal,
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -23,6 +23,7 @@ export const topTablesApi = api.injectEndpoints({
query: getQueryText(),
database,
action: 'execute-scan',
internal_call: true,
},
{signal, withRetries: true},
);
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -29,6 +29,7 @@ export const topShardsApi = api.injectEndpoints({
query: createShardQuery(path, database),
database,
action: queryAction,
internal_call: true,
},
{signal, withRetries: true},
);
Expand Down
1 change: 1 addition & 0 deletions src/store/reducers/viewSchema/viewSchema.ts
Original file line number Diff line number Diff line change
Expand Up @@ -24,6 +24,7 @@ export const viewSchemaApi = api.injectEndpoints({
database,
action: 'execute-scan',
timeout,
internal_call: true,
},
{withRetries: true},
);
Expand Down
1 change: 1 addition & 0 deletions src/types/api/query.ts
Original file line number Diff line number Diff line change
Expand Up @@ -326,6 +326,7 @@ export interface SendQueryParams<Action extends Actions> {
timeout?: Timeout;
query_id?: string;
limit_rows?: number;
internal_call?: boolean;
}

export interface StreamQueryParams<Action extends Actions> extends SendQueryParams<Action> {
Expand Down
Loading