Till Westmann has submitted this change and it was merged.

Change subject: [NO ISSUE] Use correct type tag
......................................................................


[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 <[email protected]>
Tested-by: Till Westmann <[email protected]>
Reviewed-by: Ali Alsuliman <[email protected]>
---
M 
asterixdb/asterix-runtime/src/main/java/org/apache/asterix/runtime/evaluators/functions/temporal/AbstractIntervalLogicFuncDescriptor.java
1 file changed, 1 insertion(+), 1 deletion(-)

Approvals:
  Anon. E. Moose #1000171: 
  Till Westmann: Verified; Verified
  Ali Alsuliman: Looks good to me, approved



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 @@
                             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);

-- 
To view, visit https://asterix-gerrit.ics.uci.edu/3292
To unsubscribe, visit https://asterix-gerrit.ics.uci.edu/settings

Gerrit-MessageType: merged
Gerrit-Change-Id: I078b22179d62a43904de42e9fdad7995d4a8c864
Gerrit-PatchSet: 2
Gerrit-Project: asterixdb
Gerrit-Branch: master
Gerrit-Owner: Till Westmann <[email protected]>
Gerrit-Reviewer: Ali Alsuliman <[email protected]>
Gerrit-Reviewer: Anon. E. Moose #1000171
Gerrit-Reviewer: Jenkins <[email protected]>
Gerrit-Reviewer: Till Westmann <[email protected]>

Reply via email to