Skip to content

World's most powerful open data catalog for building a high-performance, geo-distributed and federated metadata lake.

[MINOR] fix: Correct some typos and grammar issues (#4282)

RickyMa4a590f8c3889
diff --git a/api/src/main/java/org/apache/gravitino/authorization/User.java b/api/src/main/java/org/apache/gravitino/authorization/User.java
index 4541a06bc0..ee1dbfa1db 100644
--- a/api/src/main/java/org/apache/gravitino/authorization/User.java
+++ b/api/src/main/java/org/apache/gravitino/authorization/User.java
@@ -28,7 +28,7 @@ public interface User extends Auditable {
/**
* The name of the user. It's the identifier of User. It must be unique. Usually the name comes
- * from a external user management system like LDAP, IAM and so on.
+ * from an external user management system like LDAP, IAM and so on.
*
* @return The name of the user.
*/
diff --git a/api/src/main/java/org/apache/gravitino/rel/TableCatalog.java b/api/src/main/java/org/apache/gravitino/rel/TableCatalog.java
index 923eb4f6cd..5a82d38bc7 100644
--- a/api/src/main/java/org/apache/gravitino/rel/TableCatalog.java
+++ b/api/src/main/java/org/apache/gravitino/rel/TableCatalog.java
@@ -202,7 +202,7 @@ public interface TableCatalog {
* @param distribution The distribution of the table
* @param sortOrders The sort orders of the table
* @param partitions The table partitioning.
- * @return Fhe created table metadata.
+ * @return The created table metadata.
* @throws NoSuchSchemaException If the schema does not exist.
* @throws TableAlreadyExistsException If the table already exists.
*/
diff --git a/api/src/main/java/org/apache/gravitino/rel/expressions/transforms/Transforms.java b/api/src/main/java/org/apache/gravitino/rel/expressions/transforms/Transforms.java
index 9ff6fe9724..73cb33b553 100644
--- a/api/src/main/java/org/apache/gravitino/rel/expressions/transforms/Transforms.java
+++ b/api/src/main/java/org/apache/gravitino/rel/expressions/transforms/Transforms.java
@@ -293,10 +293,10 @@ public class Transforms {
}
/**
- * Create a hour transform that applies a function to the input value.
+ * Create an hour transform that applies a function to the input value.
*
* @param ref The reference to transform.
- * @return A hour transform.
+ * @return An hour transform.
*/
private static HourTransform hour(NamedReference ref) {
return new HourTransform(ref);
diff --git a/api/src/main/java/org/apache/gravitino/rel/indexes/Indexes.java b/api/src/main/java/org/apache/gravitino/rel/indexes/Indexes.java
index eaf4dcd8be..33b8f5cd81 100644
--- a/api/src/main/java/org/apache/gravitino/rel/indexes/Indexes.java
+++ b/api/src/main/java/org/apache/gravitino/rel/indexes/Indexes.java
@@ -115,7 +115,7 @@ public class Indexes {
return new Builder();
}
- /** Builder to create a index. */
+ /** Builder to create an index. */
public static class Builder {
/** The type of the index. */
diff --git a/catalogs/catalog-common/build.gradle.kts b/catalogs/catalog-common/build.gradle.kts
index 421e8a229c..5bfe52af5e 100644
--- a/catalogs/catalog-common/build.gradle.kts
+++ b/catalogs/catalog-common/build.gradle.kts
@@ -21,7 +21,7 @@ plugins {
id("java")
}
-// try avoid add extra dependencies because it is used by catalogs and connectors.
+// try to avoid adding extra dependencies because it is used by catalogs and connectors.
dependencies {
implementation(libs.slf4j.api)
}
diff --git a/catalogs/catalog-hadoop/src/main/java/org/apache/gravitino/catalog/hadoop/HadoopCatalog.java b/catalogs/catalog-hadoop/src/main/java/org/apache/gravitino/catalog/hadoop/HadoopCatalog.java
index 8774705cf8..193219ab8d 100644
--- a/catalogs/catalog-hadoop/src/main/java/org/apache/gravitino/catalog/hadoop/HadoopCatalog.java
+++ b/catalogs/catalog-hadoop/src/main/java/org/apache/gravitino/catalog/hadoop/HadoopCatalog.java
@@ -26,8 +26,8 @@ import org.apache.gravitino.connector.capability.Capability;
/**
* Hadoop catalog is a fileset catalog that can manage filesets on the Hadoop Compatible File
- * Systems, like Local, HDFS, S3, ADLS, etc, using the Hadoop FileSystem API. It can manage filesets
- * from different Hadoop Compatible File Systems in the same catalog.
+ * Systems, like Local, HDFS, S3, ADLS, etc., using the Hadoop FileSystem API. It can manage
+ * filesets from different Hadoop Compatible File Systems in the same catalog.
*/
public class HadoopCatalog extends BaseCatalog<HadoopCatalog> {
diff --git a/catalogs/catalog-jdbc-mysql/src/test/java/org/apache/gravitino/catalog/mysql/integration/test/CatalogMysqlIT.java b/catalogs/catalog-jdbc-mysql/src/test/java/org/apache/gravitino/catalog/mysql/integration/test/CatalogMysqlIT.java
index fe394528c5..e1cae77e0c 100644
--- a/catalogs/catalog-jdbc-mysql/src/test/java/org/apache/gravitino/catalog/mysql/integration/test/CatalogMysqlIT.java
+++ b/catalogs/catalog-jdbc-mysql/src/test/java/org/apache/gravitino/catalog/mysql/integration/test/CatalogMysqlIT.java
@@ -1774,7 +1774,7 @@ public class CatalogMysqlIT extends AbstractIT {
new SortOrder[0],
Indexes.EMPTY_INDEXES);
- // Test add auto increment ,but not insert index. will failed.
+ // Test add auto increment ,but not insert index. will fail.
RuntimeException runtimeException =
assertThrows(
RuntimeException.class,
diff --git a/catalogs/catalog-lakehouse-iceberg/build.gradle.kts b/catalogs/catalog-lakehouse-iceberg/build.gradle.kts
index 5f9aa02fcd..154cbc65a7 100644
--- a/catalogs/catalog-lakehouse-iceberg/build.gradle.kts
+++ b/catalogs/catalog-lakehouse-iceberg/build.gradle.kts
@@ -81,7 +81,7 @@ dependencies {
testImplementation(libs.junit.jupiter.api)
testImplementation(libs.junit.jupiter.params)
testImplementation(libs.mockito.core)
- // For test TestMultipleJDBCLoad, it was depended on testcontainers.mysql and testcontainers.postgresql)
+ // For test TestMultipleJDBCLoad, it was depended on testcontainers.mysql and testcontainers.postgresql
testImplementation(libs.mysql.driver)
testImplementation(libs.postgresql.driver)
diff --git a/clients/client-java/build.gradle.kts b/clients/client-java/build.gradle.kts
index 4f38e3c373..a4f9499709 100644
--- a/clients/client-java/build.gradle.kts
+++ b/clients/client-java/build.gradle.kts
@@ -27,7 +27,7 @@ dependencies {
implementation(project(":common"))
implementation(libs.protobuf.java.util) {
exclude("com.google.guava", "guava")
- .because("Brings in Guava for Andriod, which we don't want (and breaks multimaps).")
+ .because("Brings in Guava for Android, which we don't want (and breaks multimaps).")
}
implementation(libs.jackson.databind)
implementation(libs.jackson.annotations)
diff --git a/clients/client-java/src/main/java/org/apache/gravitino/client/GravitinoClient.java b/clients/client-java/src/main/java/org/apache/gravitino/client/GravitinoClient.java
index 5a233ee116..a66987f66e 100644
--- a/clients/client-java/src/main/java/org/apache/gravitino/client/GravitinoClient.java
+++ b/clients/client-java/src/main/java/org/apache/gravitino/client/GravitinoClient.java
@@ -34,7 +34,7 @@ import org.apache.gravitino.tag.TagChange;
import org.apache.gravitino.tag.TagOperations;
/**
- * Apache Gravitino Client for an user to interact with the Gravitino API, allowing the client to
+ * Apache Gravitino Client for a user to interact with the Gravitino API, allowing the client to
* list, load, create, and alter Catalog.
*
* <p>It uses an underlying {@link RESTClient} to send HTTP requests and receive responses from the
diff --git a/common/src/main/java/org/apache/gravitino/dto/authorization/UserDTO.java b/common/src/main/java/org/apache/gravitino/dto/authorization/UserDTO.java
index 7370cd0883..a8894c9499 100644
--- a/common/src/main/java/org/apache/gravitino/dto/authorization/UserDTO.java
+++ b/common/src/main/java/org/apache/gravitino/dto/authorization/UserDTO.java
@@ -78,7 +78,7 @@ public class UserDTO implements User {
}
/**
- * Creates a new Builder for constructing an User DTO.
+ * Creates a new Builder for constructing a User DTO.
*
* @return A new Builder instance.
*/
diff --git a/common/src/main/java/org/apache/gravitino/dto/rel/expressions/LiteralDTO.java b/common/src/main/java/org/apache/gravitino/dto/rel/expressions/LiteralDTO.java
index a949a50be3..ae74430e20 100644
--- a/common/src/main/java/org/apache/gravitino/dto/rel/expressions/LiteralDTO.java
+++ b/common/src/main/java/org/apache/gravitino/dto/rel/expressions/LiteralDTO.java
@@ -27,7 +27,7 @@ import org.apache.gravitino.rel.types.Types;
@EqualsAndHashCode
public class LiteralDTO implements Literal<String>, FunctionArg {
- /** A instance of LiteralDTO with a value of "NULL" and a data type of Types.NullType.get(). */
+ /** An instance of LiteralDTO with a value of "NULL" and a data type of Types.NullType.get(). */
public static final LiteralDTO NULL = new LiteralDTO("NULL", Types.NullType.get());
private final String value;
diff --git a/common/src/main/java/org/apache/gravitino/dto/responses/ErrorResponse.java b/common/src/main/java/org/apache/gravitino/dto/responses/ErrorResponse.java
index c4706e0ee8..f38fabc81b 100644
--- a/common/src/main/java/org/apache/gravitino/dto/responses/ErrorResponse.java
+++ b/common/src/main/java/org/apache/gravitino/dto/responses/ErrorResponse.java
@@ -225,7 +225,7 @@ public class ErrorResponse extends BaseResponse {
}
/**
- * Create a new non empty error instance of {@link ErrorResponse}.
+ * Create a new non-empty error instance of {@link ErrorResponse}.
*
* @param type The type of the error.
* @param message The message of the error.
@@ -236,7 +236,7 @@ public class ErrorResponse extends BaseResponse {
}
/**
- * Create a new non empty error instance of {@link ErrorResponse}.
+ * Create a new non-empty error instance of {@link ErrorResponse}.
*
* @param type The type of the error.
* @param message The message of the error.
diff --git a/common/src/main/java/org/apache/gravitino/dto/util/DTOConverters.java b/common/src/main/java/org/apache/gravitino/dto/util/DTOConverters.java
index ba99d527fd..9588fae8b2 100644
--- a/common/src/main/java/org/apache/gravitino/dto/util/DTOConverters.java
+++ b/common/src/main/java/org/apache/gravitino/dto/util/DTOConverters.java
@@ -504,7 +504,7 @@ public class DTOConverters {
}
/**
- * Converts a Expression to an FunctionArg DTO.
+ * Converts an Expression to an FunctionArg DTO.
*
* @param expression The expression to be converted.
* @return The expression DTO.
diff --git a/common/src/main/java/org/apache/gravitino/json/JsonUtils.java b/common/src/main/java/org/apache/gravitino/json/JsonUtils.java
index b3f81cb67b..ce80965b6a 100644
--- a/common/src/main/java/org/apache/gravitino/json/JsonUtils.java
+++ b/common/src/main/java/org/apache/gravitino/json/JsonUtils.java
@@ -343,7 +343,7 @@ public class JsonUtils {
}
/**
- * Get a int value from a JSON node property.
+ * Get an int value from a JSON node property.
*
* @param property The property name.
* @param node The JSON node.
diff --git a/common/src/main/java/org/apache/gravitino/rest/RESTUtils.java b/common/src/main/java/org/apache/gravitino/rest/RESTUtils.java
index d59a291d1c..4c25cbfd4d 100644
--- a/common/src/main/java/org/apache/gravitino/rest/RESTUtils.java
+++ b/common/src/main/java/org/apache/gravitino/rest/RESTUtils.java
@@ -65,7 +65,7 @@ public class RESTUtils {
}
/**
- * Encode a map of form data into an URL encoded string.
+ * Encode a map of form data into a URL encoded string.
*
* @param formData The form data to encode.
* @return The URL encoded form data string.
@@ -79,7 +79,7 @@ public class RESTUtils {
}
/**
- * Decode an URL encoded form data string into a map.
+ * Decode a URL encoded form data string into a map.
*
* @param formString The URL encoded form data string.
* @return The decoded form data map.
@@ -110,7 +110,7 @@ public class RESTUtils {
}
/**
- * Decode an URL encoded string.
+ * Decode a URL encoded string.
*
* @param encoded The URL encoded string to decode.
* @return The decoded string.
diff --git a/conf/gravitino-iceberg-rest-server.conf.template b/conf/gravitino-iceberg-rest-server.conf.template
index 64efda1e7b..ed3f8916b5 100644
--- a/conf/gravitino-iceberg-rest-server.conf.template
+++ b/conf/gravitino-iceberg-rest-server.conf.template
@@ -41,7 +41,7 @@ gravitino.iceberg-rest.requestHeaderSize = 131072
gravitino.iceberg-rest.responseHeaderSize = 131072
# THE CONFIGURATION FOR Iceberg catalog backend
-# The Iceberg catalog backend, it's recommanded to change to hive or jdbc
+# The Iceberg catalog backend, it's recommended to change to hive or jdbc
gravitino.iceberg-rest.catalog-backend = memory
# The warehouse directory of Iceberg catalog
gravitino.iceberg-rest.warehouse = /tmp/
diff --git a/conf/gravitino.conf.template b/conf/gravitino.conf.template
index 450a3033b4..0894b7ab5d 100644
--- a/conf/gravitino.conf.template
+++ b/conf/gravitino.conf.template
@@ -68,7 +68,7 @@ gravitino.iceberg-rest.classpath = iceberg-rest-server/libs, iceberg-rest-server
gravitino.iceberg-rest.host = 0.0.0.0
# Iceberg REST service http port
gravitino.iceberg-rest.httpPort = 9001
-# The backend Iceberg catalog for Iceberg REST service, it's recommanded to change to hive or jdbc
+# The backend Iceberg catalog for Iceberg REST service, it's recommended to change to hive or jdbc
gravitino.iceberg-rest.catalog-backend = memory
# The warehouse directory of Iceberg catalog for Iceberg REST service
gravitino.iceberg-rest.warehouse = /tmp/
diff --git a/core/src/main/java/org/apache/gravitino/storage/kv/TransactionalKvBackendImpl.java b/core/src/main/java/org/apache/gravitino/storage/kv/TransactionalKvBackendImpl.java
index 1ad301c95b..8e3f44b129 100644
--- a/core/src/main/java/org/apache/gravitino/storage/kv/TransactionalKvBackendImpl.java
+++ b/core/src/main/java/org/apache/gravitino/storage/kv/TransactionalKvBackendImpl.java
@@ -205,7 +205,7 @@ public class TransactionalKvBackendImpl implements TransactionalKvBackend {
public List<Pair<byte[], byte[]>> scan(KvRange scanRange) throws IOException {
// Why we need to change the end key? Because we use the transaction id to construct a row key
// Assuming the end key is 'a' and the value of endInclusive is true, if we want to scan the
- // value of key a, then we need to change the end key to 'b' and set the value of endInclusive
+ // value of key 'a', then we need to change the end key to 'b' and set the value of endInclusive
// to false.
byte[] end = scanRange.getEnd();
boolean endInclude = scanRange.isEndInclusive();
diff --git a/core/src/test/java/org/apache/gravitino/storage/relational/service/TestGroupMetaService.java b/core/src/test/java/org/apache/gravitino/storage/relational/service/TestGroupMetaService.java
index bd0aaa8234..240f6298ee 100644
--- a/core/src/test/java/org/apache/gravitino/storage/relational/service/TestGroupMetaService.java
+++ b/core/src/test/java/org/apache/gravitino/storage/relational/service/TestGroupMetaService.java
@@ -229,7 +229,7 @@ class TestGroupMetaService extends TestJDBCBackend {
Sets.newHashSet(role1.name(), role2.name()),
Sets.newHashSet(actualOverwriteGroup2.roleNames()));
- // insert overwrite user with 1 roles
+ // insert overwrite user with 1 role
RoleEntity role3 =
createRoleEntity(
RandomIdGenerator.INSTANCE.nextId(),
diff --git a/core/src/test/java/org/apache/gravitino/storage/relational/service/TestUserMetaService.java b/core/src/test/java/org/apache/gravitino/storage/relational/service/TestUserMetaService.java
index 4f283b6039..1834ed16f5 100644
--- a/core/src/test/java/org/apache/gravitino/storage/relational/service/TestUserMetaService.java
+++ b/core/src/test/java/org/apache/gravitino/storage/relational/service/TestUserMetaService.java
@@ -228,7 +228,7 @@ class TestUserMetaService extends TestJDBCBackend {
Sets.newHashSet(role1.name(), role2.name()),
Sets.newHashSet(actualOverwriteUser2.roleNames()));
- // insert overwrite user with 1 roles
+ // insert overwrite user with 1 role
RoleEntity role3 =
createRoleEntity(
RandomIdGenerator.INSTANCE.nextId(),
diff --git a/docs/glossary.md b/docs/glossary.md
index 63cc6c9c3b..22002168a1 100644
--- a/docs/glossary.md
+++ b/docs/glossary.md
@@ -290,7 +290,7 @@ license: "This software is licensed under the Apache License version 2."
## Public key
-- A openly shared key used for verification, encryption, or other operations intended for public knowledge.
+- An openly shared key used for verification, encryption, or other operations intended for public knowledge.
## Representational State Transfer (REST)
diff --git a/docs/jdbc-doris-catalog.md b/docs/jdbc-doris-catalog.md
index a3c6abd689..9ea70362a2 100644
--- a/docs/jdbc-doris-catalog.md
+++ b/docs/jdbc-doris-catalog.md
@@ -13,7 +13,7 @@ import TabItem from '@theme/TabItem';
## Introduction
-Apache Gravitino provides the ability to manage [Apache Doris](https://doris.apache.org/) metadata through JDBC connection..
+Apache Gravitino provides the ability to manage [Apache Doris](https://doris.apache.org/) metadata through JDBC connection.
:::caution
Gravitino saves some system information in schema and table comments, like
diff --git a/docs/manage-table-partition-using-gravitino.md b/docs/manage-table-partition-using-gravitino.md
index 29e84b6cdf..8936e5e3a0 100644
--- a/docs/manage-table-partition-using-gravitino.md
+++ b/docs/manage-table-partition-using-gravitino.md
@@ -207,7 +207,7 @@ Each list in the lists must have the same length. The values in each list must c
</Tabs>
You can add a partition to a partitioned table by sending a `POST` request to the `/api/metalakes/{metalake_name}/catalogs/{catalog_name}/schemas/{schema_name}/tables/{partitioned_table_name}/partitions` endpoint or by using the Gravitino Java client.
-The following is an example of adding a identity partition to a Hive partitioned table:
+The following is an example of adding an identity partition to a Hive partitioned table:
<Tabs groupId='language' queryString>
<TabItem value="shell" label="Shell">
diff --git a/docs/security.md b/docs/security.md
index 73f5cceba5..bf12a62d05 100644
--- a/docs/security.md
+++ b/docs/security.md
@@ -223,7 +223,7 @@ Refer to the "Additional JSSE Standard Names" section of the [Java security guid
### Example
-You can follow the steps to set up a HTTPS server.
+You can follow the steps to set up an HTTPS server.
1. Prerequisite
diff --git a/docs/table-partitioning-bucketing-sort-order-indexes.md b/docs/table-partitioning-bucketing-sort-order-indexes.md
index f0ca28b5ca..1e744b564e 100644
--- a/docs/table-partitioning-bucketing-sort-order-indexes.md
+++ b/docs/table-partitioning-bucketing-sort-order-indexes.md
@@ -272,7 +272,7 @@ Indexes.of(IndexType.PRIMARY_KEY, "PRIMARY", new String[][]{{"col_1"}, {"col_2"}
</TabItem>
</Tabs>
-The following is an example of creating a index table:
+The following is an example of creating an index table:
<Tabs groupId='language' queryString>
<TabItem value="shell" label="Shell">
diff --git a/flink-connector/src/main/java/org/apache/gravitino/flink/connector/hive/GravitinoHiveCatalog.java b/flink-connector/src/main/java/org/apache/gravitino/flink/connector/hive/GravitinoHiveCatalog.java
index c93c68e13b..b475459685 100644
--- a/flink-connector/src/main/java/org/apache/gravitino/flink/connector/hive/GravitinoHiveCatalog.java
+++ b/flink-connector/src/main/java/org/apache/gravitino/flink/connector/hive/GravitinoHiveCatalog.java
@@ -31,8 +31,8 @@ import org.apache.gravitino.flink.connector.catalog.BaseCatalog;
import org.apache.hadoop.hive.conf.HiveConf;
/**
- * The GravitinoHiveCatalog class is a implementation of the BaseCatalog class that is used to proxy
- * the HiveCatalog class.
+ * The GravitinoHiveCatalog class is an implementation of the BaseCatalog class that is used to
+ * proxy the HiveCatalog class.
*/
public class GravitinoHiveCatalog extends BaseCatalog {
diff --git a/flink-connector/src/main/java/org/apache/gravitino/flink/connector/utils/FactoryUtils.java b/flink-connector/src/main/java/org/apache/gravitino/flink/connector/utils/FactoryUtils.java
index 8fd0b5d653..4b483749a6 100644
--- a/flink-connector/src/main/java/org/apache/gravitino/flink/connector/utils/FactoryUtils.java
+++ b/flink-connector/src/main/java/org/apache/gravitino/flink/connector/utils/FactoryUtils.java
@@ -94,7 +94,7 @@ public class FactoryUtils {
}
/**
- * Creates a utility that helps validating options for a {@link CatalogFactory}.
+ * Creates a utility that helps to validate options for a {@link CatalogFactory}.
*
* <p>Note: This utility checks for left-over options in the final step.
*/
diff --git a/integration-test-common/src/test/java/org/apache/gravitino/integration/test/util/ProcessData.java b/integration-test-common/src/test/java/org/apache/gravitino/integration/test/util/ProcessData.java
index cae25316d0..442e2cc5fd 100644
--- a/integration-test-common/src/test/java/org/apache/gravitino/integration/test/util/ProcessData.java
+++ b/integration-test-common/src/test/java/org/apache/gravitino/integration/test/util/ProcessData.java
@@ -221,7 +221,7 @@ public class ProcessData {
sbInStream.append(tempSB);
if (tempSB.length() > 0) {
- // set flag to know that we read something and there may be moire data, even if process
+ // set flag to know that we read something and there may be more data, even if process
// already exited
outputProduced = true;
}
diff --git a/server-common/src/main/java/org/apache/gravitino/server/web/OverwriteDefaultConfig.java b/server-common/src/main/java/org/apache/gravitino/server/web/OverwriteDefaultConfig.java
index dac45c4fbf..98876b8059 100644
--- a/server-common/src/main/java/org/apache/gravitino/server/web/OverwriteDefaultConfig.java
+++ b/server-common/src/main/java/org/apache/gravitino/server/web/OverwriteDefaultConfig.java
@@ -26,7 +26,7 @@ public interface OverwriteDefaultConfig {
/**
* Returns key value pairs to overwrite the config which are not set explicitly.
*
- * @return an Map of Config key and value pairs
+ * @return a Map of Config key and value pairs
*/
Map<String, String> getOverwriteDefaultConfig();
}
diff --git a/spark-connector/spark-common/src/test/java/org/apache/gravitino/spark/connector/integration/test/iceberg/SparkIcebergCatalogIT.java b/spark-connector/spark-common/src/test/java/org/apache/gravitino/spark/connector/integration/test/iceberg/SparkIcebergCatalogIT.java
index 5392e5d322..4df4992b5b 100644
--- a/spark-connector/spark-common/src/test/java/org/apache/gravitino/spark/connector/integration/test/iceberg/SparkIcebergCatalogIT.java
+++ b/spark-connector/spark-common/src/test/java/org/apache/gravitino/spark/connector/integration/test/iceberg/SparkIcebergCatalogIT.java
@@ -1150,7 +1150,7 @@ public abstract class SparkIcebergCatalogIT extends SparkCommonIT {
/**
* Here we build a new `createIcebergSql` String for creating a table with a field of timestamp
- * type to create the year/month,etc partitions
+ * type to create the year/month,etc. partitions
*/
private String getCreateIcebergSimpleTableString(String tableName) {
return String.format(
diff --git a/trino-connector/src/main/java/org/apache/gravitino/trino/connector/util/json/TypeDeserializer.java b/trino-connector/src/main/java/org/apache/gravitino/trino/connector/util/json/TypeDeserializer.java
index ad5385bc6f..7b3c19fc8d 100644
--- a/trino-connector/src/main/java/org/apache/gravitino/trino/connector/util/json/TypeDeserializer.java
+++ b/trino-connector/src/main/java/org/apache/gravitino/trino/connector/util/json/TypeDeserializer.java
@@ -23,7 +23,7 @@ import io.trino.spi.type.TypeManager;
import java.util.function.Function;
/**
- * This class is reference to Trino source code io.trino.plugin.base.TypeDeserializer, It use to
+ * This class is reference to Trino source code io.trino.plugin.base.TypeDeserializer, It uses to
* handle Type serialization
*/
public final class TypeDeserializer extends FromStringDeserializer<Type> {
diff --git a/web/README.md b/web/README.md
index f36af776a2..0ec24508d0 100644
--- a/web/README.md
+++ b/web/README.md
@@ -51,7 +51,7 @@
> **Requirements**
>
> Please make sure you use the node's LTS version
-> Before installing the **node_modules**, make sure you have files starting with a **dot(.eslintrc, .env etc..)**
+> Before installing the **node_modules**, make sure you have files starting with a **dot(.eslintrc, .env etc.)**
## Installation