SQL Flow Field Guide

QUERY HINT { FORCE | DISABLE } SCALEOUTEXECUTION

Catalog support for SQL Server 2022 (16.x) and 2025 (17.x)

Force or disable scale-out execution of PolyBase queries that are using external tables in SQL Server 2019 Big Data Clusters.

What changes

Input
none
Output or change
none

Syntax at a glance

OPTION ( { FORCE | DISABLE } SCALEOUTEXECUTION )

Work example

A measured query issue may justify testing QUERY HINT { FORCE | DISABLE } SCALEOUTEXECUTION against the optimizer's default choice.

Capture the current plan, rows, reads, and elapsed time. Change one hint in a test copy and compare the same parameter values.

Check your work QUERY HINT { FORCE | DISABLE } SCALEOUTEXECUTION. The intended plan behavior for QUERY HINT { FORCE | DISABLE } SCALEOUTEXECUTION is visible and the result rows are unchanged across the comparison.

Open Microsoft Learn for full syntax, permissions, and details for your version.