Test not checking datatype conversions
Issue #37
open
I run a test and it passes correctly.
Then when I run import i get the following error
Is it supposed to check data conversions on test?
It would be nice if it did
2017-08-03 09:38:20,649 INFO .databridge.notification.ProgressMonitor: 87 - Importing location.json
Exception in thread "Thread-7" java.lang.IllegalArgumentException: Unknown property type on: 2016-07-21 00:00:00.0, class java.sql.Timestamp
at org.neo4j.kernel.impl.store.PropertyStore.encodeValue(PropertyStore.java:310)
at org.neo4j.kernel.impl.transaction.state.PropertyCreator.encodeValue(PropertyCreator.java:194)
at org.neo4j.kernel.impl.transaction.state.PropertyCreator.encodePropertyValue(PropertyCreator.java:189)
at org.neo4j.unsafe.batchinsert.internal.BatchInserterImpl$2.underlyingObjectToObject(BatchInserterImpl.java:743)
at org.neo4j.unsafe.batchinsert.internal.BatchInserterImpl$2.underlyingObjectToObject(BatchInserterImpl.java:739)
at org.neo4j.helpers.collection.IteratorWrapper.next(IteratorWrapper.java:47)
at org.neo4j.kernel.impl.transaction.state.PropertyCreator.createPropertyChain(PropertyCreator.java:220)
at org.neo4j.kernel.impl.transaction.state.PropertyCreator.createPropertyChain(PropertyCreator.java:201)
at org.neo4j.unsafe.batchinsert.internal.BatchInserterImpl.internalCreateNode(BatchInserterImpl.java:720)
at org.neo4j.unsafe.batchinsert.internal.BatchInserterImpl.createNode(BatchInserterImpl.java:712)
at org.neo4j.unsafe.batchinsert.internal.FileSystemClosingBatchInserter.createNode(FileSystemClosingBatchInserter.java:52)
at com.graphaware.neo4j.databridge.endpoints.BatchInserterEndpoint$BatchInserterWrapper.createNode(BatchInserterEndpoint.java:183)
at com.graphaware.neo4j.databridge.endpoints.BatchInserterEndpoint.createNode(BatchInserterEndpoint.java:80)
at com.graphaware.neo4j.databridge.endpoints.BatchInserterEndpoint.createNode(BatchInserterEndpoint.java:134)
at com.graphaware.neo4j.databridge.DatabridgeWorker.create(DatabridgeWorker.java:128)
at com.graphaware.neo4j.databridge.DatabridgeWorker.createNode(DatabridgeWorker.java:113)
at com.graphaware.neo4j.databridge.DatabridgeWorker.lambda$createNodes$1(DatabridgeWorker.java:99)
at java.util.stream.ForEachOps$ForEachOp$OfRef.accept(ForEachOps.java:184)
at java.util.stream.ReferencePipeline$2$1.accept(ReferencePipeline.java:175)
at java.util.ArrayList$ArrayListSpliterator.forEachRemaining(ArrayList.java:1374)
at java.util.stream.AbstractPipeline.copyInto(AbstractPipeline.java:481)
at java.util.stream.AbstractPipeline.wrapAndCopyInto(AbstractPipeline.java:471)
at java.util.stream.ForEachOps$ForEachOp.evaluateSequential(ForEachOps.java:151)
at java.util.stream.ForEachOps$ForEachOp$OfRef.evaluateSequential(ForEachOps.java:174)
at java.util.stream.AbstractPipeline.evaluate(AbstractPipeline.java:234)
at java.util.stream.ReferencePipeline.forEach(ReferencePipeline.java:418)
at com.graphaware.neo4j.databridge.DatabridgeWorker.createNodes(DatabridgeWorker.java:99)
at com.graphaware.neo4j.databridge.DatabridgeWorker.createGraphObjects(DatabridgeWorker.java:76)
at com.graphaware.neo4j.databridge.DatabridgeWorker.run(DatabridgeWorker.java:88)
at java.lang.Thread.run(Thread.java:745)
Comments (2)
-
repo owner -
repo owner - changed status to open
- Log in to comment
Agreed - added to backlog