7 Commits
Author SHA1 Message Date
Junming Chen 88d39d5d7b GH-34257:[Docs] Update git links/branches from master to main for external projects (#34502)
As shown in [#34257](https://github.com/apache/arrow/issues/34257), this pull request update the branch in our doc from **master**  to **main** for the external dependencies who have changed their default branch to main.

**What changes are included in this PR?**
9 files.
changed link's git repos:
https://github.com/conda-forge/snappy-feedstock
https://github.com/googleapis/google-cloud-cpp
https://github.com/google/highwayhash
https://github.com/dotnet/sourcelink
https://github.com/dotnet/runtime
https://github.com/numpy/numpy
https://github.com/tidyverse/dplyr
https://github.com/apache/orc

**Are these changes tested?**
no
* Closes: #34257

Authored-by: Junming Chen <junming.chen.r@outlook.com>
Signed-off-by: Weston Pace <weston.pace@gmail.com>
2023-03-08 10:10:42 -08:00
Ali Amiri 84879b91c4 MINOR: [Python] Change a test file name for better bazel support
Bazel pep_deps rule can not handle files names with `=` in the name [1]. Unfortunately, there is no way to fix this issue in Bazel.

[1] https://github.com/bazelbuild/bazel/issues/374

Closes #12643 from iampat/iampat/fix_bazel_pep_import

Authored-by: Ali Amiri <ali@amiri.dev>
Signed-off-by: Joris Van den Bossche <jorisvandenbossche@gmail.com>
2022-03-17 09:16:21 +01:00
Joris Van den Bossche 4d918fd2c2 ARROW-11163: [C++] Fix reading of compressed IPC/Feather files written with Arrow 0.17
(obviously still needs test, but already putting the fix I was testing locally in a draft PR)

Closes #9128 from jorisvandenbossche/ARROW-11163

Authored-by: Joris Van den Bossche <jorisvandenbossche@gmail.com>
Signed-off-by: Antoine Pitrou <antoine@python.org>
2021-01-11 16:48:02 +01:00
Krisztián Szűcs 21ef18bb6a ARROW-3160: [Python] Improve pathlib.Path support in parquet and filesystem modules
- organize parquet test files to be consistent with the recently added orc [subdir](https://github.com/apache/arrow/tree/master/python/pyarrow/tests/data)
- use pathlib paths in parquet and orc tests

I intend to consolidate parquet test suite a bit in followup PRs.

Author: Krisztián Szűcs <szucs.krisztian@gmail.com>

Closes #2506 from kszucs/ARROW-3160 and squashes the following commits:

bf1fe1f8 <Krisztián Szűcs> use _has_pathlib
8b023034 <Krisztián Szűcs> compatibility with py35
dc306003 <Krisztián Szűcs> reorganizte utility functions in parquet and filasystem modules; support pathlib.Path in Filesystem API
062ef56a <Krisztián Szűcs> global tempdir fixture returns pathlib object
7c4d72c7 <Krisztián Szűcs> fallback to pathlib2 for older python
c550e1ba <Krisztián Szűcs> update parquet and orc tests to use pathlib
ee494170 <Krisztián Szűcs> use pathlib in orc and parquet tests; move parquet test files to its own directory
2018-09-05 12:44:40 -04:00
Wes McKinney c453a7ad3e ARROW-1968: [C++/Python] Add basic unit tests for ORC reader
These use the example files published in the Apache ORC repository.

Author: Wes McKinney <wesm+git@apache.org>
Author: Antoine Pitrou <antoine@python.org>

Closes #2428 from pitrou/ARROW-1968-orc-tests and squashes the following commits:

6f538923 <Wes McKinney> Update quay.io image used for pandas 0.23.4
28335ff9 <Wes McKinney> Use pandas 0.23.4 everywhere
d5d34e53 <Wes McKinney> Upgrade pandas in manylinux1 image to latest
c51a77f1 <Wes McKinney> Do not use binary read mode
dd456204 <Wes McKinney> Use pandas for ORC tests, delete pickles
43b0208a <Antoine Pitrou> Add decimals test
06c0f5f4 <Antoine Pitrou> Fix tests on py2
42f01864 <Antoine Pitrou> ARROW-1968:  Add basic unit tests for ORC reader
2018-08-18 13:45:46 -04:00
Joris Van den Bossche 97678c1060 ARROW-1883: [Python] Fix handling of metadata in to_pandas when not all columns are present
This closes [ARROW-1883](https://issues.apache.org/jira/browse/ARROW-1883).

So basically what I did in `_add_any_metadata` was replacing `col = table[i]` with:

```
idx = schema.get_field_index(raw_name)
if idx != -1:
     col = table[idx]
```

to check that the column is actually present in the schema. However, that involved some more code to get to `raw_name` (the name how the column is present in the schema), as this does not always match the name in `pandas_metadata['column'][..]['name']`. Not sure if there is a better way to get that name.
(or if it would be better to filter `pandas_metadata` earlier on, instead of checking when actually trying to process the metadata of that column)

Author: Joris Van den Bossche <jorisvandenbossche@gmail.com>

Closes #1386 from jorisvandenbossche/parquet-column-selection and squashes the following commits:

3f605ef3 [Joris Van den Bossche] add test for compatibility for arrow 0.7.1 written parquet files
ea891b25 [Joris Van den Bossche] Use field_name if available
f6bdd1d3 [Joris Van den Bossche] Merge remote-tracking branch 'upstream/master' into parquet-column-selection
5df51f18 [Joris Van den Bossche] Add additional tests
306eaba3 [Joris Van den Bossche] ARROW-1883: [Python] Fix handling of metadata in to_pandas when not all columns are present
2017-12-10 18:40:09 -05:00
Phillip Cloud 7c205b0337 ARROW-1787: [Python] Support reading parquet files into DataFrames in a backward compatible way
Author: Phillip Cloud <cpcloud@gmail.com>

Closes #1298 from cpcloud/ARROW-1787 and squashes the following commits:

6f5fbd55 [Phillip Cloud] Add more index naming tests
8ba06256 [Phillip Cloud] Add test data
56e7fe58 [Phillip Cloud] Use BytesIO
5f50da38 [Phillip Cloud] Implement
d61c43e6 [Phillip Cloud] Add test
9abad95f [Phillip Cloud] Add test data
2017-11-11 17:09:50 -05:00