Skip to content

Conversation

@morrySnow
Copy link
Contributor

pick from master
PR: #25637
commit id: ae66464

extract slot and literal in comparison predicate. infer new one by equals predicates. use TypeCoercion to add cast on new comparison predicate to ensure it is correct.

This reverts "Fix Add cast comparison with slot reference when inferring predicate (#21171)" commit 58f2593.

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...

…pache#25637)

pick from master
PR: apache#25637
commit id: ae66464

extract slot and literal in comparison predicate. infer new one by equals predicates.
use TypeCoercion to add cast on new comparison predicate to ensure it is correct.

This reverts "[Fix](Nereids) Add cast comparison with slot reference when inferring predicate (apache#21171)"
commit 58f2593.
@morrySnow
Copy link
Contributor Author

run buildall

@hello-stephen
Copy link
Contributor

(From new machine)TeamCity pipeline, clickbench performance test result:
the sum of best hot time: 49.32 seconds
stream load tsv: 559 seconds loaded 74807831229 Bytes, about 127 MB/s
stream load json: 19 seconds loaded 2358488459 Bytes, about 118 MB/s
stream load orc: 65 seconds loaded 1101869774 Bytes, about 16 MB/s
stream load parquet: 32 seconds loaded 861443392 Bytes, about 25 MB/s
insert into select: 29.5 seconds inserted 10000000 Rows, about 338K ops/s
storage size: 17162261090 Bytes

@xiaokang xiaokang merged commit 47f95da into apache:branch-2.0 Oct 26, 2023
@morrySnow morrySnow deleted the infer20 branch October 26, 2023 11:35
gnehil pushed a commit to gnehil/doris that referenced this pull request Dec 4, 2023
…pache#25637) (apache#25930)

pick from master
PR: apache#25637
commit id: ae66464

extract slot and literal in comparison predicate. infer new one by equals predicates.
use TypeCoercion to add cast on new comparison predicate to ensure it is correct.

This reverts "[Fix](Nereids) Add cast comparison with slot reference when inferring predicate (apache#21171)"
commit 58f2593.
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