Conversation
Signed-off-by: Josh Soref <[email protected]>
Signed-off-by: Josh Soref <[email protected]>
Signed-off-by: Josh Soref <[email protected]>
Signed-off-by: Josh Soref <[email protected]>
Signed-off-by: Josh Soref <[email protected]>
Signed-off-by: Josh Soref <[email protected]>
Signed-off-by: Josh Soref <[email protected]>
Signed-off-by: Josh Soref <[email protected]>
Signed-off-by: Josh Soref <[email protected]>
Signed-off-by: Josh Soref <[email protected]>
Signed-off-by: Josh Soref <[email protected]>
Signed-off-by: Josh Soref <[email protected]>
Signed-off-by: Josh Soref <[email protected]>
|
CLA Assistant Lite bot Good! All Contributors have signed the CLA. |
jsoref
left a comment
There was a problem hiding this comment.
Corrections mostly automatically suggested by Google Sheets.
All fault mine.
| 5. Sign the HugeGraph CLA: [https://cla-assistant.io/hugegraph/hugegraph](https://cla-assistant.io/hugegraph/hugegraph) | ||
|
|
||
| Optional: You can use [Github desktop](https://desktop.github.com/) to greatly simplify the commit and update process. | ||
| Optional: You can use [GitHub desktop](https://desktop.github.com/) to greatly simplify the commit and update process. |
hugegraph-test/src/main/java/com/baidu/hugegraph/unit/core/RangeTest.java
Show resolved
Hide resolved
| conn.createStatement().execute(sql); | ||
| } catch (PSQLException e) { | ||
| // CockroackDB not support 'template' arg of CREATE DATABASE | ||
| // CockroachDB not support 'template' arg of CREATE DATABASE |
| new ConfigOption<>( | ||
| "palo.poll_interval", | ||
| "The execution peroid of the background thread that " + | ||
| "The execution period of the background thread that " + |
| GraphTraversalSource g = graph.traversal(); | ||
|
|
||
| GraphTraversal<Vertex, Vertex> vertexs = g.V(); | ||
| GraphTraversal<Vertex, Vertex> vertices = g.V(); |
There was a problem hiding this comment.
this is 200:1 vs vertexes
|
|
||
| # Ensure operations involving astral characters fail loudly, | ||
| # rather than mysql silently replacing each each byte of the | ||
| # rather than mysql silently replacing each byte of the |
There was a problem hiding this comment.
This isn't strictly a spelling thing, but spell checkers have been complaining about doubled words for decades, so my tool now includes this as well...
There was a problem hiding this comment.
nice catch for your spelling-check tool, we do need the rule
| import com.baidu.hugegraph.backend.id.Id; | ||
|
|
||
| public interface Indexfiable { | ||
| public interface Indexifiable { |
There was a problem hiding this comment.
The tool recognized this as a non-word. The correction here was manual (Google Sheets guessed Index Fiable).
Picking correct words is generally left as the responsibility of a human, although for large lists, I'm able to leverage Google Sheets corrections for some portion of items.
There was a problem hiding this comment.
I think "Indexable" is a more appropriate word here
There was a problem hiding this comment.
Oh, I should note that the places where I comment about api breaks are purely manual, it's my way of saying "I'm a human, not a robot, I do understand that changes have consequences". They also aren't necessarily exhaustive (I tend to do this changes while exhausted...).
| public static final ConfigOption<Long> SNOWFLAKE_DATACENTER_ID = | ||
| new ConfigOption<>( | ||
| "snowflake.datecenter_id", | ||
| "snowflake.datacenter_id", |
There was a problem hiding this comment.
yep, although this config influence little, we should update the doc later (mark)
| /****************************** ShardSplitter ******************************/ | ||
|
|
||
| public static abstract class ShardSpliter<Session extends BackendSession> { | ||
| public static abstract class ShardSplitter<Session extends BackendSession> { |
| TableBackendEntry.Row row) { | ||
| String properties = row.column(HugeKeys.PROPERTIES); | ||
| // Query edge will wraped by a vertex, whose properties is empty | ||
| // Query edge will wrapped by a vertex, whose properties is empty |
There was a problem hiding this comment.
will wrapped --> wil be wrapped? (Can this be detected? lack be)
There was a problem hiding this comment.
Kinda. It isn't a grammar checker, but if you know someone is going to make a certain kind of mistake and can describe it with a regular expression, then, yes.
This is the set of supplemental rules that were used for this PR:
https://github.com/jsoref/hugegraph/blob/spell-check/.github/actions/spelling/line_forbidden.patterns
Only the last one is actually fancy.
But, you could do something like:
# s.b. will _be_ ...
\bwill [a-z]{3,}ed\b
There was a problem hiding this comment.
Note that this heuristic would fail for will speed up (bumping to {4,} would cover that case).
I haven't thought through these edges before.
In theory, there may be grammar checkers available for GitHub, although, I can't point to any as GitHub Actions.
|
recheck |
javeme
left a comment
There was a problem hiding this comment.
Thank you very much for your contribution! Nice tool.
hugegraph-core/src/main/java/com/baidu/hugegraph/traversal/optimize/TraversalUtil.java
Show resolved
Hide resolved
hugegraph-example/src/main/java/com/baidu/hugegraph/example/PerfExample1.java
Show resolved
Hide resolved
| List<Map> vertices = readList(content, "vertices", Map.class); | ||
|
|
||
| Map<String, String> vertextName2Ids = new HashMap<>(); | ||
| Map<String, String> vertexName2Ids = new HashMap<>(); |
|
|
||
| @Test | ||
| public void testParseRepilcaWithSimpleStrategy() { | ||
| public void testParseReplicaWithSimpleStrategy() { |
hugegraph-test/src/main/java/com/baidu/hugegraph/unit/core/RangeTest.java
Show resolved
Hide resolved
| import com.baidu.hugegraph.backend.id.Id; | ||
|
|
||
| public interface Indexfiable { | ||
| public interface Indexifiable { |
There was a problem hiding this comment.
I think "Indexable" is a more appropriate word here
hugegraph-core/src/main/java/com/baidu/hugegraph/schema/SchemaLabel.java
Outdated
Show resolved
Hide resolved
APACHE_PROPOSAL.md
Outdated
| #### Relationship with Titan/Janus Graph | ||
|
|
||
| In the early stage of the project, we referred to the storage structure of Titan/Janus Graph, some folks thought that HugeGraph was forked from Titan/Janus. In fact, HugeGraph is not based on these projects. HugeGraph is developed completely from scratch and in the process it addressed many new challenges. Certainly, the project was inspired by Titan/Janus and we are really gratitious for such inspirations. | ||
| In the early stage of the project, we referred to the storage structure of Titan/Janus Graph, some folks thought that HugeGraph was forked from Titan/Janus. In fact, HugeGraph is not based on these projects. HugeGraph is developed completely from scratch and in the process it addressed many new challenges. Certainly, the project was inspired by Titan/Janus and we are really gratuitous for such inspirations. |
There was a problem hiding this comment.
I should note that the downside of a spelling oriented automated fix is that one can get a correctly spelled word that one shouldn't use. This is an example.
https://github.com/hugegraph/hugegraph/pull/1797#discussion_r836326440
Signed-off-by: Josh Soref <[email protected]>
Signed-off-by: Josh Soref <[email protected]>
Signed-off-by: Josh Soref <[email protected]>
Signed-off-by: Josh Soref <[email protected]>
6a1755f to
09d3a9a
Compare
Signed-off-by: Josh Soref <[email protected]>
Signed-off-by: Josh Soref <[email protected]>
Signed-off-by: Josh Soref <[email protected]>
Signed-off-by: Josh Soref <[email protected]>
Signed-off-by: Josh Soref <[email protected]>
Signed-off-by: Josh Soref <[email protected]>
Signed-off-by: Josh Soref <[email protected]>
Signed-off-by: Josh Soref <[email protected]>
Signed-off-by: Josh Soref <[email protected]>
Signed-off-by: Josh Soref <[email protected]>
Signed-off-by: Josh Soref <[email protected]>
Signed-off-by: Josh Soref <[email protected]>
Signed-off-by: Josh Soref <[email protected]>
Signed-off-by: Josh Soref <[email protected]>
Signed-off-by: Josh Soref <[email protected]>
Signed-off-by: Josh Soref <[email protected]>
Signed-off-by: Josh Soref <[email protected]>
Signed-off-by: Josh Soref <[email protected]>
Signed-off-by: Josh Soref <[email protected]>
Signed-off-by: Josh Soref <[email protected]>
Signed-off-by: Josh Soref <[email protected]>
Signed-off-by: Josh Soref <[email protected]>
Signed-off-by: Josh Soref <[email protected]>
Signed-off-by: Josh Soref <[email protected]>
Signed-off-by: Josh Soref <[email protected]>
Codecov Report
@@ Coverage Diff @@
## master #1798 +/- ##
============================================
+ Coverage 66.91% 70.87% +3.96%
Complexity 978 978
============================================
Files 446 446
Lines 37781 37781
Branches 5380 5380
============================================
+ Hits 25281 26778 +1497
+ Misses 9776 8282 -1494
+ Partials 2724 2721 -3
Continue to review full report at Codecov.
|
imbajin
left a comment
There was a problem hiding this comment.
Thanks for your contribution, u could submit another pr for github action u mentioned before ~
This PR corrects misspellings identified by the check-spelling action.
The misspellings have been reported at jsoref@e94f980#commitcomment-69669718
The action reports that the changes in this PR would make it happy: jsoref@45806c1
Note: this PR does not include the action. If you're interested in running a spell check on every PR and push, that can be offered separately.