You are viewing a plain text version of this content. The canonical link for it is here.
Posted to commits@arrow.apache.org by ho...@apache.org on 2021/11/02 16:24:33 UTC
[arrow-datafusion] branch master updated (91b5469 -> 1c351ec)
This is an automated email from the ASF dual-hosted git repository.
houqp pushed a change to branch master
in repository https://gitbox.apache.org/repos/asf/arrow-datafusion.git.
from 91b5469 Fix build with `--no-default-features` (#1219)
add 1c351ec Rework the python bindings using conversion traits from arrow-rs (#873)
No new revisions were added by this update.
Summary of changes:
.../rust/core/src/serde/logical_plan/from_proto.rs | 21 +-
datafusion-cli/Cargo.toml | 2 +-
datafusion/Cargo.toml | 2 +
datafusion/src/execution/context.rs | 8 +
datafusion/src/lib.rs | 4 +
datafusion/src/logical_plan/builder.rs | 30 +-
datafusion/src/logical_plan/expr.rs | 12 +-
.../src/optimizer/common_subexpr_eliminate.rs | 5 +-
datafusion/src/optimizer/projection_push_down.rs | 4 +-
datafusion/src/pyarrow.rs | 67 +++
datafusion/src/scalar.rs | 4 +
datafusion/src/sql/planner.rs | 3 +-
python/Cargo.lock | 83 ++--
python/Cargo.toml | 10 +-
python/datafusion/__init__.py | 104 +++++
.../datafusion/functions.py | 11 +-
python/{ => datafusion}/tests/__init__.py | 0
python/{ => datafusion}/tests/generic.py | 0
python/{ => datafusion}/tests/test_aggregation.py | 7 +-
python/datafusion/tests/test_catalog.py | 72 +++
.../tests/test_context.py} | 1 +
.../tests/test_dataframe.py} | 44 +-
python/datafusion/tests/test_functions.py | 219 +++++++++
python/datafusion/tests/test_imports.py | 65 +++
python/{ => datafusion}/tests/test_sql.py | 40 +-
python/{ => datafusion}/tests/test_udaf.py | 64 ++-
python/pyproject.toml | 3 +
python/src/catalog.rs | 123 +++++
python/src/context.rs | 162 +++----
python/src/dataframe.rs | 197 +++-----
python/src/errors.rs | 18 +-
python/src/expression.rs | 191 +++-----
python/src/functions.rs | 512 ++++++++-------------
python/src/lib.rs | 46 +-
python/src/scalar.rs | 36 --
python/src/to_py.rs | 75 ---
python/src/to_rust.rs | 122 -----
python/src/types.rs | 65 ---
python/src/udaf.rs | 130 +++---
python/src/udf.rs | 76 ++-
python/src/utils.rs | 50 ++
python/tests/test_functions.py | 63 ---
python/tests/test_math_functions.py | 70 ---
python/tests/test_pa_types.py | 50 --
python/tests/test_string_functions.py | 121 -----
45 files changed, 1479 insertions(+), 1513 deletions(-)
create mode 100644 datafusion/src/pyarrow.rs
create mode 100644 python/datafusion/__init__.py
copy ci/scripts/csharp_build.sh => python/datafusion/functions.py (89%)
mode change 100755 => 100644
rename python/{ => datafusion}/tests/__init__.py (100%)
rename python/{ => datafusion}/tests/generic.py (100%)
rename python/{ => datafusion}/tests/test_aggregation.py (94%)
create mode 100644 python/datafusion/tests/test_catalog.py
rename python/{tests/test_df_sql.py => datafusion/tests/test_context.py} (99%)
rename python/{tests/test_df.py => datafusion/tests/test_dataframe.py} (75%)
create mode 100644 python/datafusion/tests/test_functions.py
create mode 100644 python/datafusion/tests/test_imports.py
rename python/{ => datafusion}/tests/test_sql.py (85%)
rename python/{ => datafusion}/tests/test_udaf.py (65%)
create mode 100644 python/src/catalog.rs
delete mode 100644 python/src/scalar.rs
delete mode 100644 python/src/to_py.rs
delete mode 100644 python/src/to_rust.rs
delete mode 100644 python/src/types.rs
create mode 100644 python/src/utils.rs
delete mode 100644 python/tests/test_functions.py
delete mode 100644 python/tests/test_math_functions.py
delete mode 100644 python/tests/test_pa_types.py
delete mode 100644 python/tests/test_string_functions.py