Skip to content

Conversation

@BiteTheDDDDt
Copy link
Contributor

Proposed changes

fix divide double can not match mv

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

@BiteTheDDDDt
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: 46.75 seconds
stream load tsv: 552 seconds loaded 74807831229 Bytes, about 129 MB/s
stream load json: 19 seconds loaded 2358488459 Bytes, about 118 MB/s
stream load orc: 64 seconds loaded 1101869774 Bytes, about 16 MB/s
stream load parquet: 30 seconds loaded 861443392 Bytes, about 27 MB/s
insert into select: 29.3 seconds inserted 10000000 Rows, about 341K ops/s
storage size: 17162085123 Bytes

HappenLee
HappenLee previously approved these changes Aug 25, 2023
Copy link
Contributor

@HappenLee HappenLee left a comment

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

LGTM

@github-actions github-actions bot added the approved Indicates a PR has been approved by one committer. label Aug 25, 2023
@github-actions
Copy link
Contributor

PR approved by at least one committer and no changes requested.

@github-actions
Copy link
Contributor

PR approved by anyone and no changes requested.

@BiteTheDDDDt
Copy link
Contributor Author

run buildall

@github-actions github-actions bot removed the approved Indicates a PR has been approved by one committer. label Aug 28, 2023
@hello-stephen
Copy link
Contributor

(From new machine)TeamCity pipeline, clickbench performance test result:
the sum of best hot time: 45.81 seconds
stream load tsv: 534 seconds loaded 74807831229 Bytes, about 133 MB/s
stream load json: 20 seconds loaded 2358488459 Bytes, about 112 MB/s
stream load orc: 64 seconds loaded 1101869774 Bytes, about 16 MB/s
stream load parquet: 30 seconds loaded 861443392 Bytes, about 27 MB/s
insert into select: 28.9 seconds inserted 10000000 Rows, about 346K ops/s
storage size: 17162088365 Bytes

@BiteTheDDDDt
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: 46.33 seconds
stream load tsv: 536 seconds loaded 74807831229 Bytes, about 133 MB/s
stream load json: 20 seconds loaded 2358488459 Bytes, about 112 MB/s
stream load orc: 64 seconds loaded 1101869774 Bytes, about 16 MB/s
stream load parquet: 32 seconds loaded 861443392 Bytes, about 25 MB/s
insert into select: 28.9 seconds inserted 10000000 Rows, about 346K ops/s
storage size: 17162216154 Bytes

Copy link
Contributor

@HappenLee HappenLee left a comment

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

LGTM

@github-actions github-actions bot added the approved Indicates a PR has been approved by one committer. label Aug 28, 2023
@github-actions
Copy link
Contributor

PR approved by at least one committer and no changes requested.

@BiteTheDDDDt BiteTheDDDDt merged commit 8e4c0d1 into apache:master Aug 28, 2023
xiaokang pushed a commit that referenced this pull request Aug 30, 2023
* fix divide double can not match mv

* fix

* fix
morrySnow added a commit to morrySnow/incubator-doris that referenced this pull request Dec 28, 2023
remove float and double literal toString and getStringValue introduced by
PR apache#23504 and PR apache#23271
These functions lead to wrong cast result of double and float literal
morrySnow added a commit to morrySnow/incubator-doris that referenced this pull request Dec 28, 2023
remove float and double literal toString and getStringValue introduced by
PR apache#23504 and PR apache#23271
These functions lead to wrong cast result of double and float literal

fix string cast to datetimev2 error introduced by PR apache#26827
we should cast to exactly scale of datetimev2 when cast string to it
morrySnow added a commit to morrySnow/incubator-doris that referenced this pull request Dec 28, 2023
remove float and double literal toString and getStringValue introduced by
PR apache#23504 and PR apache#23271
These functions lead to wrong cast result of double and float literal

fix string cast to datetimev2 error introduced by PR apache#26827
we should cast to exactly scale of datetimev2 when cast string to it
morrySnow added a commit to morrySnow/incubator-doris that referenced this pull request Dec 29, 2023
remove float and double literal toString and getStringValue introduced by
PR apache#23504 and PR apache#23271
These functions lead to wrong cast result of double and float literal

fix string cast to datetimev2 error introduced by PR apache#26827
we should cast to exactly scale of datetimev2 when cast string to it
morrySnow added a commit to morrySnow/incubator-doris that referenced this pull request Jan 5, 2024
remove float and double literal toString and getStringValue introduced by
PR apache#23504 and PR apache#23271
These functions lead to wrong cast result of double and float literal

fix string cast to datetimev2 error introduced by PR apache#26827
we should cast to exactly scale of datetimev2 when cast string to it
morrySnow added a commit to morrySnow/incubator-doris that referenced this pull request Jan 5, 2024
remove float and double literal toString and getStringValue introduced by
PR apache#23504 and PR apache#23271
These functions lead to wrong cast result of double and float literal

fix string cast to datetimev2 error introduced by PR apache#26827
we should cast to exactly scale of datetimev2 when cast string to it
morrySnow added a commit to morrySnow/incubator-doris that referenced this pull request Jan 8, 2024
remove float and double literal toString and getStringValue introduced by
PR apache#23504 and PR apache#23271
These functions lead to wrong cast result of double and float literal

fix string cast to datetimev2 error introduced by PR apache#26827
we should cast to exactly scale of datetimev2 when cast string to it
morrySnow added a commit to morrySnow/incubator-doris that referenced this pull request Jan 8, 2024
remove float and double literal toString and getStringValue introduced by
PR apache#23504 and PR apache#23271
These functions lead to wrong cast result of double and float literal

fix string cast to datetimev2 error introduced by PR apache#26827
we should cast to exactly scale of datetimev2 when cast string to it
morrySnow added a commit that referenced this pull request Jan 9, 2024
…ed (#28959)

FIX
1. remove float and double literal toString and getStringValue introduced by
  PR #23504 and PR #23271
  These functions lead to wrong cast result of double and float literal
2. fix compute signature for datetimev2 always produce scale 6
3. fix stats calculator failed when generate node stats with two same column
4. constant fold on fe failed when cast double to integral

TODO
after fix the first problem, some mv matching not work well, fix them later
- test_dup_mv_div
- test_dup_mv_json
- test_tcu
yiguolei pushed a commit that referenced this pull request Jan 12, 2024
…ed (#28959)

FIX
1. remove float and double literal toString and getStringValue introduced by
  PR #23504 and PR #23271
  These functions lead to wrong cast result of double and float literal
2. fix compute signature for datetimev2 always produce scale 6
3. fix stats calculator failed when generate node stats with two same column
4. constant fold on fe failed when cast double to integral

TODO
after fix the first problem, some mv matching not work well, fix them later
- test_dup_mv_div
- test_dup_mv_json
- test_tcu
HappenLee pushed a commit to HappenLee/incubator-doris that referenced this pull request Jan 12, 2024
…ed (apache#28959)

FIX
1. remove float and double literal toString and getStringValue introduced by
  PR apache#23504 and PR apache#23271
  These functions lead to wrong cast result of double and float literal
2. fix compute signature for datetimev2 always produce scale 6
3. fix stats calculator failed when generate node stats with two same column
4. constant fold on fe failed when cast double to integral

TODO
after fix the first problem, some mv matching not work well, fix them later
- test_dup_mv_div
- test_dup_mv_json
- test_tcu
@BiteTheDDDDt BiteTheDDDDt deleted the fix_0825 branch January 20, 2025 06:57
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

approved Indicates a PR has been approved by one committer. dev/2.0.2-merged reviewed

Projects

None yet

Development

Successfully merging this pull request may close these issues.

5 participants