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 6d2340eb4be HIVE-28404: Fix typo Overriden to Overridden (#5366).
(Caican Cai, reviewed by Ayush Saxena)
6d2340eb4be is described below
commit 6d2340eb4be333406b8c6ffbb7dc67605e41de15
Author: Cancai Cai <[email protected]>
AuthorDate: Wed Jul 31 19:45:33 2024 +0800
HIVE-28404: Fix typo Overriden to Overridden (#5366). (Caican Cai, reviewed
by Ayush Saxena)
---
hcatalog/webhcat/svr/src/main/bin/webhcat_config.sh | 2 +-
parser/src/java/org/apache/hadoop/hive/ql/parse/ParseDriver.java | 2 +-
parser/src/test/org/apache/hadoop/hive/ql/parse/HqlParser.java | 2 +-
ql/src/java/org/apache/hadoop/hive/ql/exec/Operator.java | 2 +-
.../org/apache/hadoop/hive/ql/udf/generic/GenericUDAFEvaluator.java | 2 +-
.../apache/hadoop/hive/ql/plan/TestConditionalResolverCommonJoin.java | 2 +-
6 files changed, 6 insertions(+), 6 deletions(-)
diff --git a/hcatalog/webhcat/svr/src/main/bin/webhcat_config.sh
b/hcatalog/webhcat/svr/src/main/bin/webhcat_config.sh
index 52f96ff51e3..505fbd7c58b 100644
--- a/hcatalog/webhcat/svr/src/main/bin/webhcat_config.sh
+++ b/hcatalog/webhcat/svr/src/main/bin/webhcat_config.sh
@@ -51,7 +51,7 @@ SLEEP_TIME_AFTER_START=10
#See if the default configs have been overwritten
#================================================
-#These parameters can be overriden by webhcat-env.sh
+#These parameters can be Overridden by webhcat-env.sh
# the root of the WEBHCAT installation ('this' is defined in
webhcat_server.sh)
export WEBHCAT_PREFIX=`dirname "$this"`/..
diff --git a/parser/src/java/org/apache/hadoop/hive/ql/parse/ParseDriver.java
b/parser/src/java/org/apache/hadoop/hive/ql/parse/ParseDriver.java
index c99895756d0..5befdac78b4 100644
--- a/parser/src/java/org/apache/hadoop/hive/ql/parse/ParseDriver.java
+++ b/parser/src/java/org/apache/hadoop/hive/ql/parse/ParseDriver.java
@@ -78,7 +78,7 @@ public class ParseDriver {
@Override
public Object dupTree(Object t, Object parent) {
- // Overriden to copy start index / end index, that is needed through
optimization,
+ // Overridden to copy start index / end index, that is needed through
optimization,
// e.g., for masking/filtering
ASTNode astNode = (ASTNode) t;
ASTNode astNodeCopy = (ASTNode) super.dupTree(t, parent);
diff --git a/parser/src/test/org/apache/hadoop/hive/ql/parse/HqlParser.java
b/parser/src/test/org/apache/hadoop/hive/ql/parse/HqlParser.java
index e74172ca589..e93a278dea6 100644
--- a/parser/src/test/org/apache/hadoop/hive/ql/parse/HqlParser.java
+++ b/parser/src/test/org/apache/hadoop/hive/ql/parse/HqlParser.java
@@ -91,7 +91,7 @@ public class HqlParser {
@Override
public Object dupTree(Object t, Object parent) {
- // Overriden to copy start index / end index, that is needed through
+ // Overridden to copy start index / end index, that is needed through
// optimization, e.g., for masking/filtering
ASTNode astNode = (ASTNode) t;
ASTNode astNodeCopy = (ASTNode) super.dupTree(t, parent);
diff --git a/ql/src/java/org/apache/hadoop/hive/ql/exec/Operator.java
b/ql/src/java/org/apache/hadoop/hive/ql/exec/Operator.java
index 902d6afdc03..9dfbefc35da 100644
--- a/ql/src/java/org/apache/hadoop/hive/ql/exec/Operator.java
+++ b/ql/src/java/org/apache/hadoop/hive/ql/exec/Operator.java
@@ -685,7 +685,7 @@ public abstract class Operator<T extends OperatorDesc>
implements Serializable,C
// call the operator specific close routine
closeOp(abort);
- // closeOp can be overriden
+ // closeOp can be Overridden
if (conf != null && conf.getRuntimeStatsTmpDir() != null) {
publishRunTimeStats();
}
diff --git
a/ql/src/java/org/apache/hadoop/hive/ql/udf/generic/GenericUDAFEvaluator.java
b/ql/src/java/org/apache/hadoop/hive/ql/udf/generic/GenericUDAFEvaluator.java
index fb6433d1bd4..aa50bec5eb5 100644
---
a/ql/src/java/org/apache/hadoop/hive/ql/udf/generic/GenericUDAFEvaluator.java
+++
b/ql/src/java/org/apache/hadoop/hive/ql/udf/generic/GenericUDAFEvaluator.java
@@ -147,7 +147,7 @@ public abstract class GenericUDAFEvaluator implements
Closeable {
* compilation time,
*/
public ObjectInspector init(Mode m, ObjectInspector[] parameters) throws
HiveException {
- // This function should be overriden in every sub class
+ // This function should be Overridden in every sub class
// And the sub class should call super.init(m, parameters) to get mode set.
mode = m;
partitionEvaluator = null;
diff --git
a/ql/src/test/org/apache/hadoop/hive/ql/plan/TestConditionalResolverCommonJoin.java
b/ql/src/test/org/apache/hadoop/hive/ql/plan/TestConditionalResolverCommonJoin.java
index 56c30c103bb..5ad76a3d961 100644
---
a/ql/src/test/org/apache/hadoop/hive/ql/plan/TestConditionalResolverCommonJoin.java
+++
b/ql/src/test/org/apache/hadoop/hive/ql/plan/TestConditionalResolverCommonJoin.java
@@ -77,7 +77,7 @@ public class TestConditionalResolverCommonJoin {
conf.setLongVar(HiveConf.ConfVars.HIVE_SMALL_TABLES_FILESIZE, 65536);
- // alias1, alias2, alias3 all can be selected but overriden by biggest one
(alias3)
+ // alias1, alias2, alias3 all can be selected but Overridden by biggest
one (alias3)
resolved = resolver.resolveMapJoinTask(ctx, conf);
Assert.assertEquals("alias3", resolved.getId());