You are viewing a plain text version of this content. The canonical link for it is here.
Posted to notifications@asterixdb.apache.org by "Ali Alsuliman (Code Review)" <do...@asterixdb.incubator.apache.org> on 2018/07/01 02:56:12 UTC

Change in asterixdb[master]: [NO ISSUE] add function array_repeat

Ali Alsuliman has posted comments on this change.

Change subject: [NO ISSUE] add function array_repeat
......................................................................


Patch Set 5:

(1 comment)

https://asterix-gerrit.ics.uci.edu/#/c/2724/5/asterixdb/asterix-runtime/src/main/java/org/apache/asterix/runtime/functions/FunctionTypeInferers.java
File asterixdb/asterix-runtime/src/main/java/org/apache/asterix/runtime/functions/FunctionTypeInferers.java:

PS5, Line 315: public static final class ArrayRepeatTypeInferer implements IFunctionTypeInferer {
             :         @Override
             :         public void infer(ILogicalExpression expr, IFunctionDescriptor fd, IVariableTypeEnvironment context,
             :                 CompilerProperties compilerProps) throws AlgebricksException {
             :             AbstractFunctionCallExpression f = (AbstractFunctionCallExpression) expr;
             :             List<Mutable<ILogicalExpression>> args = f.getArguments();
             :             IAType argType = (IAType) context.getType(args.get(0).getValue());
             :             fd.setImmutableStates(argType);
             :         }
             :     }
Is this here by mistake?


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

Gerrit-MessageType: comment
Gerrit-Change-Id: Ic5f9e503a81ba86dd873ad61fd35a2f695905dad
Gerrit-PatchSet: 5
Gerrit-Project: asterixdb
Gerrit-Branch: master
Gerrit-Owner: Till Westmann <ti...@apache.org>
Gerrit-Reviewer: Ali Alsuliman <al...@gmail.com>
Gerrit-Reviewer: Anon. E. Moose #1000171
Gerrit-Reviewer: Jenkins <je...@fulliautomatix.ics.uci.edu>
Gerrit-Reviewer: Murtadha Hubail <mh...@apache.org>
Gerrit-Reviewer: Till Westmann <ti...@apache.org>
Gerrit-Reviewer: abdullah alamoudi <ba...@gmail.com>
Gerrit-HasComments: Yes