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

fix: print import rows count after finished #1401

Merged
merged 4 commits into from
Mar 10, 2022

Conversation

Manny-op
Copy link
Contributor

@Manny-op Manny-op commented Mar 9, 2022

  • Please check if the PR fulfills these requirements
  • The commit message follows our guidelines
  • Tests for the changes have been added (for bug fixes / features)
  • Docs have been added / updated (for bug fixes / features)
  • What kind of change does this PR introduce? (Bug fix, feature, docs update, ...)

-fix that allows importer to know number of rows read. Resolve #1327

  • What is the current behavior? (You can also link to an open issue here)

  • What is the new behavior (if this is a feature change)?

  • Does this PR introduce a breaking change? (What changes might users need to make in their application due to this PR?)

  • Other information:

Issue 4paradigm#1327  attempt fix.
Made integer variable within while loop that reads lines. After loop finishes, uses System.out.println to output the number.
@aceforeverd aceforeverd changed the title Issue 1327 fix: #1327 Mar 9, 2022
@github-actions
Copy link
Contributor

github-actions bot commented Mar 9, 2022

Linux Test Report

     112 files       238 suites   45m 9s ⏱️
  8 620 tests   8 617 ✔️ 3 💤 0
12 752 runs  12 749 ✔️ 3 💤 0

Results for commit e39f4a3.

♻️ This comment has been updated with latest results.

@codecov
Copy link

codecov bot commented Mar 9, 2022

Codecov Report

Merging #1401 (e39f4a3) into main (0601201) will decrease coverage by 0.00%.
The diff coverage is n/a.

Impacted file tree graph

@@             Coverage Diff              @@
##               main    #1401      +/-   ##
============================================
- Coverage     65.48%   65.48%   -0.01%     
  Complexity      236      236              
============================================
  Files           571      571              
  Lines        106952   106965      +13     
  Branches        859      859              
============================================
+ Hits          70040    70047       +7     
- Misses        36760    36766       +6     
  Partials        152      152              
Impacted Files Coverage Δ
src/zk/dist_lock.cc 81.81% <0.00%> (-1.52%) ⬇️
src/catalog/sdk_catalog.cc 73.40% <0.00%> (-1.07%) ⬇️
src/sdk/sql_cluster_router.cc 38.12% <0.00%> (-0.36%) ⬇️
src/tablet/tablet_impl.cc 37.90% <0.00%> (ø)
hybridse/src/udf/literal_traits.h 98.70% <0.00%> (+<0.01%) ⬆️
hybridse/src/codegen/expr_ir_builder_test.cc 98.24% <0.00%> (+0.04%) ⬆️
src/catalog/tablet_catalog.cc 69.81% <0.00%> (+0.94%) ⬆️

Continue to review full report at Codecov.

Legend - Click here to learn more
Δ = absolute <relative> (impact), ø = not affected, ? = missing data
Powered by Codecov. Last update 0601201...e39f4a3. Read the comment docs.

@vagetablechicken vagetablechicken changed the title fix: #1327 fix: print import rows count after finished Mar 9, 2022
Addressed comments left about comment placement and print statement.
@vagetablechicken vagetablechicken merged commit 1982344 into 4paradigm:main Mar 10, 2022
dl239 pushed a commit to dl239/OpenMLDB that referenced this pull request Mar 11, 2022
Made integer variable within while loop that reads lines. After loop finishes, uses System.out.println to output the number.
@lumianph lumianph mentioned this pull request Mar 28, 2022
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.

importer: count how many rows we read
4 participants