asterixdb-notifications mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From "Dmitry Lychagin (Code Review)" <>
Subject Change in asterixdb[master]: [ASTERIXDB-2015][IDX] Introduce Secondary Primary Index
Date Mon, 18 Sep 2017 18:24:38 GMT
Dmitry Lychagin has posted comments on this change.

Change subject: [ASTERIXDB-2015][IDX] Introduce Secondary Primary Index

Patch Set 14:

File asterixdb/asterix-metadata/src/main/java/org/apache/asterix/metadata/entities/

Line 146:         if (isPrimaryIndex || indexDataset.getDatasetType() == DatasetConfig.DatasetType.EXTERNAL
> Yes, we could put checks in "QueryTranslator.handleCreateIndexStatement" to
Sounds good. Let's do it
File hyracks-fullstack/algebricks/algebricks-rewriter/src/main/java/org/apache/hyracks/algebricks/rewriter/rules/

Line 123:                 if (parentsPathToReplicate.contains(replicateOperator.getOutputs().get(oldParentIndex)))
> Yes, when replicate/split operators hold references to their outputs (i.e. 
yes, deleting and then assigning real parents would be better. As for 'outputMaterializationFlags',
may be for now we just have one boolean which would apply to all outputs. So the order in
which we reassign outputs would not matter. Eventually we should explore whether we can move
that 'materialization' property from the logical to the physical level, and see whether it
could be inferred automatically based on the topology of the physical plan. I've filed ASTERIXDB-2099
to track future work in this area.

To view, visit
To unsubscribe, visit

Gerrit-MessageType: comment
Gerrit-Change-Id: I59725425ba7c5fe438507dc900f83eaab239d296
Gerrit-PatchSet: 14
Gerrit-Project: asterixdb
Gerrit-Branch: master
Gerrit-Owner: Ali Alsuliman <>
Gerrit-Reviewer: Ali Alsuliman <>
Gerrit-Reviewer: Anon. E. Moose #1000171
Gerrit-Reviewer: Dmitry Lychagin <>
Gerrit-Reviewer: Jenkins <>
Gerrit-Reviewer: Michael Carey <>
Gerrit-Reviewer: Taewoo Kim <>
Gerrit-Reviewer: Till Westmann <>
Gerrit-Reviewer: Yingyi Bu <>
Gerrit-Reviewer: abdullah alamoudi <>
Gerrit-HasComments: Yes

View raw message