Skip to content

Commit

Permalink
[Minor]improvement(catalog-paimon):Fix irregular variable names (#4110)
Browse files Browse the repository at this point in the history
<!--
1. Title: [#<issue>] <type>(<scope>): <subject>
   Examples:
     - "[#123] feat(operator): support xxx"
     - "[#233] fix: check null before access result in xxx"
     - "[MINOR] refactor: fix typo in variable name"
     - "[MINOR] docs: fix typo in README"
     - "[#255] test: fix flaky test NameOfTheTest"
   Reference: https://www.conventionalcommits.org/en/v1.0.0/
2. If the PR is unfinished, please mark this PR as draft.
-->

### What changes were proposed in this pull request?

Fix irregular variable names: tablename -> tableName

### Why are the changes needed?

Variable name `tablename` is irregular

### Does this PR introduce _any_ user-facing change?

No

### How was this patch tested?

Modify variable name naming convention, no testing required.
  • Loading branch information
zhuangchong authored Jul 9, 2024
1 parent 178eb37 commit 12969b3
Showing 1 changed file with 2 additions and 2 deletions.
Original file line number Diff line number Diff line change
Expand Up @@ -74,9 +74,9 @@ public Table loadTable(String tableName) throws TableNotExistException {
return catalog.getTable(tableIdentifier(tableName));
}

public void createTable(String tablename, Schema schema)
public void createTable(String tableName, Schema schema)
throws Catalog.TableAlreadyExistException, DatabaseNotExistException {
catalog.createTable(tableIdentifier(tablename), schema, false);
catalog.createTable(tableIdentifier(tableName), schema, false);
}

public void dropTable(String tableName) throws TableNotExistException {
Expand Down

0 comments on commit 12969b3

Please sign in to comment.