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

feat(config): support extra_float_digits #3417

Merged
merged 3 commits into from
Jun 23, 2022
Merged

feat(config): support extra_float_digits #3417

merged 3 commits into from
Jun 23, 2022

Conversation

lmatz
Copy link
Contributor

@lmatz lmatz commented Jun 23, 2022

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

What's changed and what's your intention?

As linked in #3406, this is a no-op for now. And in most cases, the default usage is to set it as 3 to get the shortest-precise float as the text output, i.e. Sqlancer, and JDBC mentioned in #3293.

Since we may need to fully support it in the future, #3406 will be kept.

Checklist

  • I have written necessary docs and comments
    - [ ] I have added necessary unit tests and integration tests
  • All checks passed in ./risedev check (or alias, ./risedev c)

Refer to a related PR or issue link (optional)

closes #3293

@xiangjinwu
Copy link
Contributor

What about an e2e test to prevent regression?

@lmatz lmatz added the mergify/can-merge Indicates that the PR can be added to the merge queue label Jun 23, 2022
@lmatz lmatz enabled auto-merge (squash) June 23, 2022 04:35
@lmatz lmatz merged commit ec32030 into main Jun 23, 2022
@lmatz lmatz deleted the lz/config branch June 23, 2022 04:46
@codecov
Copy link

codecov bot commented Jun 23, 2022

Codecov Report

Merging #3417 (5fdd676) into main (3183b69) will increase coverage by 0.00%.
The diff coverage is 100.00%.

@@           Coverage Diff           @@
##             main    #3417   +/-   ##
=======================================
  Coverage   73.59%   73.59%           
=======================================
  Files         765      765           
  Lines      104937   104938    +1     
=======================================
+ Hits        77232    77233    +1     
  Misses      27705    27705           
Flag Coverage Δ
rust 73.59% <100.00%> (+<0.01%) ⬆️

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

Impacted Files Coverage Δ
src/frontend/src/session.rs 42.01% <100.00%> (+0.13%) ⬆️
src/meta/src/barrier/mod.rs 69.29% <0.00%> (-0.30%) ⬇️
src/common/src/types/ordered_float.rs 24.90% <0.00%> (+0.19%) ⬆️

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

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
mergify/can-merge Indicates that the PR can be added to the merge queue type/feature
Projects
None yet
Development

Successfully merging this pull request may close these issues.

feat: support SET extra_float_digits = 3
2 participants