https://github.com/thinkaurelius/titan
Revision 79a942a43203bb32b4051edb298fdc312d36a950 authored by Dan LaRocque on 09 February 2015, 16:07:58 UTC, committed by Dan LaRocque on 10 February 2015, 03:03:31 UTC
titan-hadoop iterates over unidirected edges as if they were
properties; this produces an exception as reported in #941.

This commit makes FaunusElement.getPropertyKeysDirect stop returning
unidirected edges.  This avoids the exception in #941.  However,
dumping edges from Cassandra to GraphSON omits unidirected edges.

titan-hadoop could probably use more tweaking to resolve the tension
between unidirected edges being represented as relations with a type
that extends edge but which use the setProperty interface.

The existing TitanOutputFormatTest.testUnidirectionEdges still passes,
but given my track record of unintended collateral breakage caused by
faunus schema changes during titan05 development, I'm hesitant to
declare victory.  There may be unintended consequences that I'm
missing.
1 parent 879c9a1
History
Tip revision: 79a942a43203bb32b4051edb298fdc312d36a950 authored by Dan LaRocque on 09 February 2015, 16:07:58 UTC
Stop returning unidir edges as properties
Tip revision: 79a942a

README.textile

back to top