Hello Jenkins,
I'd like you to reexamine a change. Please visit
https://asterix-gerrit.ics.uci.edu/427
to look at the new patch set (#9).
Change subject: Equivalence induced onetoone operatiions for
insert/delete/upsert/query exchange optimization for lookup and delete when the
operation is merely directed by the primary key.
......................................................................
Equivalence induced onetoone operatiions for insert/delete/upsert/query
exchange optimization for lookup and delete when the operation is merely
directed by the primary key.
commit 8d803cab358382b7c1510900cc7551de5fcc8480
Author: Michael <[email protected]>
Date: Thu Oct 1 23:58:48 2015 -0700
exchange optimization for query, upsert, lookup and delete
drop dataverse twitter if exists;
create dataverse twitter;
use dataverse twitter;
create type TweetMessageType as closed {
id: string,
message-text: string
}
create type nest as closed{
nid:string?,
nested1 : TweetMessageType,
nested2 : TweetMessageType
}
create type doublenest as closed{
nested1:nest,
nested2:nest
}
create dataset doublenests(doublenest)
primary key nested1.nested1.id, nested1.nested2.id,
nested2.nested2.message-text;
use dataverse twitter;
insert into dataset doublenests(
{
"nested2":{"nid":"mi","nested2":{"id":"ok","message-text":"hello"},"nested1":{"id":"ok","message-text":"hello"}},
"nested1":{"nested1":{"id":"ok","message-text":"hello"},"nested2":{"id":"ok","message-text":"hello"},"nid":"mi"}
});
use dataverse twitter;
insert into dataset doublenests(
{
"nested1":{"nid":"mi","nested1":{"id":"ok","message-text":"hello"},"nested2":{"id":"ok","message-text":"hello"}},
"nested2":{"nid":"mi","nested1":{"id":"ok","message-text":"hello"},"nested2":{"id":"ok","message-text":"hello"}}
});
use dataverse twitter;
delete $d from dataset doublenests
where $d.nested1.nested1.id = "ok"
and $d.nested1.nested2.id = "ok"
and $d.nested1.nested2.message-text = "hello"
and $d.nested2.nested2.message-text = "hello"
use dataverse twitter;
for $d in dataset doublenests
where $d.nested1.nested1.id = "ok"
and $d.nested1.nested2.id = "ok"
and $d.nested1.nested2.message-text = "hello"
and $d.nested2.nested2.message-text = "hello"
return $d
Change-Id: Ic836210e57b87128120e1f8dabbfed062d09f5e4
---
M
algebricks/algebricks-core/src/main/java/org/apache/hyracks/algebricks/core/algebra/metadata/IMetadataProvider.java
M
algebricks/algebricks-core/src/main/java/org/apache/hyracks/algebricks/core/algebra/operators/logical/visitors/FDsAndEquivClassesVisitor.java
A
algebricks/algebricks-core/src/main/java/org/apache/hyracks/algebricks/core/algebra/operators/logical/visitors/ProducedVariableExpressionVisitor.java
M
algebricks/algebricks-core/src/main/java/org/apache/hyracks/algebricks/core/algebra/operators/logical/visitors/VariableUtilities.java
M
algebricks/algebricks-core/src/main/java/org/apache/hyracks/algebricks/core/algebra/operators/physical/BulkloadPOperator.java
M
algebricks/algebricks-core/src/main/java/org/apache/hyracks/algebricks/core/algebra/operators/physical/IndexBulkloadPOperator.java
M
algebricks/algebricks-core/src/main/java/org/apache/hyracks/algebricks/core/algebra/operators/physical/IndexInsertDeleteUpsertPOperator.java
M
algebricks/algebricks-core/src/main/java/org/apache/hyracks/algebricks/core/algebra/operators/physical/InsertDeleteUpsertPOperator.java
M
algebricks/algebricks-core/src/main/java/org/apache/hyracks/algebricks/core/algebra/properties/BroadcastPartitioningProperty.java
M
algebricks/algebricks-core/src/main/java/org/apache/hyracks/algebricks/core/algebra/properties/IPartitioningProperty.java
M
algebricks/algebricks-core/src/main/java/org/apache/hyracks/algebricks/core/algebra/properties/OrderedPartitionedProperty.java
M
algebricks/algebricks-core/src/main/java/org/apache/hyracks/algebricks/core/algebra/properties/RandomPartitioningProperty.java
M
algebricks/algebricks-core/src/main/java/org/apache/hyracks/algebricks/core/algebra/properties/StructuralPropertiesVector.java
M
algebricks/algebricks-core/src/main/java/org/apache/hyracks/algebricks/core/algebra/properties/UnorderedPartitionedProperty.java
M
algebricks/algebricks-examples/piglet-example/src/main/java/org/apache/hyracks/algebricks/examples/piglet/metadata/PigletMetadataProvider.java
M
algebricks/algebricks-rewriter/src/main/java/org/apache/hyracks/algebricks/rewriter/rules/EnforceStructuralPropertiesRule.java
16 files changed, 421 insertions(+), 38 deletions(-)
git pull ssh://asterix-gerrit.ics.uci.edu:29418/hyracks refs/changes/27/427/9
--
To view, visit https://asterix-gerrit.ics.uci.edu/427
To unsubscribe, visit https://asterix-gerrit.ics.uci.edu/settings
Gerrit-MessageType: newpatchset
Gerrit-Change-Id: Ic836210e57b87128120e1f8dabbfed062d09f5e4
Gerrit-PatchSet: 9
Gerrit-Project: hyracks
Gerrit-Branch: master
Gerrit-Owner: Wenhai Li <[email protected]>
Gerrit-Reviewer: Jenkins <[email protected]>
Gerrit-Reviewer: Jianfeng Jia <[email protected]>
Gerrit-Reviewer: Steven Jacobs <[email protected]>
Gerrit-Reviewer: Till Westmann <[email protected]>
Gerrit-Reviewer: Yingyi Bu <[email protected]>