Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

chore(utils): improve readability #3465

Merged
merged 1 commit into from
Jun 26, 2022

Conversation

ryanrussell
Copy link
Contributor

Signed-off-by: Ryan Russell git@ryanrussell.org

I hereby agree to the terms of the Singularity Data, Inc. Contributor License Agreement.

What's changed and what's your intention?

More code readability improvements focused in the /src/utils path

Checklist

  • I have added necessary unit tests and integration tests
  • All checks passed in ./risedev check (or alias, ./risedev c)

Signed-off-by: Ryan Russell <git@ryanrussell.org>
@codecov
Copy link

codecov bot commented Jun 26, 2022

Codecov Report

Merging #3465 (e866da5) into main (b01db84) will not change coverage.
The diff coverage is 100.00%.

@@           Coverage Diff           @@
##             main    #3465   +/-   ##
=======================================
  Coverage   74.31%   74.31%           
=======================================
  Files         769      769           
  Lines      106773   106773           
=======================================
  Hits        79347    79347           
  Misses      27426    27426           
Flag Coverage Δ
rust 74.31% <100.00%> (ø)

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

Impacted Files Coverage Δ
src/utils/memcomparable/src/de.rs 88.70% <100.00%> (ø)
src/utils/pgwire/src/pg_protocol.rs 73.77% <100.00%> (ø)
src/utils/pgwire/src/pg_server.rs 89.47% <100.00%> (ø)
src/meta/src/hummock/mock_hummock_meta_client.rs 40.56% <0.00%> (-0.95%) ⬇️
src/frontend/src/expr/utils.rs 98.99% <0.00%> (-0.26%) ⬇️
src/storage/src/hummock/local_version_manager.rs 84.37% <0.00%> (-0.16%) ⬇️
src/connector/src/filesystem/file_common.rs 80.80% <0.00%> (+0.44%) ⬆️
src/meta/src/manager/id.rs 96.06% <0.00%> (+1.12%) ⬆️

📣 Codecov can now indicate which changes are the most critical in Pull Requests. Learn more

@TennyZhuang TennyZhuang merged commit d362d96 into risingwavelabs:main Jun 26, 2022
@ryanrussell ryanrussell deleted the utils-readability branch June 26, 2022 13:08
mergify bot added a commit that referenced this pull request Jun 30, 2022
* feat(expr): support some date/time ops

Signed-off-by: Shmiwy <wyf000219@126.com>

* Update arithmetic_op.rs

* Update arithmetic_op.rs

* test: sqlsmith supports generating unary func (#3370)

* test: sqlsmith supports generating unary func (#3370)

* chore(utils): improve readability (#3465)

Signed-off-by: Ryan Russell <git@ryanrussell.org>

* chore(utils): improve readability (#3465)

Signed-off-by: Ryan Russell <git@ryanrussell.org>

* feat(expr): support some date/time ops

Signed-off-by: Shmiwy <wyf000219@126.com>

* feat(expr): support some date/time ops

Signed-off-by: Shmiwy <wyf000219@126.com>

* feat(expr): support some date/time ops

Signed-off-by: Shmiwy <wyf000219@126.com>

Co-authored-by: Tao Wu <wutao@singularity-data.com>
Co-authored-by: Ryan Russell <ryanrussell@users.noreply.github.com>
Co-authored-by: mergify[bot] <37929162+mergify[bot]@users.noreply.github.com>
huangjw806 pushed a commit that referenced this pull request Jul 5, 2022
* feat(expr): support some date/time ops

Signed-off-by: Shmiwy <wyf000219@126.com>

* Update arithmetic_op.rs

* Update arithmetic_op.rs

* test: sqlsmith supports generating unary func (#3370)

* test: sqlsmith supports generating unary func (#3370)

* chore(utils): improve readability (#3465)

Signed-off-by: Ryan Russell <git@ryanrussell.org>

* chore(utils): improve readability (#3465)

Signed-off-by: Ryan Russell <git@ryanrussell.org>

* feat(expr): support some date/time ops

Signed-off-by: Shmiwy <wyf000219@126.com>

* feat(expr): support some date/time ops

Signed-off-by: Shmiwy <wyf000219@126.com>

* feat(expr): support some date/time ops

Signed-off-by: Shmiwy <wyf000219@126.com>

Co-authored-by: Tao Wu <wutao@singularity-data.com>
Co-authored-by: Ryan Russell <ryanrussell@users.noreply.github.com>
Co-authored-by: mergify[bot] <37929162+mergify[bot]@users.noreply.github.com>
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

None yet

2 participants