This is an automated email from the ASF dual-hosted git repository.
ayushsaxena pushed a commit to branch master
in repository https://gitbox.apache.org/repos/asf/hive.git
The following commit(s) were added to refs/heads/master by this push:
new bab390257d3 HIVE-26705. Fix Typo in hive-kudu-handler. (#3729).
(fanshilun, reviewed by Ayush Saxena, Chris Nauroth)
bab390257d3 is described below
commit bab390257d341570aeaaaad44afa7dbe640f0afd
Author: slfan1989 <[email protected]>
AuthorDate: Fri Nov 4 12:47:20 2022 +0800
HIVE-26705. Fix Typo in hive-kudu-handler. (#3729). (fanshilun, reviewed by
Ayush Saxena, Chris Nauroth)
---
.../src/java/org/apache/hadoop/hive/kudu/KuduHiveUtils.java | 2 +-
.../src/test/org/apache/hadoop/hive/kudu/TestKuduInputFormat.java | 6 +++---
2 files changed, 4 insertions(+), 4 deletions(-)
diff --git
a/kudu-handler/src/java/org/apache/hadoop/hive/kudu/KuduHiveUtils.java
b/kudu-handler/src/java/org/apache/hadoop/hive/kudu/KuduHiveUtils.java
index f1163fabcf6..aa0bb52a531 100644
--- a/kudu-handler/src/java/org/apache/hadoop/hive/kudu/KuduHiveUtils.java
+++ b/kudu-handler/src/java/org/apache/hadoop/hive/kudu/KuduHiveUtils.java
@@ -115,7 +115,7 @@ public final class KuduHiveUtils {
}
}
- /* This method converts a Kudu type to to the corresponding Hive type */
+ /* This method converts a Kudu type to the corresponding Hive type */
public static PrimitiveTypeInfo toHiveType(Type kuduType,
ColumnTypeAttributes attributes)
throws SerDeException {
switch (kuduType) {
diff --git
a/kudu-handler/src/test/org/apache/hadoop/hive/kudu/TestKuduInputFormat.java
b/kudu-handler/src/test/org/apache/hadoop/hive/kudu/TestKuduInputFormat.java
index 653cdc25f42..7122bad9520 100644
--- a/kudu-handler/src/test/org/apache/hadoop/hive/kudu/TestKuduInputFormat.java
+++ b/kudu-handler/src/test/org/apache/hadoop/hive/kudu/TestKuduInputFormat.java
@@ -143,7 +143,7 @@ public class TestKuduInputFormat {
(KuduRecordReader) input.getRecordReader(split, jobConf, null);
assertTrue(reader.nextKeyValue());
RowResult value = reader.getCurrentValue().getRowResult();
- verfiyRow(value);
+ verifyRow(value);
assertFalse(reader.nextKeyValue());
}
@@ -313,11 +313,11 @@ public class TestKuduInputFormat {
(KuduRecordReader) input.getRecordReader(split, jobConf, null);
assertTrue(reader.nextKeyValue());
RowResult value = reader.getCurrentValue().getRowResult();
- verfiyRow(value);
+ verifyRow(value);
assertFalse("Extra row on column: " + col.getName(),
reader.nextKeyValue());
}
}
- private void verfiyRow(RowResult value) {
+ private void verifyRow(RowResult value) {
assertEquals(SCHEMA.getColumnCount(), value.getSchema().getColumnCount());
assertEquals(ROW.getByte(0), value.getByte(0));
assertEquals(ROW.getShort(1), value.getShort(1));