Skip to content

Commit

Permalink
fixed
Browse files Browse the repository at this point in the history
  • Loading branch information
sunxiaojian committed Mar 16, 2024
1 parent 005a043 commit a395178
Show file tree
Hide file tree
Showing 2 changed files with 7 additions and 1 deletion.
6 changes: 6 additions & 0 deletions docs/layouts/shortcodes/generated/core_configuration.html
Original file line number Diff line number Diff line change
Expand Up @@ -731,5 +731,11 @@
<td>Integer</td>
<td>The bytes of types (CHAR, VARCHAR, BINARY, VARBINARY) devote to the zorder sort.</td>
</tr>
<tr>
<td><h5>branch</h5></td>
<td style="word-wrap: break-word;">main</td>
<td>String</td>
<td>Specify branch name.</td>
</tr>
</tbody>
</table>
Original file line number Diff line number Diff line change
Expand Up @@ -326,7 +326,7 @@ public Table getTable(Identifier identifier) throws TableNotExistException {
} else {
Table table = getDataTable(identifier);
// Override branch option
if (!branchName.equals(BranchManager.DEFAULT_MAIN_BRANCH)){
if (!branchName.equals(BranchManager.DEFAULT_MAIN_BRANCH)) {
table.options().put(CoreOptions.BRANCH.key(), branchName);
}
return table;
Expand Down

0 comments on commit a395178

Please sign in to comment.