Skip to content

Commit

Permalink
Change the Chinese comments to English
Browse files Browse the repository at this point in the history
  • Loading branch information
MrFengqin committed Sep 22, 2023
1 parent 922de12 commit 9452ba5
Showing 1 changed file with 2 additions and 3 deletions.
Original file line number Diff line number Diff line change
Expand Up @@ -102,10 +102,9 @@ public static JsonNode getTables(String username, String dbName) throws Exceptio
tableNames.add(tableName);
}

// 获取每个表的详细信息
// Get detailed information about each table
for (String tableName : tableNames) {
ObjectNode tableNode = jsonMapper.createObjectNode();
// 获取表详细信息
ResultSet describeRs = stat.executeQuery("DESCRIBE FORMATTED " + tableName);
while (describeRs.next()) {
String columnName = describeRs.getString(1);
Expand Down Expand Up @@ -180,7 +179,7 @@ public static JsonNode getColumns(String username, String dbName, String tbName)
dataType = dataType.trim();
}

// 判断获取分区字段
// Judgment Get partition field
if (columnName.contains("# Partition Information")) {
partition = true;
parColName = false;
Expand Down

0 comments on commit 9452ba5

Please sign in to comment.