Skip to content

Document the base arrow module#23212

Closed
SthuthiGhosh9400 wants to merge 20 commits intoprestodb:masterfrom
SthuthiGhosh9400:document-the-base-arrow-module
Closed

Document the base arrow module#23212
SthuthiGhosh9400 wants to merge 20 commits intoprestodb:masterfrom
SthuthiGhosh9400:document-the-base-arrow-module

Conversation

@SthuthiGhosh9400
Copy link
Contributor

@SthuthiGhosh9400 SthuthiGhosh9400 commented Jul 15, 2024

Description

Motivation and Context

Impact

Test Plan

Contributor checklist

  • Please make sure your submission complies with our development, formatting, commit message, and attribution guidelines.
  • PR description addresses the issue accurately and concisely. If the change is non-trivial, a GitHub Issue is referenced.
  • Documented new properties (with its default value), SQL syntax, functions, or other functionality.
  • If release notes are required, they follow the release notes guidelines.
  • Adequate tests were added if applicable.
  • CI passed.

Release Notes

Please follow release notes guidelines and fill in the release notes below.

== RELEASE NOTES ==

General Changes
* Add documentation for the :doc:`/connector/base-arrow-flight`  :pr:`23212`





@linux-foundation-easycla
Copy link

linux-foundation-easycla bot commented Jul 15, 2024

CLA Signed


The committers listed above are authorized under a signed CLA.

@github-actions github-actions bot added the docs label Jul 15, 2024
Copy link
Contributor

@steveburnett steveburnett left a comment

Choose a reason for hiding this comment

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

Thanks for the doc! Some suggestions of phrasing and formatting to consider.

Copy link
Contributor

@steveburnett steveburnett left a comment

Choose a reason for hiding this comment

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

Transferred yesterday's unaddressed comments to today's, as some of yesterday's were hidden behind a fold. Most of these are formatting suggestions.

Also, please add
connector/base-arrow-flight to
https://github.com/prestodb/presto/blob/master/presto-docs/src/main/sphinx/connector.rst
so the new page is present on the Connector page in the Presto documentation.

Add the new page in alphabetic order for the new page title Arrow-flight Connector.


Note : You can add other properties that are required for your Flight server to connect.

========================================== ==============================================================
Copy link
Contributor

Choose a reason for hiding this comment

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

Suggest adding a third column to this table for Default values.
For one example, should arrow-flight.server.port have a default value of 32010?
For items that don't have a default, such as data-source.host, leave the column blank for that row.

@steveburnett
Copy link
Contributor

steveburnett commented Jul 16, 2024

  • Please sign the CLA as mentioned in this comment.

  • Suggest release note entry following the Release Notes Guidelines:

    == RELEASE NOTES ==
    
    General Changes
    * Add :doc:`../connector/base-arrow-flight` documentation :pr:`23212`
    
    
  • When the comments have been addressed, please squash commits as mentioned in the Pull Request Guidelines.

@steveburnett steveburnett mentioned this pull request Jul 16, 2024
6 tasks
Copy link
Contributor

@steveburnett steveburnett left a comment

Choose a reason for hiding this comment

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

Apache Arrow enhances performance and efficiency in data-intensive applications through its columnar memory layout, zero-copy reads, vectorized execution, cross-language interoperability, rich data type support, and optimization for modern hardware. These features collectively reduce overhead, improve data processing speeds, and facilitate seamless data exchange between different systems and languages.

Getting Started with base-arrow-module: Essential Abstract Methods for Developers
--------------
Copy link
Contributor

Choose a reason for hiding this comment

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

Suggested change
--------------
---------------------------------------------------------------------------------

The formatting -------- must be as long as the text in the preceding line. Currently, a warning is generated in the local doc build as follows:

/Users/steveburnett/Documents/GitHub/presto/presto-docs/src/main/sphinx/connector/base-arrow-flight.rst:9: WARNING: Title underline too short.



Arrow-Flight Connector Limitations
---------------------------------
Copy link
Contributor

Choose a reason for hiding this comment

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

Suggested change
---------------------------------
----------------------------------

Warning in local doc build:
/Users/steveburnett/Documents/GitHub/presto/presto-docs/src/main/sphinx/connector/base-arrow-flight.rst:100: WARNING: Title underline too short.

data-source.port=<PORT>
data-source.ssl=<TRUE/FALSE>

Add other properties that are required for your Flight server to connect.
Copy link
Contributor

Choose a reason for hiding this comment

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

Suggested change
Add other properties that are required for your Flight server to connect.
Add other properties that are required for your Flight server to connect.

Formatting suggestion, because this sentence does not appear to be part of the code block.

Querying Arrow-Flight
---------------------

The Arrow-Flight connector provides schema for each supported *databases*.
Copy link
Contributor

Choose a reason for hiding this comment

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

Suggested change
The Arrow-Flight connector provides schema for each supported *databases*.
The Arrow-Flight connector provides schema for each supported *database*.

Arrow-Flight Connector Limitations
---------------------------------

* SELECT and DESCRIBE queries are supported by this connector template. Implementing modules can add support for additional features.
Copy link
Contributor

Choose a reason for hiding this comment

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

Suggested change
* SELECT and DESCRIBE queries are supported by this connector template. Implementing modules can add support for additional features.
* :doc:`/sql/select` and :doc:`/sql/describe` queries are supported by this connector template. Implementing modules can add support for additional features.

@steveburnett
Copy link
Contributor

If the documentation for #23032 is being added in this PR, suggest a release note entry for this PR as follows:

== RELEASE NOTES ==

General Changes
* Add documentation for the :doc:`/connector/base-arrow-flight`  :pr:`23212`

and removing

* Add documentation for the :doc:`/connector/base-arrow-flight`  :pr:`23032`

from the release note entry of #23032.

@steveburnett
Copy link
Contributor

Because the documentation for the Arrow connector appears to be being added in #23032 with the connector code, unless I'm overlooking something here, I suggest closing this PR.

@steveburnett
Copy link
Contributor

Closing this as the doc for Arrow was merged in #24427

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

Projects

Status: ✅ Done

Development

Successfully merging this pull request may close these issues.

2 participants