[ https://issues.apache.org/jira/browse/TINKERPOP-1298?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=16560704#comment-16560704 ]
stephen mallette edited comment on TINKERPOP-1298 at 7/28/18 10:35 AM: ----------------------------------------------------------------------- Yeah - what i was saying was that you now have the step available to do this: {code} g.V().hasLabel('person'). project('name','age'). by('name'). by('age'). io('somefile.json'). write() {code} yes? was (Author: spmallette): Yeah - what i was saying was that you now have the step available to do this: {code} g.V().hasLabel('person'). project('name','age'). by('name'). by('age'). write('somefile.json') {code} yes? > Save OLAP results to file > ------------------------- > > Key: TINKERPOP-1298 > URL: https://issues.apache.org/jira/browse/TINKERPOP-1298 > Project: TinkerPop > Issue Type: Improvement > Components: io, process > Affects Versions: 3.2.5 > Reporter: Daniel Kuppitz > Assignee: Daniel Kuppitz > Priority: Major > > Provide a way to save (tabular) results to text files, just like Spark's > {{saveAsTextFile}}. > I'm not sure about the best way to do it. 3 options come to my mind: > # a new step. > # a {{VertexProgram}} > # a configuration option > Things to consider / open questions: > * Is it sufficient to simply {{toString()}} all values or should we allow > formatters / format stings? > * [~jlewandowski] pointed out that it would be nice to have support for the > [parquet file format|https://parquet.apache.org/]. I guess now we're already > talking about support for different {{FileOutputFormats}} and not just > formatters. > * Is that only relevant for OLAP? > * Can we support arbitrary file systems? -- This message was sent by Atlassian JIRA (v7.6.3#76005)