You are viewing a plain text version of this content. The canonical link for it is here.
Posted to dev@tinkerpop.apache.org by "stephen mallette (JIRA)" <ji...@apache.org> on 2018/07/28 10:35:00 UTC

[jira] [Comment Edited] (TINKERPOP-1298) Save OLAP results to file

    [ 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:34 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').
  write('somefile.json')
{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)