Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
Stop returning unidir edges as properties
titan-hadoop iterates over unidirected edges as if they were properties; this produces an exception as reported in thinkaurelius#941. This commit makes FaunusElement.getPropertyKeysDirect stop returning unidirected edges. This avoids the exception in thinkaurelius#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.
- Loading branch information