[opt](ssb) Add query hint for the SSB queries (#14089)
This commit is contained in:
1
dist/LICENSE-dist.txt
vendored
1
dist/LICENSE-dist.txt
vendored
@ -1574,3 +1574,4 @@ Other dependencies:
|
||||
* breakpad@38ee0be -- license/LICENSE-breakpod.txt
|
||||
* xsimd: xmid@e9234cd6 -- license/LICENSE-xsimd.txt
|
||||
* xxhash: 0.8.1 -- license/LICENSE-xxhash.txt
|
||||
* concurrentqueue: 1.0.3 -- license/LICENSE-concurrentqueue.txt
|
||||
|
||||
@ -14,7 +14,7 @@
|
||||
-- KIND, either express or implied. See the License for the
|
||||
-- specific language governing permissions and limitations
|
||||
-- under the License.
|
||||
SELECT
|
||||
SELECT /*+SET_VAR(parallel_fragment_exec_instance_num=4, enable_vectorized_engine=true, batch_size=4096, enable_cost_based_join_reorder=true, enable_projection=true) */
|
||||
d_year,
|
||||
c_nation,
|
||||
SUM(lo_revenue - lo_supplycost) AS PROFIT
|
||||
@ -31,4 +31,4 @@ WHERE
|
||||
OR p_mfgr = 'MFGR#2'
|
||||
)
|
||||
GROUP BY d_year, c_nation
|
||||
ORDER BY d_year, c_nation;
|
||||
ORDER BY d_year, c_nation;
|
||||
|
||||
@ -14,7 +14,7 @@
|
||||
-- KIND, either express or implied. See the License for the
|
||||
-- specific language governing permissions and limitations
|
||||
-- under the License.
|
||||
SELECT
|
||||
SELECT /*+SET_VAR(parallel_fragment_exec_instance_num=2, enable_vectorized_engine=true, batch_size=4096, enable_cost_based_join_reorder=true, enable_projection=true) */
|
||||
d_year,
|
||||
s_nation,
|
||||
p_category,
|
||||
@ -36,4 +36,4 @@ WHERE
|
||||
OR p_mfgr = 'MFGR#2'
|
||||
)
|
||||
GROUP BY d_year, s_nation, p_category
|
||||
ORDER BY d_year, s_nation, p_category;
|
||||
ORDER BY d_year, s_nation, p_category;
|
||||
|
||||
@ -14,7 +14,7 @@
|
||||
-- KIND, either express or implied. See the License for the
|
||||
-- specific language governing permissions and limitations
|
||||
-- under the License.
|
||||
SELECT
|
||||
SELECT /*+SET_VAR(parallel_fragment_exec_instance_num=2, enable_vectorized_engine=true, batch_size=4096, enable_cost_based_join_reorder=true, enable_projection=true) */
|
||||
d_year,
|
||||
s_city,
|
||||
p_brand,
|
||||
@ -32,4 +32,4 @@ WHERE
|
||||
)
|
||||
AND p_category = 'MFGR#14'
|
||||
GROUP BY d_year, s_city, p_brand
|
||||
ORDER BY d_year, s_city, p_brand;
|
||||
ORDER BY d_year, s_city, p_brand;
|
||||
|
||||
Reference in New Issue
Block a user