abdullah alamoudi has posted comments on this change.

Change subject: Support Change Feeds
......................................................................


Patch Set 2:

(4 comments)

https://asterix-gerrit.ics.uci.edu/#/c/621/2/asterix-external-data/src/main/java/org/apache/asterix/external/dataflow/ChangeFeedDataFlowController.java
File 
asterix-external-data/src/main/java/org/apache/asterix/external/dataflow/ChangeFeedDataFlowController.java:

Line 40:     public void configure(Map<String, String> configuration, 
IHyracksTaskContext ctx) {
> This might initialize numOfFields properly and call super.configure()
Done


https://asterix-gerrit.ics.uci.edu/#/c/621/2/asterix-external-data/src/main/java/org/apache/asterix/external/dataflow/FeedRecordDataFlowController.java
File 
asterix-external-data/src/main/java/org/apache/asterix/external/dataflow/FeedRecordDataFlowController.java:

Line 51:                 parse(record);
> So does FeedRecordDataFlowController gets ever used by itself? In this case
You are right. Lack of test cases is an extremely bad thing.
Done


https://asterix-gerrit.ics.uci.edu/#/c/621/2/asterix-om/src/main/java/org/apache/asterix/om/types/ARecordType.java
File asterix-om/src/main/java/org/apache/asterix/om/types/ARecordType.java:

Line 304:     public void getFieldTypes(List<List<String>> fields, List<IAType> 
emptyList) throws AlgebricksException {
> Can that method return a list of nested fields types instead?
That doesn't make sense. At least not for my use case.


https://asterix-gerrit.ics.uci.edu/#/c/621/2/asterix-runtime/src/main/java/org/apache/asterix/runtime/operators/AsterixLSMSecondaryUpsertOperatorNodePushable.java
File 
asterix-runtime/src/main/java/org/apache/asterix/runtime/operators/AsterixLSMSecondaryUpsertOperatorNodePushable.java:

Line 91:     public static boolean isNull(PermutingFrameTupleReference t1) {
> Can't you reuse AsterixLSMPrimaryUpsertOperatorNodePushable.isNull() with  
Done


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

Gerrit-MessageType: comment
Gerrit-Change-Id: If136a03d424970132dfb09f0dda56e160d4c0078
Gerrit-PatchSet: 2
Gerrit-Project: asterixdb
Gerrit-Branch: master
Gerrit-Owner: abdullah alamoudi <[email protected]>
Gerrit-Reviewer: Ildar Absalyamov <[email protected]>
Gerrit-Reviewer: Jenkins <[email protected]>
Gerrit-Reviewer: Steven Jacobs <[email protected]>
Gerrit-Reviewer: Till Westmann <[email protected]>
Gerrit-Reviewer: abdullah alamoudi <[email protected]>
Gerrit-HasComments: Yes

Reply via email to