Skip to content

Conversation

@yevgenypats
Copy link
Contributor

@yevgenypats yevgenypats commented Mar 23, 2023

This is ready for first review with tests passing. might need some more manual testing and maybe migrating a plugin like mongo/postgres and testing with source like aws,gcp to stress test common use-cases and not only internal memdb

BEGIN_COMMIT_OVERRIDE
feat!: Arrow migration for destination

END_COMMIT_OVERRIDE

@github-actions github-actions bot added the feat label Mar 23, 2023
@codecov
Copy link

codecov bot commented Mar 23, 2023

Codecov Report

Patch coverage: 33.67% and project coverage change: +3.65 🎉

Comparison is base (336a957) 43.21% compared to head (495fb52) 46.86%.

Additional details and impacted files
@@            Coverage Diff             @@
##             main     #737      +/-   ##
==========================================
+ Coverage   43.21%   46.86%   +3.65%     
==========================================
  Files          80       76       -4     
  Lines        7889     7788     -101     
==========================================
+ Hits         3409     3650     +241     
+ Misses       4013     3647     -366     
- Partials      467      491      +24     
Impacted Files Coverage Δ
clients/destination/v0/destination.go 36.25% <ø> (ø)
clients/source/v0/source.go 29.68% <ø> (ø)
internal/backends/local/local.go 59.45% <ø> (ø)
plugins/source/metrics.go 48.68% <ø> (ø)
plugins/source/options.go 0.00% <ø> (ø)
plugins/source/plugin.go 41.14% <ø> (ø)
plugins/source/scheduler.go 57.94% <ø> (ø)
plugins/source/scheduler_dfs.go 64.04% <ø> (ø)
plugins/source/scheduler_round_robin.go 84.93% <ø> (ø)
plugins/source/testing.go 12.90% <ø> (ø)
... and 14 more

... and 9 files with indirect coverage changes

Help us with your feedback. Take ten seconds to tell us how you rate us. Have a feature suggestion? Share it here.

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

@yevgenypats yevgenypats marked this pull request as draft March 23, 2023 09:52
@github-actions github-actions bot added feat and removed feat labels Mar 23, 2023
Copy link
Member

@erezrokah erezrokah left a comment

Choose a reason for hiding this comment

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

As an initial PR this looks good, I'll do a proper review once it ready

@yevgenypats yevgenypats marked this pull request as ready for review April 2, 2023 18:38
@yevgenypats yevgenypats requested a review from hermanschaaf April 2, 2023 18:39
@github-actions github-actions bot added feat and removed feat labels Apr 2, 2023
Co-authored-by: Herman Schaaf <hermanschaaf@gmail.com>
Copy link
Member

@erezrokah erezrokah left a comment

Choose a reason for hiding this comment

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

This is quite a bit of code, but I think I get the general idea of replacing our type system with Arrow's + some extensions.

Might be better to merge and work of main so we can test thoroughly.

Had some comment, the most important (non blocking one) is about the internal columns

@erezrokah
Copy link
Member

We also need to fix the CI and tests

yevgenypats and others added 11 commits April 10, 2023 16:12
Co-authored-by: Erez Rokah <erezrokah@users.noreply.github.com>
This is a follow-up on the latest commit because we were adding just the
columns without the data to the records so this should solve it by
moving it up to the server
@github-actions
Copy link

github-actions bot commented Apr 11, 2023

⏱️ Benchmark results

Comparing with 336a957

  • DefaultConcurrencyDFS-2 resources/s: 10,273 ⬇️ 11.89% decrease vs. 336a957
  • DefaultConcurrencyRoundRobin-2 resources/s: 11,104 ⬇️ 10.60% decrease vs. 336a957
  • Glob-2 ns/op: 179.1 ⬇️ 38.64% decrease vs. 336a957
  • TablesWithChildrenDFS-2 resources/s: 28,867 ⬆️ 18.00% increase vs. 336a957
  • TablesWithChildrenRoundRobin-2 resources/s: 29,838 ⬆️ 17.57% increase vs. 336a957
  • TablesWithRateLimitingDFS-2 resources/s: 28.29 ⬇️ 0.21% decrease vs. 336a957
  • TablesWithRateLimitingRoundRobin-2 resources/s: 845.7 ⬇️ 2.84% decrease vs. 336a957
  • BufferedScanner-2 ns/op: 9.295 ⬇️ 21.79% decrease vs. 336a957
  • LogReader-2 ns/op: 30.55 ⬇️ 20.62% decrease vs. 336a957

@yevgenypats yevgenypats merged commit b39da64 into main Apr 11, 2023
@yevgenypats yevgenypats deleted the feat/arrow_update branch April 11, 2023 09:26
@github-actions github-actions bot added feat and removed feat labels Apr 11, 2023
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.

4 participants