Skip to content

[pick](Nereids) add expr depth limit and expr children limit in Nereids (#23569)#33905

Merged
yiguolei merged 1 commit intoapache:branch-2.0from
keanji-x:pick_0ff191c
Apr 19, 2024
Merged

[pick](Nereids) add expr depth limit and expr children limit in Nereids (#23569)#33905
yiguolei merged 1 commit intoapache:branch-2.0from
keanji-x:pick_0ff191c

Conversation

@keanji-x
Copy link
Contributor

expr_depth_limit

(#23569)
Default:3000

IsMutable:true

Limit on the depth of an expr tree. Exceed this limit may cause long analysis time while holding db read lock. Do not set this if you know what you are doing

expr_children_limit

Default:10000

IsMutable:true

Limit on the number of expr children of an expr tree. Exceed this limit may cause long analysis time while holding database read lock.

Proposed changes

Issue Number: close #xxx

Further comments

If this is a relatively large or complex change, kick off the discussion at dev@doris.apache.org by explaining why you chose the solution you did and what alternatives you considered, etc...

…reids (apache#23569)

#### `expr_depth_limit`

Default:3000

IsMutable:true

Limit on the depth of an expr tree.  Exceed this limit may cause long analysis time while holding db read lock.  Do not set this if you know what you are doing

#### `expr_children_limit`

Default:10000

IsMutable:true

Limit on the number of expr children of an expr tree.  Exceed this limit may cause long analysis time while holding database read lock.
@doris-robot
Copy link

Thank you for your contribution to Apache Doris.
Don't know what should be done next? See How to process your PR

Since 2024-03-18, the Document has been moved to doris-website.
See Doris Document.

@keanji-x
Copy link
Contributor Author

run buildall

@yiguolei yiguolei merged commit be5fc63 into apache:branch-2.0 Apr 19, 2024
mongo360 pushed a commit to mongo360/doris that referenced this pull request Aug 16, 2024
…reids (apache#23569) (apache#33905)

#### `expr_depth_limit`

Default:3000

IsMutable:true

Limit on the depth of an expr tree.  Exceed this limit may cause long analysis time while holding db read lock.  Do not set this if you know what you are doing

#### `expr_children_limit`

Default:10000

IsMutable:true

Limit on the number of expr children of an expr tree.  Exceed this limit may cause long analysis time while holding database read lock.
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Projects

None yet

Development

Successfully merging this pull request may close these issues.

3 participants