Skip to content

Conversation

@lmatz
Copy link
Contributor

@lmatz lmatz commented Feb 8, 2022

What's changed and what's your intention?

create table t1(v1 numeric);
insert into t1 values (1.23), (1.20), (1.00);
select * from t1
Previously, it returns 1.23, 1.2, 1.0;
Now, it return 1.23, 1.20, 1.00.

This blocks tpch q18.

1 in the query of tpch q10 is changed to 1.00 due to reasons in #135. Batch's q10 has a manually added round, so may leave it for now.

Checklist

  • I have written necessary docs and comments

Refer to a related PR or issue link (optional)

closes #115

@github-actions github-actions bot added the type/fix Type: Bug fix. Only for pull requests. label Feb 8, 2022
@codecov
Copy link

codecov bot commented Feb 8, 2022

Codecov Report

Merging #129 (3a394c5) into main (8409f28) will increase coverage by 0.00%.
The diff coverage is 100.00%.

Impacted file tree graph

@@            Coverage Diff            @@
##               main     #129   +/-   ##
=========================================
  Coverage     74.46%   74.46%           
- Complexity     2653     2654    +1     
=========================================
  Files           833      833           
  Lines         47824    47824           
  Branches       1562     1562           
=========================================
+ Hits          35610    35611    +1     
+ Misses        11415    11414    -1     
  Partials        799      799           
Flag Coverage Δ
java 62.08% <100.00%> (+<0.01%) ⬆️
rust 79.81% <ø> (+<0.01%) ⬆️

Flags with carried forward coverage won't be shown. Click here to find out more.

Impacted Files Coverage Δ
...n/java/com/risingwave/sql/ToCalciteAstVisitor.java 75.74% <100.00%> (+0.06%) ⬆️
...in/java/com/risingwave/sql/tree/DoubleLiteral.java 53.33% <100.00%> (+7.17%) ⬆️
rust/storage/src/hummock/mod.rs 79.04% <0.00%> (-0.59%) ⬇️
rust/meta/src/hummock/compaction.rs 74.50% <0.00%> (+0.65%) ⬆️

Continue to review full report at Codecov.

Legend - Click here to learn more
Δ = absolute <relative> (impact), ø = not affected, ? = missing data
Powered by Codecov. Last update 8409f28...3a394c5. Read the comment docs.

@lmatz lmatz force-pushed the lz/decimal_frontend branch from 20bb0ea to 3a394c5 Compare February 8, 2022 06:19
@lmatz lmatz requested a review from fuyufjh February 8, 2022 06:37
@lmatz lmatz merged commit 17cf8c4 into main Feb 8, 2022
@lmatz lmatz deleted the lz/decimal_frontend branch February 8, 2022 06:53
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

type/fix Type: Bug fix. Only for pull requests.

Projects

None yet

Development

Successfully merging this pull request may close these issues.

parseDouble in java frontend has unexpected behavior with trailing 0

3 participants