Skip to content

Conversation

@candiduslynx
Copy link
Contributor

@candiduslynx candiduslynx commented May 8, 2023

Follow-up to apache/arrow#35457

BEGIN_COMMIT_OVERRIDE
chore(tests): Ensure interface contract between types.XArray.ValueStr & types.XBuilder.AppendValueFromString (#849)

feat(arrow): Add types.XBuilder.NewXArray helpers
END_COMMIT_OVERRIDE

@codecov
Copy link

codecov bot commented May 8, 2023

Codecov Report

Patch coverage: 100.00% and project coverage change: +0.52 🎉

Comparison is base (79cf330) 47.09% compared to head (2956e06) 47.61%.

❗ Current head 2956e06 differs from pull request most recent head e141624. Consider uploading reports for the commit e141624 to get more accurate results

Additional details and impacted files
@@            Coverage Diff             @@
##             main     #849      +/-   ##
==========================================
+ Coverage   47.09%   47.61%   +0.52%     
==========================================
  Files          76       76              
  Lines        7857     7865       +8     
==========================================
+ Hits         3700     3745      +45     
+ Misses       3654     3615      -39     
- Partials      503      505       +2     
Impacted Files Coverage Δ
types/inet.go 49.61% <100.00%> (+8.53%) ⬆️
types/json.go 60.30% <100.00%> (+0.61%) ⬆️
types/mac.go 56.39% <100.00%> (+11.35%) ⬆️
types/uuid.go 53.78% <100.00%> (+10.71%) ⬆️

☔ View full report in Codecov by Sentry.
📢 Do you have feedback about the report comment? Let us know in this issue.

@github-actions
Copy link

github-actions bot commented May 8, 2023

⏱️ Benchmark results

  • DefaultConcurrencyDFS-2 resources/s: 10,643
  • DefaultConcurrencyRoundRobin-2 resources/s: 12,422
  • Glob-2 ns/op: 180.6
  • TablesWithChildrenDFS-2 resources/s: 26,382
  • TablesWithChildrenRoundRobin-2 resources/s: 27,824
  • TablesWithRateLimitingDFS-2 resources/s: 28.35
  • TablesWithRateLimitingRoundRobin-2 resources/s: 783.1
  • BufferedScanner-2 ns/op: 9.385
  • LogReader-2 ns/op: 30.66

@candiduslynx candiduslynx changed the title chore(tests): Ensure interface contract between types.XArray.ValueStr & types.XBuilder.AppendValueFromString fix(tests): Ensure interface contract between types.XArray.ValueStr & types.XBuilder.AppendValueFromString May 8, 2023
@candiduslynx candiduslynx changed the title fix(tests): Ensure interface contract between types.XArray.ValueStr & types.XBuilder.AppendValueFromString chore(tests): Ensure interface contract between types.XArray.ValueStr & types.XBuilder.AppendValueFromString May 8, 2023
@github-actions github-actions bot added fix and removed fix labels May 8, 2023
Copy link
Contributor

@yevgenypats yevgenypats left a comment

Choose a reason for hiding this comment

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

Looks good.

Nit: let's create one test TestValueStrRoundTrip and make it table driven - seems code is exactly the same in all tests.

@candiduslynx candiduslynx requested a review from yevgenypats May 8, 2023 11:02
@kodiakhq kodiakhq bot merged commit 2df4413 into main May 8, 2023
@kodiakhq kodiakhq bot deleted the chore/arrow/valuestr-appendvaluefromstring-tests branch May 8, 2023 11:04
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Projects

None yet

Development

Successfully merging this pull request may close these issues.

3 participants