You are viewing a plain text version of this content. The canonical link for it is here.
Posted to commits@asterixdb.apache.org by ti...@apache.org on 2019/03/27 23:11:52 UTC
[asterixdb] branch master updated: [NO ISSUE] Use correct type tag
This is an automated email from the ASF dual-hosted git repository.
tillw pushed a commit to branch master
in repository https://gitbox.apache.org/repos/asf/asterixdb.git
The following commit(s) were added to refs/heads/master by this push:
new e0d1e5e [NO ISSUE] Use correct type tag
e0d1e5e is described below
commit e0d1e5e2d06e4e891527cf2fb9ee7eb091382fb1
Author: Till Westmann <ti...@apache.org>
AuthorDate: Mon Mar 25 19:41:13 2019 -0700
[NO ISSUE] Use correct type tag
- user model changes: no
- storage format changes: no
- interface changes: no
Change-Id: I078b22179d62a43904de42e9fdad7995d4a8c864
Reviewed-on: https://asterix-gerrit.ics.uci.edu/3292
Integration-Tests: Till Westmann <ti...@apache.org>
Tested-by: Till Westmann <ti...@apache.org>
Reviewed-by: Ali Alsuliman <al...@gmail.com>
---
.../functions/temporal/AbstractIntervalLogicFuncDescriptor.java | 2 +-
1 file changed, 1 insertion(+), 1 deletion(-)
diff --git a/asterixdb/asterix-runtime/src/main/java/org/apache/asterix/runtime/evaluators/functions/temporal/AbstractIntervalLogicFuncDescriptor.java b/asterixdb/asterix-runtime/src/main/java/org/apache/asterix/runtime/evaluators/functions/temporal/AbstractIntervalLogicFuncDescriptor.java
index b4cc4ce..a972e5a 100644
--- a/asterixdb/asterix-runtime/src/main/java/org/apache/asterix/runtime/evaluators/functions/temporal/AbstractIntervalLogicFuncDescriptor.java
+++ b/asterixdb/asterix-runtime/src/main/java/org/apache/asterix/runtime/evaluators/functions/temporal/AbstractIntervalLogicFuncDescriptor.java
@@ -79,7 +79,7 @@ public abstract class AbstractIntervalLogicFuncDescriptor extends AbstractScalar
throw new TypeMismatchException(sourceLoc, getIdentifier(), 0, typeTag0,
ATypeTag.SERIALIZED_INTERVAL_TYPE_TAG);
}
- byte typeTag1 = argPtr0.getTag();
+ byte typeTag1 = argPtr1.getTag();
if (typeTag1 != ATypeTag.SERIALIZED_INTERVAL_TYPE_TAG) {
throw new TypeMismatchException(sourceLoc, getIdentifier(), 1, typeTag1,
ATypeTag.SERIALIZED_INTERVAL_TYPE_TAG);