You are viewing a plain text version of this content. The canonical link for it is here.
Posted to issues@hugegraph.apache.org by "DanGuge (via GitHub)" <gi...@apache.org> on 2023/07/21 16:08:05 UTC

[GitHub] [incubator-hugegraph] DanGuge opened a new pull request, #2253: fix: incorrect use of 'NO_LIMIT' variable

DanGuge opened a new pull request, #2253:
URL: https://github.com/apache/incubator-hugegraph/pull/2253

   * replace Query.NO_LIMIT with HugeTraverser.NO_LIMIT
   
   <!-- 
     Thank you very much for contributing to Apache HugeGraph, we are happy that you want to help us improve it!
   
     Here are some tips for you:
       1. If this is your first time, please read the [contributing guidelines](https://github.com/apache/hugegraph/blob/master/CONTRIBUTING.md)
   
       2. If a PR fix/close an issue, type the message "close xxx" (xxx is the link of related 
   issue) in the content, GitHub will auto link it (Required)
   
       3. Name the PR title in "Google Commit Format", start with "feat | fix | perf | refactor | doc | chore", 
         such like: "feat(core): support the PageRank algorithm" or "fix: wrong break in the compute loop" (module is optional)
         skip it if you are unsure about which is the best component.
   
       4. One PR address one issue, better not to mix up multiple issues.
   
       5. Put an `x` in the `[ ]` to mark the item as CHECKED. `[x]` (or click it directly after 
   published)
   -->
   
   ## Purpose of the PR
   
   * fix the incorrect use of 'NO_LIMIT' variable
   
   <!--
   Please explain more context in this section, clarify why the changes are needed. 
   e.g:
   - If you propose a new API, clarify the use case for a new API.
   - If you fix a bug, you can clarify why it is a bug, and should be associated with an issue.
   -->
   
   ## Main Changes
   
   * replace Query.NO_LIMIT with HugeTraverser.NO_LIMIT in KoutAPI.java
   * format KoutAPI.java based on [hugegraph-style](https://github.com/apache/incubator-hugegraph/blob/master/hugegraph-style.xml)
   
   <!-- Please clarify what changes you are proposing. The purpose of this section is to outline the changes and how this PR fixes the issue. These change logs are helpful for better ant faster reviews.)
   
   For example:
   
   - If you introduce a new feature, please show detailed design here or add the link of design documentation.
   - If you refactor some codes with changing classes, showing the class hierarchy will help reviewers.
   - If there is a discussion in the mailing list, please add the link. -->
   
   ## Verifying these changes
   
   <!-- Please pick the proper options below -->
   
   - [x] Trivial rework / code cleanup without any test coverage. (No Need)
   - [ ] Already covered by existing tests, such as *(please modify tests here)*.
   - [ ] Need tests and can be verified as follows:
       - xxx
   
   ## Does this PR potentially affect the following parts?
   
   <!-- DO NOT REMOVE THIS SECTION. CHECK THE PROPER BOX ONLY. -->
   
   - [ ]  Nope
   - [ ]  Dependencies (add/update license info) <!-- Don't forget to add/update the info in "LICENSE" & "NOTICE" files (both in root & dist module) -->
   - [ ]  Modify configurations
   - [x]  The public API
   - [ ]  Other affects (typed here)
   
   ## Documentation Status
   
   <!-- DO NOT REMOVE THIS SECTION. CHECK THE PROPER BOX ONLY. -->
   
   - [ ]  `Doc - TODO` <!-- Your PR changes impact docs and you will update later -->
   - [ ]  `Doc - Done` <!-- Related docs have been already added or updated -->
   - [x]  `Doc - No Need` <!-- Your PR changes don't impact/need docs -->
   


-- 
This is an automated message from the Apache Git Service.
To respond to the message, please log on to GitHub and use the
URL above to go to the specific comment.

To unsubscribe, e-mail: issues-unsubscribe@hugegraph.apache.org

For queries about this service, please contact Infrastructure at:
users@infra.apache.org


---------------------------------------------------------------------
To unsubscribe, e-mail: issues-unsubscribe@hugegraph.apache.org
For additional commands, e-mail: issues-help@hugegraph.apache.org


[GitHub] [incubator-hugegraph] codecov[bot] commented on pull request #2253: fix: incorrect use of 'NO_LIMIT' variable

Posted by "codecov[bot] (via GitHub)" <gi...@apache.org>.
codecov[bot] commented on PR #2253:
URL: https://github.com/apache/incubator-hugegraph/pull/2253#issuecomment-1646581433

   ## [Codecov](https://app.codecov.io/gh/apache/incubator-hugegraph/pull/2253?src=pr&el=h1&utm_medium=referral&utm_source=github&utm_content=comment&utm_campaign=pr+comments&utm_term=apache) Report
   > Merging [#2253](https://app.codecov.io/gh/apache/incubator-hugegraph/pull/2253?src=pr&el=desc&utm_medium=referral&utm_source=github&utm_content=comment&utm_campaign=pr+comments&utm_term=apache) (e3ae330) into [master](https://app.codecov.io/gh/apache/incubator-hugegraph/commit/7927335303e28803b5a7bc0c1fe8191b75f8587b?el=desc&utm_medium=referral&utm_source=github&utm_content=comment&utm_campaign=pr+comments&utm_term=apache) (7927335) will **decrease** coverage by `9.43%`.
   > The diff coverage is `0.00%`.
   
   ```diff
   @@             Coverage Diff              @@
   ##             master    #2253      +/-   ##
   ============================================
   - Coverage     58.08%   48.65%   -9.43%     
   + Complexity      905      652     -253     
   ============================================
     Files           498      498              
     Lines         40684    40681       -3     
     Branches       5681     5668      -13     
   ============================================
   - Hits          23632    19795    -3837     
   - Misses        14613    18750    +4137     
   + Partials       2439     2136     -303     
   ```
   
   
   | [Impacted Files](https://app.codecov.io/gh/apache/incubator-hugegraph/pull/2253?src=pr&el=tree&utm_medium=referral&utm_source=github&utm_content=comment&utm_campaign=pr+comments&utm_term=apache) | Coverage Δ | |
   |---|---|---|
   | [.../apache/hugegraph/api/traversers/KneighborAPI.java](https://app.codecov.io/gh/apache/incubator-hugegraph/pull/2253?src=pr&el=tree&utm_medium=referral&utm_source=github&utm_content=comment&utm_campaign=pr+comments&utm_term=apache#diff-aHVnZWdyYXBoLWFwaS9zcmMvbWFpbi9qYXZhL29yZy9hcGFjaGUvaHVnZWdyYXBoL2FwaS90cmF2ZXJzZXJzL0tuZWlnaGJvckFQSS5qYXZh) | `74.50% <0.00%> (ø)` | |
   | [...a/org/apache/hugegraph/api/traversers/KoutAPI.java](https://app.codecov.io/gh/apache/incubator-hugegraph/pull/2253?src=pr&el=tree&utm_medium=referral&utm_source=github&utm_content=comment&utm_campaign=pr+comments&utm_term=apache#diff-aHVnZWdyYXBoLWFwaS9zcmMvbWFpbi9qYXZhL29yZy9hcGFjaGUvaHVnZWdyYXBoL2FwaS90cmF2ZXJzZXJzL0tvdXRBUEkuamF2YQ==) | `75.00% <0.00%> (ø)` | |
   | [.../traversal/algorithm/records/KneighborRecords.java](https://app.codecov.io/gh/apache/incubator-hugegraph/pull/2253?src=pr&el=tree&utm_medium=referral&utm_source=github&utm_content=comment&utm_campaign=pr+comments&utm_term=apache#diff-aHVnZWdyYXBoLWNvcmUvc3JjL21haW4vamF2YS9vcmcvYXBhY2hlL2h1Z2VncmFwaC90cmF2ZXJzYWwvYWxnb3JpdGhtL3JlY29yZHMvS25laWdoYm9yUmVjb3Jkcy5qYXZh) | `89.47% <0.00%> (ø)` | |
   | [...graph/traversal/algorithm/records/KoutRecords.java](https://app.codecov.io/gh/apache/incubator-hugegraph/pull/2253?src=pr&el=tree&utm_medium=referral&utm_source=github&utm_content=comment&utm_campaign=pr+comments&utm_term=apache#diff-aHVnZWdyYXBoLWNvcmUvc3JjL21haW4vamF2YS9vcmcvYXBhY2hlL2h1Z2VncmFwaC90cmF2ZXJzYWwvYWxnb3JpdGhtL3JlY29yZHMvS291dFJlY29yZHMuamF2YQ==) | `85.71% <0.00%> (ø)` | |
   
   ... and [107 files with indirect coverage changes](https://app.codecov.io/gh/apache/incubator-hugegraph/pull/2253/indirect-changes?src=pr&el=tree-more&utm_medium=referral&utm_source=github&utm_content=comment&utm_campaign=pr+comments&utm_term=apache)
   
   :mega: We’re building smart automated test selection to slash your CI/CD build times. [Learn more](https://about.codecov.io/iterative-testing/?utm_medium=referral&utm_source=github&utm_content=comment&utm_campaign=pr+comments&utm_term=apache)
   


-- 
This is an automated message from the Apache Git Service.
To respond to the message, please log on to GitHub and use the
URL above to go to the specific comment.

To unsubscribe, e-mail: issues-unsubscribe@hugegraph.apache.org

For queries about this service, please contact Infrastructure at:
users@infra.apache.org


---------------------------------------------------------------------
To unsubscribe, e-mail: issues-unsubscribe@hugegraph.apache.org
For additional commands, e-mail: issues-help@hugegraph.apache.org


[GitHub] [incubator-hugegraph] imbajin merged pull request #2253: fix: incorrect use of 'NO_LIMIT' variable

Posted by "imbajin (via GitHub)" <gi...@apache.org>.
imbajin merged PR #2253:
URL: https://github.com/apache/incubator-hugegraph/pull/2253


-- 
This is an automated message from the Apache Git Service.
To respond to the message, please log on to GitHub and use the
URL above to go to the specific comment.

To unsubscribe, e-mail: issues-unsubscribe@hugegraph.apache.org

For queries about this service, please contact Infrastructure at:
users@infra.apache.org


---------------------------------------------------------------------
To unsubscribe, e-mail: issues-unsubscribe@hugegraph.apache.org
For additional commands, e-mail: issues-help@hugegraph.apache.org