diff --git a/src/Common/dataAccess/__snapshots__/queryDocuments.test.ts.snap b/src/Common/dataAccess/__snapshots__/queryDocuments.test.ts.snap index bcf0034a4..0c7f67c57 100644 --- a/src/Common/dataAccess/__snapshots__/queryDocuments.test.ts.snap +++ b/src/Common/dataAccess/__snapshots__/queryDocuments.test.ts.snap @@ -3,6 +3,7 @@ exports[`getCommonQueryOptions builds the correct default options objects 1`] = ` { "disableNonStreamingOrderByQuery": true, + "enableQueryControl": false, "enableScanInQuery": true, "forceQueryPlan": true, "maxDegreeOfParallelism": 0, @@ -14,6 +15,7 @@ exports[`getCommonQueryOptions builds the correct default options objects 1`] = exports[`getCommonQueryOptions reads from localStorage 1`] = ` { "disableNonStreamingOrderByQuery": true, + "enableQueryControl": false, "enableScanInQuery": true, "forceQueryPlan": true, "maxDegreeOfParallelism": 17, diff --git a/src/Explorer/Panes/SettingsPane/__snapshots__/SettingsPane.test.tsx.snap b/src/Explorer/Panes/SettingsPane/__snapshots__/SettingsPane.test.tsx.snap index 577b6de5b..46ff5935e 100644 --- a/src/Explorer/Panes/SettingsPane/__snapshots__/SettingsPane.test.tsx.snap +++ b/src/Explorer/Panes/SettingsPane/__snapshots__/SettingsPane.test.tsx.snap @@ -494,6 +494,51 @@ exports[`Settings Pane should render Default properly 1`] = ` + + + + Enhanced query control + + + + + + Query up to the max degree of parallelism. + + + Learn more + + + + + + + diff --git a/src/Utils/QueryUtils.ts b/src/Utils/QueryUtils.ts index 8543d6873..937bbea46 100644 --- a/src/Utils/QueryUtils.ts +++ b/src/Utils/QueryUtils.ts @@ -93,7 +93,7 @@ export const queryPagesUntilContentPresent = async ( if (results.hasMoreResults && userContext.apiType === "SQL" && ruThresholdEnabled()) { const ruThreshold: number = getRUThreshold(); if (netRequestCharge > ruThreshold) { - logConsoleError(`Request discontinued after exceeding the Request Unit threshold of ${ruThreshold}.`); + logConsoleError(`Request discontinued after exceeding the Request Unit threshold of ${ruThreshold} RUs.`); return results; } }