Stream Operation Hints

Function

Specifies the stream method, which can be broadcast, redistribute, or specifying the distribution key for Agg redistribution.

Specifies the hint for the distribution column druing the Agg process.. This parameter is supported only by clusters of version 8.1.3.100 or later.

Syntax

1
[no] broadcast | redistribute(table_list) | redistribute ((*) (columns))

Parameter Description

  • The specified distribution column must be represented by the column number in GROUP BY or DISTINCT. The column name cannot be specified.
  • For a multi-layer query, you can specify the distribution column hint at each layer. The hint takes effect only at the corresponding layer.
  • If the optimizer finds that redistribution is not required after estimation, the specified distribution column is invalid.

Tips

Example