[
https://issues.apache.org/jira/browse/TINKERPOP-1298?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=15307679#comment-15307679
]
ASF GitHub Bot commented on TINKERPOP-1298:
-------------------------------------------
GitHub user dkuppitz opened a pull request:
https://github.com/apache/incubator-tinkerpop/pull/323
TINKERPOP-1298 Save OLAP results to file
https://issues.apache.org/jira/browse/TINKERPOP-1298
Implemented `BulkExportVertexProgram` which allows to export tabular result
sets in CSV format (or rather any clear-text format).
Docs and integration test were added.
VOTE: +1
You can merge this pull request into a Git repository by running:
$ git pull https://github.com/apache/incubator-tinkerpop TINKERPOP-1298
Alternatively you can review and apply these changes as the patch at:
https://github.com/apache/incubator-tinkerpop/pull/323.patch
To close this pull request, make a commit to your master/trunk branch
with (at least) the following in the commit message:
This closes #323
----
commit df6cfd603468e05a80070b2ba547059c5f4fec12
Author: Daniel Kuppitz <[email protected]>
Date: 2016-05-22T07:37:41Z
added BulkExportVertexProgram
commit f4cccc0942f5e98bf3fbacf65bac09c11aeb7269
Author: Daniel Kuppitz <[email protected]>
Date: 2016-05-23T16:24:22Z
Added script and configuration file that can be used for OLAP CSV exports.
commit d3292fb8940fb29d07dbf619032b3b6321a59896
Author: Daniel Kuppitz <[email protected]>
Date: 2016-05-27T18:32:27Z
Don't let users mess with halted traversers. Instead simply provide all
preformatted values.
commit 741ca40269203ee4bf7f53f960575415f4b8a121
Author: Daniel Kuppitz <[email protected]>
Date: 2016-05-31T12:46:01Z
Documented `BulkExportVertexProgram` and added an integration test.
----
> 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)