Skip to content
New issue

Have a question about this project? # for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “#”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? # to your account

Fixes #4253: Missing apache arrow/jsonParams documentation #4255

Merged
merged 4 commits into from
Dec 10, 2024

Conversation

vga91
Copy link
Collaborator

@vga91 vga91 commented Nov 28, 2024

Fixes #4253

  • add apoc.load.jsonParams docs
  • add apoc.arrow.* docs

@vga91 vga91 marked this pull request as draft November 28, 2024 10:36
@vga91 vga91 marked this pull request as ready for review December 4, 2024 12:04
= Export to Apache Arrow
:description: This section describes procedures that can be used to export data in Apache Arrow format.

The export Apache Arrow procedures export data into a format that's used by many Apache tools and non.
Copy link
Collaborator

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

These procedures export data into a format that's used by many Apache and non-Apache tools.



The following procedures allow you to read an Apache Arrow file exported via xref::export/arrow.adoc[apoc.export.arrow.* procedures].
It could also potentially read other arrow files not created via the export procedures.
Copy link
Collaborator

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

It could also potentially read other Apache Arrow files that have not been created via the export procedures.


[NOTE]
====
This procedure is not considered safe to run from multiple threads.
Copy link
Collaborator

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

It is considered not safe to run this procedure using multiple threads.


[NOTE]
====
This procedure is not considered safe to run from multiple threads.
Copy link
Collaborator

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

It is considered not safe to run this procedure using multiple threads.


[NOTE]
====
This procedure is not considered safe to run from multiple threads.
Copy link
Collaborator

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

It is considered not safe to run this procedure using multiple threads.


[NOTE]
====
This procedure is not considered safe to run from multiple threads.
Copy link
Collaborator

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

It is considered not safe to run this procedure using multiple threads.


[NOTE]
====
This procedure is not considered safe to run from multiple threads.
Copy link
Collaborator

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

It is considered not safe to run this procedure using multiple threads.


[NOTE]
====
This procedure is not considered safe to run from multiple threads.
Copy link
Collaborator

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

It is considered not safe to run this procedure using multiple threads.

label:procedure[] label:apoc-core[]

[.emphasis]
apoc.load.jsonParams('urlOrKeyOrBinary',{header:value},payload, config) YIELD value - load from JSON URL (e.g. web-api) while sending headers / payload to import JSON as stream of values if the JSON was an array or a single value if it was a map
Copy link
Collaborator

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

It loads from JSON URL, a RestAPI endpoint URL, or from a binary source.

The headers and the payload parameters can be used to execute a RestAPI.
The procedure will return multiple values if the starting JSON is a list of JSON or a single result in case it is a single JSON.

@RobertoSannino RobertoSannino merged commit 00d75d3 into dev Dec 10, 2024
5 checks passed
@RobertoSannino RobertoSannino deleted the issue-4253 branch December 10, 2024 16:42
vga91 added a commit that referenced this pull request Dec 10, 2024
* Fixes #4253: Missing apache arrow/jsonParams documentation

* Added missing apache arrow/jsonParams documentation

* fix typos

* changes review
vga91 added a commit that referenced this pull request Dec 10, 2024
…4297)

* Fixes #4253: Missing apache arrow/jsonParams documentation

* Added missing apache arrow/jsonParams documentation

* fix typos

* changes review
vga91 added a commit that referenced this pull request Jan 15, 2025
)

* Fixes #4253: Missing apache arrow/jsonParams documentation

* Added missing apache arrow/jsonParams documentation

* fix typos

* changes review
# for free to join this conversation on GitHub. Already have an account? # to comment
Projects
None yet
Development

Successfully merging this pull request may close these issues.

2 participants