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

Minor cleanup and formatting fixes #445

Merged
merged 1 commit into from
Feb 7, 2024
Merged

Minor cleanup and formatting fixes #445

merged 1 commit into from
Feb 7, 2024

Conversation

jpschorr
Copy link
Contributor

@jpschorr jpschorr commented Feb 7, 2024

Clippy, Format, and other small cleanup.


By submitting this pull request, I confirm that my contribution is made under the terms of the Apache 2.0 license.

@jpschorr jpschorr requested review from alancai98 and am357 February 7, 2024 17:54
Copy link

github-actions bot commented Feb 7, 2024

Conformance comparison report

Base (05d3fc8) 0a3dee6 +/-
% Passing 90.35% 90.35% 0.00%
✅ Passing 5731 5731 0
❌ Failing 612 612 0
🔶 Ignored 0 0 0
Total Tests 6343 6343 0

Number passing in both: 5731

Number failing in both: 612

Number passing in Base (05d3fc8) but now fail: 0

Number failing in Base (05d3fc8) but now pass: 0

Copy link

codecov bot commented Feb 7, 2024

Codecov Report

Attention: 16 lines in your changes are missing coverage. Please review.

Comparison is base (05d3fc8) 79.07% compared to head (3ebffda) 79.10%.

❗ Current head 3ebffda differs from pull request most recent head 002d679. Consider uploading reports for the commit 002d679 to get more accurate results

Files Patch % Lines
...ion/partiql-extension-visualize/src/plan_to_dot.rs 0.00% 9 Missing ⚠️
...sion/partiql-extension-visualize/src/ast_to_dot.rs 0.00% 7 Missing ⚠️
Additional details and impacted files
@@            Coverage Diff             @@
##             main     #445      +/-   ##
==========================================
+ Coverage   79.07%   79.10%   +0.03%     
==========================================
  Files          65       65              
  Lines       17531    17423     -108     
  Branches    17531    17423     -108     
==========================================
- Hits        13862    13782      -80     
+ Misses       3099     3075      -24     
+ Partials      570      566       -4     

☔ View full report in Codecov by Sentry.
📢 Have feedback on the report? Share it here.

@@ -118,22 +118,16 @@ impl EvalPathComponent {
impl EvalExpr for EvalPath {
fn evaluate<'a>(&'a self, bindings: &'a Tuple, ctx: &'a dyn EvalContext) -> Cow<'a, Value> {
let value = self.expr.evaluate(bindings, ctx);
let mut path_componenents = self.components.iter();
Copy link
Member

Choose a reason for hiding this comment

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

there's a clippy warning that looks unrelated to this PR's changes on L3:

unused import: BorrowMut

Copy link
Contributor Author

@jpschorr jpschorr Feb 7, 2024

Choose a reason for hiding this comment

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

@jpschorr jpschorr merged commit 00924f2 into main Feb 7, 2024
17 checks passed
@jpschorr jpschorr deleted the chore-cleanup branch February 7, 2024 18:28
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.

2 participants