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

refactor(source): Move field datagen to common #3491

Merged
merged 4 commits into from
Jun 28, 2022

Conversation

liurenjie1024
Copy link
Contributor

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

What's changed and what's your intention?

Random datagen is quite useful in not only connector, but also tests. For example, we can use this data generator to generate random data for micro bench mark. So we move it from connector crate to common crate.

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)

Copy link
Contributor

@github-actions github-actions bot left a comment

Choose a reason for hiding this comment

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

license-eye has totally checked 879 files.

Valid Invalid Ignored Fixed
877 1 1 0
Click to see the invalid file list
  • src/batch/benches/filter.rs

src/batch/benches/filter.rs Outdated Show resolved Hide resolved
@liurenjie1024 liurenjie1024 requested review from skyzh and removed request for Little-Wallace June 27, 2022 08:09
@liurenjie1024 liurenjie1024 linked an issue Jun 27, 2022 that may be closed by this pull request
16 tasks
@codecov
Copy link

codecov bot commented Jun 27, 2022

Codecov Report

Merging #3491 (ef5c9cd) into main (f1b9a2c) will decrease coverage by 0.00%.
The diff coverage is n/a.

@@            Coverage Diff             @@
##             main    #3491      +/-   ##
==========================================
- Coverage   74.39%   74.39%   -0.01%     
==========================================
  Files         768      768              
  Lines      107784   107784              
==========================================
- Hits        80183    80181       -2     
- Misses      27601    27603       +2     
Flag Coverage Δ
rust 74.39% <ø> (-0.01%) ⬇️

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

Impacted Files Coverage Δ
src/common/src/field_generator/mod.rs 60.71% <ø> (ø)
src/common/src/field_generator/numeric.rs 95.89% <ø> (ø)
src/common/src/field_generator/timestamp.rs 0.00% <ø> (ø)
src/common/src/field_generator/varchar.rs 0.00% <ø> (ø)
src/common/src/lib.rs 100.00% <ø> (ø)
src/connector/src/datagen/source/generator.rs 98.21% <ø> (ø)
src/connector/src/datagen/source/reader.rs 85.58% <ø> (ø)
src/meta/src/manager/id.rs 95.50% <0.00%> (-1.13%) ⬇️
src/storage/src/hummock/iterator/merge_inner.rs 89.37% <0.00%> (-0.63%) ⬇️
src/connector/src/filesystem/file_common.rs 80.35% <0.00%> (-0.45%) ⬇️
... and 3 more

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

@liurenjie1024 liurenjie1024 enabled auto-merge (squash) June 27, 2022 08:52
@liurenjie1024 liurenjie1024 merged commit 1f29633 into main Jun 28, 2022
@liurenjie1024 liurenjie1024 deleted the renjie/move_datagen_to_common branch June 28, 2022 02:55
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.

batch: setup micro benchmark for executors
2 participants