You are viewing a plain text version of this content. The canonical link for it is here.
Posted to github@arrow.apache.org by "albertvillanova (via GitHub)" <gi...@apache.org> on 2024/08/07 07:09:15 UTC

[PR] MINOR: [Python] Add LargeListType to Data Types docs [arrow]

albertvillanova opened a new pull request, #43597:
URL: https://github.com/apache/arrow/pull/43597

   <!--
   Thanks for opening a pull request!
   If this is your first pull request you can find detailed information on how 
   to contribute here:
     * [New Contributor's Guide](https://arrow.apache.org/docs/dev/developers/guide/step_by_step/pr_lifecycle.html#reviews-and-merge-of-the-pull-request)
     * [Contributing Overview](https://arrow.apache.org/docs/dev/developers/overview.html)
   
   
   If this is not a [minor PR](https://github.com/apache/arrow/blob/main/CONTRIBUTING.md#Minor-Fixes). Could you open an issue for this pull request on GitHub? https://github.com/apache/arrow/issues/new/choose
   
   Opening GitHub issues ahead of time contributes to the [Openness](http://theapacheway.com/open/#:~:text=Openness%20allows%20new%20users%20the,must%20happen%20in%20the%20open.) of the Apache Arrow project.
   
   Then could you also rename the pull request title in the following format?
   
       GH-${GITHUB_ISSUE_ID}: [${COMPONENT}] ${SUMMARY}
   
   or
   
       MINOR: [${COMPONENT}] ${SUMMARY}
   
   In the case of PARQUET issues on JIRA the title also supports:
   
       PARQUET-${JIRA_ISSUE_ID}: [${COMPONENT}] ${SUMMARY}
   
   -->
   
   ### Rationale for this change
   
   <!--
    Why are you proposing this change? If this is already explained clearly in the issue then this section is not needed.
    Explaining clearly why changes are proposed helps reviewers understand your changes and offer better suggestions for fixes.  
   -->
   
   ### What changes are included in this PR?
   
   <!--
   There is no need to duplicate the description in the issue here but it is sometimes worth providing a summary of the individual changes in this PR.
   -->
   
   ### Are these changes tested?
   
   <!--
   We typically require tests for all PRs in order to:
   1. Prevent the code from being accidentally broken by subsequent changes
   2. Serve as another way to document the expected behavior of the code
   
   If tests are not included in your PR, please explain why (for example, are they covered by existing tests)?
   -->
   
   ### Are there any user-facing changes?
   
   <!--
   If there are user-facing changes then we may require documentation to be updated before approving the PR.
   -->
   
   <!--
   If there are any breaking changes to public APIs, please uncomment the line below and explain which changes are breaking.
   -->
   <!-- **This PR includes breaking changes to public APIs.** -->
   
   <!--
   Please uncomment the line below (and provide explanation) if the changes fix either (a) a security vulnerability, (b) a bug that caused incorrect or invalid data to be produced, or (c) a bug that causes a crash (even when the API contract is upheld). We use this to highlight fixes to issues that may affect users without their knowledge. For this reason, fixing bugs that cause errors don't count, since those are usually obvious.
   -->
   <!-- **This PR contains a "Critical Fix".** -->


-- 
This is an automated message from the Apache Git Service.
To respond to the message, please log on to GitHub and use the
URL above to go to the specific comment.

To unsubscribe, e-mail: github-unsubscribe@arrow.apache.org

For queries about this service, please contact Infrastructure at:
users@infra.apache.org


Re: [PR] MINOR: [Docs][Python] Add LargeListType to Data Types docs [arrow]

Posted by "kou (via GitHub)" <gi...@apache.org>.
kou merged PR #43597:
URL: https://github.com/apache/arrow/pull/43597


-- 
This is an automated message from the Apache Git Service.
To respond to the message, please log on to GitHub and use the
URL above to go to the specific comment.

To unsubscribe, e-mail: github-unsubscribe@arrow.apache.org

For queries about this service, please contact Infrastructure at:
users@infra.apache.org


Re: [PR] MINOR: [Python] Add LargeListType to Data Types docs [arrow]

Posted by "albertvillanova (via GitHub)" <gi...@apache.org>.
albertvillanova commented on PR #43597:
URL: https://github.com/apache/arrow/pull/43597#issuecomment-2273139016

   I have built the docs locally and they work as expected:
   ![Screenshot from 2024-08-07 12-24-13](https://github.com/user-attachments/assets/4592a998-fd1d-4c28-8c6e-c93bf68cacb7)
   


-- 
This is an automated message from the Apache Git Service.
To respond to the message, please log on to GitHub and use the
URL above to go to the specific comment.

To unsubscribe, e-mail: github-unsubscribe@arrow.apache.org

For queries about this service, please contact Infrastructure at:
users@infra.apache.org


Re: [PR] MINOR: [Docs][Python] Add LargeListType to Data Types docs [arrow]

Posted by "kou (via GitHub)" <gi...@apache.org>.
kou commented on PR #43597:
URL: https://github.com/apache/arrow/pull/43597#issuecomment-2293022652

   Thanks.
   Merged.


-- 
This is an automated message from the Apache Git Service.
To respond to the message, please log on to GitHub and use the
URL above to go to the specific comment.

To unsubscribe, e-mail: github-unsubscribe@arrow.apache.org

For queries about this service, please contact Infrastructure at:
users@infra.apache.org


Re: [PR] MINOR: [Docs][Python] Add LargeListType to Data Types docs [arrow]

Posted by "kou (via GitHub)" <gi...@apache.org>.
kou commented on PR #43597:
URL: https://github.com/apache/arrow/pull/43597#issuecomment-2295452772

   We need to fix our nightly documentation build: #43743


-- 
This is an automated message from the Apache Git Service.
To respond to the message, please log on to GitHub and use the
URL above to go to the specific comment.

To unsubscribe, e-mail: github-unsubscribe@arrow.apache.org

For queries about this service, please contact Infrastructure at:
users@infra.apache.org


Re: [PR] MINOR: [Python] Add LargeListType to Data Types docs [arrow]

Posted by "mapleFU (via GitHub)" <gi...@apache.org>.
mapleFU commented on PR #43597:
URL: https://github.com/apache/arrow/pull/43597#issuecomment-2290712382

   @jorisvandenbossche @kou Do you think this is ok? I don't know the principle here


-- 
This is an automated message from the Apache Git Service.
To respond to the message, please log on to GitHub and use the
URL above to go to the specific comment.

To unsubscribe, e-mail: github-unsubscribe@arrow.apache.org

For queries about this service, please contact Infrastructure at:
users@infra.apache.org


Re: [PR] MINOR: [Python] Add LargeListType to Data Types docs [arrow]

Posted by "github-actions[bot] (via GitHub)" <gi...@apache.org>.
github-actions[bot] commented on PR #43597:
URL: https://github.com/apache/arrow/pull/43597#issuecomment-2272827200

   Revision: 499a8a17933104d1a041174b75aee0cc0c711d4c
   
   Submitted crossbow builds: [ursacomputing/crossbow @ actions-a5b1f8dee8](https://github.com/ursacomputing/crossbow/branches/all?query=actions-a5b1f8dee8)
   
   |Task|Status|
   |----|------|
   |preview-docs|[![GitHub Actions](https://github.com/ursacomputing/crossbow/actions/workflows/crossbow.yml/badge.svg?branch=actions-a5b1f8dee8-github-preview-docs)](https://github.com/ursacomputing/crossbow/actions/runs/10280182482/job/28446965250)|


-- 
This is an automated message from the Apache Git Service.
To respond to the message, please log on to GitHub and use the
URL above to go to the specific comment.

To unsubscribe, e-mail: github-unsubscribe@arrow.apache.org

For queries about this service, please contact Infrastructure at:
users@infra.apache.org


Re: [PR] MINOR: [Python] Add LargeListType to Data Types docs [arrow]

Posted by "albertvillanova (via GitHub)" <gi...@apache.org>.
albertvillanova commented on PR #43597:
URL: https://github.com/apache/arrow/pull/43597#issuecomment-2272828067

   Yes, I guess all the rest should also be added.
   
   I first added only one of them to check if the docs link works as expected.


-- 
This is an automated message from the Apache Git Service.
To respond to the message, please log on to GitHub and use the
URL above to go to the specific comment.

To unsubscribe, e-mail: github-unsubscribe@arrow.apache.org

For queries about this service, please contact Infrastructure at:
users@infra.apache.org


Re: [PR] MINOR: [Python] Add LargeListType to Data Types docs [arrow]

Posted by "albertvillanova (via GitHub)" <gi...@apache.org>.
albertvillanova commented on PR #43597:
URL: https://github.com/apache/arrow/pull/43597#issuecomment-2272821205

   @github-actions crossbow submit preview-docs


-- 
This is an automated message from the Apache Git Service.
To respond to the message, please log on to GitHub and use the
URL above to go to the specific comment.

To unsubscribe, e-mail: github-unsubscribe@arrow.apache.org

For queries about this service, please contact Infrastructure at:
users@infra.apache.org


Re: [PR] MINOR: [Docs][Python] Add LargeListType to Data Types docs [arrow]

Posted by "albertvillanova (via GitHub)" <gi...@apache.org>.
albertvillanova commented on PR #43597:
URL: https://github.com/apache/arrow/pull/43597#issuecomment-2295195797

   @kou, after merging this PR into main branch, the modification does not appear in the dev documentation: https://arrow.apache.org/docs/dev/python/api/datatypes.html
   
   Do you know why?


-- 
This is an automated message from the Apache Git Service.
To respond to the message, please log on to GitHub and use the
URL above to go to the specific comment.

To unsubscribe, e-mail: github-unsubscribe@arrow.apache.org

For queries about this service, please contact Infrastructure at:
users@infra.apache.org


Re: [PR] MINOR: [Python] Add LargeListType to Data Types docs [arrow]

Posted by "github-actions[bot] (via GitHub)" <gi...@apache.org>.
github-actions[bot] commented on PR #43597:
URL: https://github.com/apache/arrow/pull/43597#issuecomment-2272822355

   ```
   Only contributors can submit requests to this bot. Please ask someone from the community for help with getting the first commit in.
   The Archery job run can be found at: https://github.com/apache/arrow/actions/runs/10280151106
   ```


-- 
This is an automated message from the Apache Git Service.
To respond to the message, please log on to GitHub and use the
URL above to go to the specific comment.

To unsubscribe, e-mail: github-unsubscribe@arrow.apache.org

For queries about this service, please contact Infrastructure at:
users@infra.apache.org


Re: [PR] MINOR: [Docs][Python] Add LargeListType to Data Types docs [arrow]

Posted by "albertvillanova (via GitHub)" <gi...@apache.org>.
albertvillanova commented on code in PR #43597:
URL: https://github.com/apache/arrow/pull/43597#discussion_r1719429005


##########
docs/source/python/api/datatypes.rst:
##########
@@ -93,6 +93,7 @@ functions above.
 
    DataType
    DictionaryType
+   LargeListType
    ListType

Review Comment:
   Done.



-- 
This is an automated message from the Apache Git Service.
To respond to the message, please log on to GitHub and use the
URL above to go to the specific comment.

To unsubscribe, e-mail: github-unsubscribe@arrow.apache.org

For queries about this service, please contact Infrastructure at:
users@infra.apache.org


Re: [PR] MINOR: [Docs][Python] Add LargeListType to Data Types docs [arrow]

Posted by "conbench-apache-arrow[bot] (via GitHub)" <gi...@apache.org>.
conbench-apache-arrow[bot] commented on PR #43597:
URL: https://github.com/apache/arrow/pull/43597#issuecomment-2293756222

   After merging your PR, Conbench analyzed the 7 benchmarking runs that have been run so far on merge-commit bee2fc8021f3b5dabff0315fe20290f316a44ce4.
   
   There was 1 benchmark result indicating a performance regression:
   
   - Commit Run on `amd64-m5-4xlarge-linux` at [2024-08-16 11:11:03Z](https://conbench.ursa.dev/compare/runs/7319ff562d4d46cb9cf09dc6eaad1c32...d9e1212c6b124fa0a155e26a0d221763/)
     - [`tpch` (R) with engine=arrow, format=native, language=R, memory_map=False, query_id=TPCH-17, scale_factor=10](https://conbench.ursa.dev/compare/benchmarks/066bf1bdc8b278ea800056148d5a7942...066bf616791e7db780003677081ca6a5)
   
   The [full Conbench report](https://github.com/apache/arrow/runs/28867729716) has more details. It also includes information about 3 possible false positives for unstable benchmarks that are known to sometimes produce them.


-- 
This is an automated message from the Apache Git Service.
To respond to the message, please log on to GitHub and use the
URL above to go to the specific comment.

To unsubscribe, e-mail: github-unsubscribe@arrow.apache.org

For queries about this service, please contact Infrastructure at:
users@infra.apache.org


Re: [PR] MINOR: [Python] Add LargeListType to Data Types docs [arrow]

Posted by "mapleFU (via GitHub)" <gi...@apache.org>.
mapleFU commented on PR #43597:
URL: https://github.com/apache/arrow/pull/43597#issuecomment-2272823229

   @github-actions crossbow submit preview-docs


-- 
This is an automated message from the Apache Git Service.
To respond to the message, please log on to GitHub and use the
URL above to go to the specific comment.

To unsubscribe, e-mail: github-unsubscribe@arrow.apache.org

For queries about this service, please contact Infrastructure at:
users@infra.apache.org


Re: [PR] MINOR: [Python] Add LargeListType to Data Types docs [arrow]

Posted by "mapleFU (via GitHub)" <gi...@apache.org>.
mapleFU commented on PR #43597:
URL: https://github.com/apache/arrow/pull/43597#issuecomment-2272825846

   I'm not familiar with python, would "ListType, LargeListType, FixedSizeListType, ListViewType, LargeListViewType" all required here?


-- 
This is an automated message from the Apache Git Service.
To respond to the message, please log on to GitHub and use the
URL above to go to the specific comment.

To unsubscribe, e-mail: github-unsubscribe@arrow.apache.org

For queries about this service, please contact Infrastructure at:
users@infra.apache.org


Re: [PR] MINOR: [Docs][Python] Add LargeListType to Data Types docs [arrow]

Posted by "kou (via GitHub)" <gi...@apache.org>.
kou commented on code in PR #43597:
URL: https://github.com/apache/arrow/pull/43597#discussion_r1718006601


##########
docs/source/python/api/datatypes.rst:
##########
@@ -93,6 +93,7 @@ functions above.
 
    DataType
    DictionaryType
+   LargeListType
    ListType

Review Comment:
   Could you swap `ListType` and `LargeListType` order because `ListType` is more basic type?
   
   ```suggestion
      ListType
      LargeListType
   ```



-- 
This is an automated message from the Apache Git Service.
To respond to the message, please log on to GitHub and use the
URL above to go to the specific comment.

To unsubscribe, e-mail: github-unsubscribe@arrow.apache.org

For queries about this service, please contact Infrastructure at:
users@infra.apache.org