Skip to content

Commit 0d88499

Browse files
authored
[hotfix] Fix some typo in documents and code (apache#5204)
1 parent 378f3da commit 0d88499

File tree

7 files changed

+11
-13
lines changed

7 files changed

+11
-13
lines changed

docs/content/engines/starrocks.md

Lines changed: 4 additions & 6 deletions
Original file line numberDiff line numberDiff line change
@@ -38,12 +38,10 @@ Paimon catalogs are registered by executing a `CREATE EXTERNAL CATALOG` SQL in S
3838
For example, you can use the following SQL to create a Paimon catalog named paimon_catalog.
3939

4040
```sql
41-
CREATE EXTERNAL CATALOG paimon_catalog
42-
PROPERTIES
43-
(
44-
"type" = "paimon",
45-
"paimon.catalog.type" = "filesystem",
46-
"paimon.catalog.warehouse" = "oss://<your_bucket>/user/warehouse/"
41+
CREATE EXTERNAL CATALOG paimon_catalog PROPERTIES(
42+
"type" = "paimon",
43+
"paimon.catalog.type" = "filesystem",
44+
"paimon.catalog.warehouse" = "oss://<your_bucket>/user/warehouse/"
4745
);
4846
```
4947

docs/layouts/shortcodes/center.html

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -18,7 +18,7 @@
1818
*/}}{{/*
1919
Shortcode for centering text
2020

21-
Parmeters: markdown text
21+
Parameters: markdown text
2222
*/}}
2323
<div style="text-align: center;">
2424
{{ .Inner | markdownify }}

docs/layouts/shortcodes/gh_link.html

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -19,7 +19,7 @@
1919
Shortcode for linking to a file in github. This shortcode
2020
will automatically discover the repo and correct branch.
2121

22-
Parmeters:
22+
Parameters:
2323
- file: The absolute path to the image file (required)
2424
- name: The rendered link name (required)
2525
*/}}

docs/layouts/shortcodes/github_repo.html

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -18,5 +18,5 @@
1818
*/}}{{/*
1919
Shortcode that interpolates the full github repo
2020

21-
Parmeters: None
21+
Parameters: None
2222
*/}}{{- $.Site.Params.GithubRepo -}}

docs/layouts/shortcodes/presto_github_repo.html

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -18,5 +18,5 @@
1818
*/}}{{/*
1919
Shortcode that interpolates the full github repo
2020

21-
Parmeters: None
21+
Parameters: None
2222
*/}}{{- $.Site.Params.PrestoGithubRepo -}}

docs/layouts/shortcodes/trino_github_repo.html

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -18,5 +18,5 @@
1818
*/}}{{/*
1919
Shortcode that interpolates the full github repo
2020

21-
Parmeters: None
21+
Parameters: None
2222
*/}}{{- $.Site.Params.TrinoGithubRepo -}}

paimon-core/src/main/java/org/apache/paimon/migrate/FileMetaUtils.java

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -175,9 +175,9 @@ public static DataFileMeta constructFileMeta(
175175
private static Path renameFile(
176176
FileIO fileIO, Path originPath, Path newDir, String format, Map<Path, Path> rollback)
177177
throws IOException {
178-
String subfix = "." + format;
178+
String suffix = "." + format;
179179
String fileName = originPath.getName();
180-
String newFileName = fileName.endsWith(subfix) ? fileName : fileName + "." + format;
180+
String newFileName = fileName.endsWith(suffix) ? fileName : fileName + "." + format;
181181
Path newPath = new Path(newDir, newFileName);
182182
rollback.put(newPath, originPath);
183183
LOG.info("Migration: rename file from " + originPath + " to " + newPath);

0 commit comments

Comments
 (0)