orientdb2.2 - Is it possible to import line-wise JSON into OrientDB using their ETL tool? -
i have bunch of files (~10gb each) each line represents single json object. want import them in streaming mode, looks not supported right (orientdb v.2.2.12). there workarounds? , recommended way case?
looks json can transformed odocument in code block:
{ "code": { "language": "javascript", "code": "(new com.orientechnologies.orient.core.record.impl.odocument()).fromjson(input);" } }
if experience errors like:
error in pipeline execution: com.orientechnologies.orient.core.exception.oserializationexception: found invalid } character @ position 112 of text
then ensure multiline option set off.
"extractor": { "row": { "multiline": false } }
Comments
Post a Comment