-
Notifications
You must be signed in to change notification settings - Fork 5.5k
Spelling #17393
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
Spelling #17393
Changes from all commits
File filter
Filter by extension
Conversations
Jump to
Diff view
Diff view
There are no files selected for viewing
| Original file line number | Diff line number | Diff line change |
|---|---|---|
|
|
@@ -95,11 +95,11 @@ To learn how to build the docs, see the [docs README](presto-docs/README.md). | |
|
|
||
| ## Building the Web UI | ||
|
|
||
| The Presto Web UI is composed of several React components and is written in JSX and ES6. This source code is compiled and packaged into browser-compatible Javascript, which is then checked in to the Presto source code (in the `dist` folder). You must have [Node.js](https://nodejs.org/en/download/) and [Yarn](https://yarnpkg.com/en/) installed to execute these commands. To update this folder after making changes, simply run: | ||
| The Presto Web UI is composed of several React components and is written in JSX and ES6. This source code is compiled and packaged into browser-compatible JavaScript, which is then checked in to the Presto source code (in the `dist` folder). You must have [Node.js](https://nodejs.org/en/download/) and [Yarn](https://yarnpkg.com/en/) installed to execute these commands. To update this folder after making changes, simply run: | ||
|
|
||
| yarn --cwd presto-main/src/main/resources/webapp/src install | ||
|
|
||
| If no Javascript dependencies have changed (i.e., no changes to `package.json`), it is faster to run: | ||
| If no JavaScript dependencies have changed (i.e., no changes to `package.json`), it is faster to run: | ||
|
Comment on lines
-98
to
+102
Contributor
Author
There was a problem hiding this comment. Choose a reason for hiding this commentThe reason will be displayed to describe this comment to others. Learn more. Also a brand. |
||
|
|
||
| yarn --cwd presto-main/src/main/resources/webapp/src run package | ||
|
|
||
|
|
||
Some generated files are not rendered by default. Learn more about how customized files appear on GitHub.
| Original file line number | Diff line number | Diff line change |
|---|---|---|
|
|
@@ -56,7 +56,7 @@ | |
| /** | ||
| * Presto module to do all kinds of run Guice injection stuff! | ||
| * <p> | ||
| * WARNING: Contains black magick | ||
| * WARNING: Contains black magic | ||
|
Contributor
Author
There was a problem hiding this comment. Choose a reason for hiding this commentThe reason will be displayed to describe this comment to others. Learn more. Some projects are intentionally cute, this one doesn't appear to be particularly. |
||
| */ | ||
| public class AccumuloModule | ||
| implements Module | ||
|
|
||
| Original file line number | Diff line number | Diff line change |
|---|---|---|
|
|
@@ -281,7 +281,7 @@ public void close() | |
| * so we can configure Accumulo to only give us the first key/value pair in the row | ||
| * | ||
| * @param rowIdName Row ID column name | ||
| * @return True if scanner should retriev eonly row IDs, false otherwise | ||
| * @return True if scanner should retrieve only row IDs, false otherwise | ||
|
Contributor
Author
There was a problem hiding this comment. Choose a reason for hiding this commentThe reason will be displayed to describe this comment to others. Learn more. Space key won a race with the e key :-) |
||
| */ | ||
| private boolean retrieveOnlyRowIds(String rowIdName) | ||
| { | ||
|
|
||
| Original file line number | Diff line number | Diff line change |
|---|---|---|
|
|
@@ -27,7 +27,7 @@ public SqlJoniRegexpBenchmark(LocalQueryRunner localQueryRunner, String query, S | |
|
|
||
| public static void main(String[] args) | ||
| { | ||
| new SqlJoniRegexpBenchmark(createLocalQueryRunner(), "SELECT array_agg(regexp_extract_all(comment||cast(random() as varchar), '[a-z]* ')) FROM orders cross join unnest(sequence(1, 10))", "sql_regexp_extract_alll").runBenchmark(new SimpleLineBenchmarkResultWriter(System.out)); | ||
| new SqlJoniRegexpBenchmark(createLocalQueryRunner(), "SELECT array_agg(regexp_extract_all(comment||cast(random() as varchar), '[a-z]* ')) FROM orders cross join unnest(sequence(1, 10))", "sql_regexp_extract_all").runBenchmark(new SimpleLineBenchmarkResultWriter(System.out)); | ||
|
Contributor
Author
There was a problem hiding this comment. Choose a reason for hiding this commentThe reason will be displayed to describe this comment to others. Learn more. I couldn't find any other references for this... |
||
| new SqlJoniRegexpBenchmark(createLocalQueryRunner(), "SELECT array_agg(regexp_replace(comment||cast(random() as varchar), '[a-z]* ', cast(random() as varchar))) FROM orders cross join unnest(sequence(1, 10))", "sql_regexp_replace").runBenchmark(new SimpleLineBenchmarkResultWriter(System.out)); | ||
| } | ||
| } | ||
| Original file line number | Diff line number | Diff line change |
|---|---|---|
|
|
@@ -407,7 +407,7 @@ private boolean write(FileReadRequest key, byte[] data, Path newFilePath) | |
|
|
||
| // no lock is needed for the following operation | ||
| if (updated) { | ||
| // remove the the previous or following file as well | ||
| // remove the previous or following file as well | ||
|
Contributor
Author
There was a problem hiding this comment. Choose a reason for hiding this commentThe reason will be displayed to describe this comment to others. Learn more. This is flagged by special tooling. I also am using code to apply fixes, so I haven't necessarily reviewed each change, but I'm relatively confident of most of them. |
||
| if (previousCacheFile != null) { | ||
| cacheFilesToDelete.add(previousCacheFile.getPath()); | ||
| } | ||
|
|
||
| Original file line number | Diff line number | Diff line change |
|---|---|---|
|
|
@@ -144,7 +144,7 @@ public static class ClientTypeSignatureParameterDeserializer | |
| private static final ObjectMapper MAPPER = new JsonObjectMapperProvider().get(); | ||
|
|
||
| @Override | ||
| public ClientTypeSignatureParameter deserialize(JsonParser jp, DeserializationContext ctxt) | ||
| public ClientTypeSignatureParameter deserialize(JsonParser jp, DeserializationContext ctx) | ||
|
Contributor
Author
There was a problem hiding this comment. Choose a reason for hiding this commentThe reason will be displayed to describe this comment to others. Learn more. This seems to be the preferred spelling (in this repository, in general, and personally). |
||
| throws IOException | ||
| { | ||
| JsonNode node = jp.getCodec().readTree(jp); | ||
|
|
||
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
This is a brand. (It's flagged by recently added tooling.)