This is an automated email from the ASF dual-hosted git repository.
sivabalan pushed a commit to branch master
in repository https://gitbox.apache.org/repos/asf/hudi.git
The following commit(s) were added to refs/heads/master by this push:
new 4e2a5bb488b [MINOR] fixed spelling and syntax (#7535)
4e2a5bb488b is described below
commit 4e2a5bb488b5314b267475e56db9c1dc14ddefc5
Author: Jon Vexler <[email protected]>
AuthorDate: Fri Jan 6 12:09:21 2023 -0500
[MINOR] fixed spelling and syntax (#7535)
Co-authored-by: Jonathan Vexler <=>
---
.../org/apache/hudi/internal/schema/utils/InternalSchemaUtils.java | 4 ++--
1 file changed, 2 insertions(+), 2 deletions(-)
diff --git
a/hudi-common/src/main/java/org/apache/hudi/internal/schema/utils/InternalSchemaUtils.java
b/hudi-common/src/main/java/org/apache/hudi/internal/schema/utils/InternalSchemaUtils.java
index a7b9c1dda82..4c926f9f293 100644
---
a/hudi-common/src/main/java/org/apache/hudi/internal/schema/utils/InternalSchemaUtils.java
+++
b/hudi-common/src/main/java/org/apache/hudi/internal/schema/utils/InternalSchemaUtils.java
@@ -57,7 +57,7 @@ public class InternalSchemaUtils {
List<Integer> prunedIds = names.stream().map(name -> {
int id = schema.findIdByName(name);
if (id == -1) {
- throw new IllegalArgumentException(String.format("cannot prune col: %s
which not exisit in hudi table", name));
+ throw new IllegalArgumentException(String.format("cannot prune col: %s
which does not exist in hudi table", name));
}
return id;
}).collect(Collectors.toList());
@@ -177,7 +177,7 @@ public class InternalSchemaUtils {
public static String reBuildFilterName(String name, InternalSchema
fileSchema, InternalSchema querySchema) {
int nameId = querySchema.findIdByName(name);
if (nameId == -1) {
- throw new IllegalArgumentException(String.format("cannot found filter
col name:%s from querySchema: %s", name, querySchema));
+ throw new IllegalArgumentException(String.format("cannot find filter col
name:%s from querySchema: %s", name, querySchema));
}
if (fileSchema.findField(nameId) == null) {
// added operation found