asterixdb-notifications mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From "Steven Jacobs (Code Review)" <>
Subject Change in asterixdb[master]: [ASTERIXDB-2180][FUN] Prevent dropping of entities used by f...
Date Tue, 09 Jan 2018 20:20:10 GMT
Steven Jacobs has posted comments on this change.

Change subject: [ASTERIXDB-2180][FUN] Prevent dropping of entities used by functions

Patch Set 11:


Addressed Comments
File asterixdb/LICENSE:

Line 276: ---
> Why license changes are part of this change? Can we revert this file?
File asterixdb/asterix-app/src/main/java/org/apache/asterix/app/translator/

Line 1711:             Set<CallExpr> functionCalls =
> Can we refactor this block into a separate helper method in  FunctionUtil? 

Line 1724:                 if (fid.equals(BuiltinFunctions.DATASET)) {
> What about other datasource functions ('feed-collect', etc) ? Are we ignori
As far as I know we can't have a feed collect dependency in a function DDL?

PS11, Line 1727: new ArrayList<>
> Arrays.asList() already creates a List, why copy it again?

PS11, Line 1727: dependencies.get(0).
> Instead of dependencies.get(0) and (1) I'd create two lists 'datasourceDepe

Line 1731:                         CommonFunctionMapUtil.normalizeBuiltinFunctionSignature(signature),
false)) {
> Why CommonFunctionMapUtil.normalizeBuiltinFunctionSignature() is necessary 

PS11, Line 1734: new ArrayList<>
> Arrays.asList() already creates a List, why copy it again?

To view, visit
To unsubscribe, visit

Gerrit-MessageType: comment
Gerrit-Change-Id: I2f08ff150dfd57432b88381c507814ddb57bd67b
Gerrit-PatchSet: 11
Gerrit-Project: asterixdb
Gerrit-Branch: master
Gerrit-Owner: Steven Jacobs <>
Gerrit-Reviewer: Anon. E. Moose #1000171
Gerrit-Reviewer: Dmitry Lychagin <>
Gerrit-Reviewer: Ildar Absalyamov <>
Gerrit-Reviewer: Jenkins <>
Gerrit-Reviewer: Steven Jacobs <>
Gerrit-Reviewer: Till Westmann <>
Gerrit-HasComments: Yes

View raw message