osdir.com


[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

[jira] [Created] (CALCITE-2461) Spelling: add misspell check to Travis job


Vladimir Sitnikov created CALCITE-2461:
------------------------------------------

             Summary: Spelling: add misspell check to Travis job
                 Key: CALCITE-2461
                 URL: https://issues.apache.org/jira/browse/CALCITE-2461
             Project: Calcite
          Issue Type: Improvement
    Affects Versions: 1.17.0
            Reporter: Vladimir Sitnikov
            Assignee: Julian Hyde


[https://github.com/client9/misspell] looks like a nice project to catch typos.

Here's current output:
{noformat}
$ time ./bin/misspell . | wc -l
46

real	0m1.517s
user	0m8.338s
sys	0m0.374s{noformat}
 
{noformat}
$ ./bin/misspell .
babel/target/generated-sources/javacc/org/apache/calcite/sql/parser/babel/TokenMgrError.java:11:20: "occured" is a misspelling of "occurred"
babel/target/generated-sources/javacc/org/apache/calcite/sql/parser/babel/TokenMgrError.java:16:17: "wass" is a misspelling of "was"
babel/target/generated-sources/javacc/org/apache/calcite/sql/parser/babel/TokenMgrError.java:90:57: "occured" is a misspelling of "occurred"
babel/target/generated-sources/javacc/org/apache/calcite/sql/parser/babel/TokenMgrError.java:91:50: "occured" is a misspelling of "occurred"
babel/target/generated-sources/javacc/org/apache/calcite/sql/parser/babel/TokenMgrError.java:92:52: "occured" is a misspelling of "occurred"
babel/target/generated-sources/javacc/org/apache/calcite/sql/parser/babel/TokenMgrError.java:93:62: "occured" is a misspelling of "occurred"
cassandra/src/test/resources/twissandra.cql:240:141: "ridiculus" is a misspelling of "ridiculous"
cassandra/src/test/resources/twissandra.cql:287:191: "ridiculus" is a misspelling of "ridiculous"
cassandra/src/test/resources/twissandra.cql:305:124: "facilisi" is a misspelling of "facilities"
core/src/main/java/org/apache/calcite/runtime/CalciteContextException.java:90:29: "orginal" is a misspelling of "original"
core/src/main/java/org/apache/calcite/sql/dialect/Db2SqlDialect.java:83:70: "teh" is a misspelling of "the"
core/src/main/java/org/apache/calcite/util/ReflectiveVisitor.java:25:60: "auxilliary" is a misspelling of "auxiliary"
core/src/main/java/org/apache/calcite/util/mapping/MappingType.java:95:18: "constaints" is a misspelling of "constraints"
core/src/test/java/org/apache/calcite/test/DiffTestCase.java:178:55: "ouput" is a misspelling of "output"
core/src/test/java/org/apache/calcite/sql/parser/SqlParserTest.java:3627:17: "inital" is a misspelling of "initial"
core/src/test/resources/sql/spatial.iq:797:33: "polgyon" is a misspelling of "polygon"
core/src/test/java/org/apache/calcite/test/SqlValidatorTest.java:1217:48: "converstion" is a misspelling of "conversion"
core/target/generated-sources/javacc/org/apache/calcite/sql/parser/impl/TokenMgrError.java:11:20: "occured" is a misspelling of "occurred"
core/target/generated-sources/javacc/org/apache/calcite/sql/parser/impl/TokenMgrError.java:16:17: "wass" is a misspelling of "was"
core/target/generated-sources/javacc/org/apache/calcite/sql/parser/impl/TokenMgrError.java:90:57: "occured" is a misspelling of "occurred"
core/target/generated-sources/javacc/org/apache/calcite/sql/parser/impl/TokenMgrError.java:91:50: "occured" is a misspelling of "occurred"
core/target/generated-sources/javacc/org/apache/calcite/sql/parser/impl/TokenMgrError.java:92:52: "occured" is a misspelling of "occurred"
core/target/generated-sources/javacc/org/apache/calcite/sql/parser/impl/TokenMgrError.java:93:62: "occured" is a misspelling of "occurred"
core/target/generated-test-sources/javacc/org/apache/calcite/sql/parser/parserextensiontesting/TokenMgrError.java:11:20: "occured" is a misspelling of "occurred"
core/target/generated-test-sources/javacc/org/apache/calcite/sql/parser/parserextensiontesting/TokenMgrError.java:16:17: "wass" is a misspelling of "was"
core/target/generated-test-sources/javacc/org/apache/calcite/sql/parser/parserextensiontesting/TokenMgrError.java:90:57: "occured" is a misspelling of "occurred"
core/target/generated-test-sources/javacc/org/apache/calcite/sql/parser/parserextensiontesting/TokenMgrError.java:91:50: "occured" is a misspelling of "occurred"
core/target/generated-test-sources/javacc/org/apache/calcite/sql/parser/parserextensiontesting/TokenMgrError.java:92:52: "occured" is a misspelling of "occurred"
core/target/generated-test-sources/javacc/org/apache/calcite/sql/parser/parserextensiontesting/TokenMgrError.java:93:62: "occured" is a misspelling of "occurred"
core/target/surefire/sql/spatial.iq:797:33: "polgyon" is a misspelling of "polygon"
core/target/test-classes/sql/spatial.iq:797:33: "polgyon" is a misspelling of "polygon"
piglet/target/generated-sources/javacc/org/apache/calcite/piglet/parser/TokenMgrError.java:11:20: "occured" is a misspelling of "occurred"
piglet/target/generated-sources/javacc/org/apache/calcite/piglet/parser/TokenMgrError.java:16:17: "wass" is a misspelling of "was"
piglet/target/generated-sources/javacc/org/apache/calcite/piglet/parser/TokenMgrError.java:90:57: "occured" is a misspelling of "occurred"
piglet/target/generated-sources/javacc/org/apache/calcite/piglet/parser/TokenMgrError.java:91:50: "occured" is a misspelling of "occurred"
piglet/target/generated-sources/javacc/org/apache/calcite/piglet/parser/TokenMgrError.java:92:52: "occured" is a misspelling of "occurred"
piglet/target/generated-sources/javacc/org/apache/calcite/piglet/parser/TokenMgrError.java:93:62: "occured" is a misspelling of "occurred"
plus/src/test/resources/sql/basic.iq:90:2: "Creedence" is a misspelling of "Credence"
server/target/generated-sources/javacc/org/apache/calcite/sql/parser/ddl/TokenMgrError.java:11:20: "occured" is a misspelling of "occurred"
server/target/generated-sources/javacc/org/apache/calcite/sql/parser/ddl/TokenMgrError.java:16:17: "wass" is a misspelling of "was"
server/target/generated-sources/javacc/org/apache/calcite/sql/parser/ddl/TokenMgrError.java:90:57: "occured" is a misspelling of "occurred"
server/target/generated-sources/javacc/org/apache/calcite/sql/parser/ddl/TokenMgrError.java:91:50: "occured" is a misspelling of "occurred"
server/target/generated-sources/javacc/org/apache/calcite/sql/parser/ddl/TokenMgrError.java:92:52: "occured" is a misspelling of "occurred"
server/target/generated-sources/javacc/org/apache/calcite/sql/parser/ddl/TokenMgrError.java:93:62: "occured" is a misspelling of "occurred"
site/_posts/2017-03-31-new-avatica-repository.md:34:42: "agains" is a misspelling of "against"
site/_docs/history.md:4240:43: "suppresions" is a misspelling of "suppression"{noformat}



--
This message was sent by Atlassian JIRA
(v7.6.3#76005)