[ 
https://issues.apache.org/jira/browse/TINKERPOP-1298?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=15300789#comment-15300789
 ] 

Daniel Kuppitz commented on TINKERPOP-1298:
-------------------------------------------

Without TINKERPOP-1280 traversals have to have a {{select()}} step (or any 
other step that has a {{LABELED_PATH}} requirement). So instead of

{code}
g.V().as("a").out().as("b").out().as("c").
  program(BulkExportVertexProgram.build().
            keys("a","b","c").create(graph))
{code}

... you have to do:

{code}
g.V().as("a").out().as("b").out().as("c").
  select("a","b","c").
  program(BulkExportVertexProgram.build().
            keys("a","b","c").create(graph))
{code}

> 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
>            Reporter: Daniel Kuppitz
>            Assignee: Daniel Kuppitz
>
> 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
(v6.3.4#6332)

Reply via email to