You are viewing a plain text version of this content. The canonical link for it is here.
Posted to commits@iceberg.apache.org by dw...@apache.org on 2021/09/17 21:24:18 UTC

[iceberg] branch master updated: Rename the existing python module to python_legacy. (#3074)

This is an automated email from the ASF dual-hosted git repository.

dweeks pushed a commit to branch master
in repository https://gitbox.apache.org/repos/asf/iceberg.git


The following commit(s) were added to refs/heads/master by this push:
     new 2287dca  Rename the existing python module to python_legacy. (#3074)
2287dca is described below

commit 2287dca06279f4d80c78ffa5dc2451ea5ca151da
Author: jun-he <ju...@users.noreply.github.com>
AuthorDate: Fri Sep 17 14:24:08 2021 -0700

    Rename the existing python module to python_legacy. (#3074)
    
    * Rename the existing python module to python_legacy.
    
    * update github script to use python_legacy path.
---
 .github/labeler.yml                                               | 1 +
 .github/workflows/java-ci.yml                                     | 2 ++
 .github/workflows/python-ci.yml                                   | 8 ++++----
 .gitignore                                                        | 2 +-
 {python => python_legacy}/CHANGELOG.md                            | 3 +++
 {python => python_legacy}/README.md                               | 0
 {python/tests/parquet => python_legacy/iceberg}/__init__.py       | 0
 {python => python_legacy}/iceberg/api/__init__.py                 | 0
 {python => python_legacy}/iceberg/api/append_files.py             | 0
 {python => python_legacy}/iceberg/api/combined_scan_task.py       | 0
 {python => python_legacy}/iceberg/api/data_file.py                | 0
 {python => python_legacy}/iceberg/api/data_operations.py          | 0
 {python => python_legacy}/iceberg/api/delete_files.py             | 0
 {python => python_legacy}/iceberg/api/expire_snapshots.py         | 0
 {python => python_legacy}/iceberg/api/expressions/__init__.py     | 0
 {python => python_legacy}/iceberg/api/expressions/binder.py       | 0
 {python => python_legacy}/iceberg/api/expressions/evaluator.py    | 0
 {python => python_legacy}/iceberg/api/expressions/expression.py   | 0
 .../iceberg/api/expressions/expression_parser.py                  | 0
 {python => python_legacy}/iceberg/api/expressions/expressions.py  | 0
 .../iceberg/api/expressions/inclusive_manifest_evaluator.py       | 0
 .../iceberg/api/expressions/inclusive_metrics_evaluator.py        | 0
 .../iceberg/api/expressions/java_variables/__init__.py            | 0
 {python => python_legacy}/iceberg/api/expressions/literals.py     | 0
 {python => python_legacy}/iceberg/api/expressions/predicate.py    | 0
 {python => python_legacy}/iceberg/api/expressions/projections.py  | 0
 {python => python_legacy}/iceberg/api/expressions/reference.py    | 0
 .../iceberg/api/expressions/residual_evaluator.py                 | 0
 .../iceberg/api/expressions/strict_metrics_evaluator.py           | 0
 {python => python_legacy}/iceberg/api/expressions/term.py         | 0
 {python => python_legacy}/iceberg/api/expressions/transform.py    | 0
 {python => python_legacy}/iceberg/api/file_format.py              | 0
 {python => python_legacy}/iceberg/api/file_scan_task.py           | 0
 {python => python_legacy}/iceberg/api/files.py                    | 0
 {python => python_legacy}/iceberg/api/filterable.py               | 0
 {python => python_legacy}/iceberg/api/filtered_snapshot.py        | 0
 {python => python_legacy}/iceberg/api/io/__init__.py              | 0
 {python => python_legacy}/iceberg/api/io/closeable_group.py       | 0
 {python => python_legacy}/iceberg/api/io/closeable_iterable.py    | 0
 .../iceberg/api/io/delegating_input_stream.py                     | 0
 .../iceberg/api/io/delegating_output_stream.py                    | 0
 {python => python_legacy}/iceberg/api/io/file_appender.py         | 0
 {python => python_legacy}/iceberg/api/io/input_file.py            | 0
 {python => python_legacy}/iceberg/api/io/output_file.py           | 0
 .../iceberg/api/io/position_output_stream.py                      | 0
 {python => python_legacy}/iceberg/api/io/seekable_input_stream.py | 0
 {python => python_legacy}/iceberg/api/manifest_file.py            | 0
 {python => python_legacy}/iceberg/api/metrics.py                  | 0
 {python => python_legacy}/iceberg/api/overwrite_files.py          | 0
 {python => python_legacy}/iceberg/api/partition_field.py          | 0
 {python => python_legacy}/iceberg/api/partition_spec.py           | 0
 {python => python_legacy}/iceberg/api/pending_update.py           | 0
 {python => python_legacy}/iceberg/api/replace_partitions.py       | 0
 {python => python_legacy}/iceberg/api/rewrite_files.py            | 0
 {python => python_legacy}/iceberg/api/rollback.py                 | 0
 {python => python_legacy}/iceberg/api/scan_task.py                | 0
 {python => python_legacy}/iceberg/api/schema.py                   | 0
 {python => python_legacy}/iceberg/api/snapshot.py                 | 0
 {python => python_legacy}/iceberg/api/snapshot_iterable.py        | 0
 {python => python_legacy}/iceberg/api/struct_like.py              | 0
 {python => python_legacy}/iceberg/api/table.py                    | 0
 {python => python_legacy}/iceberg/api/table_scan.py               | 0
 {python => python_legacy}/iceberg/api/tables.py                   | 0
 {python => python_legacy}/iceberg/api/transaction.py              | 0
 {python => python_legacy}/iceberg/api/transforms/__init__.py      | 0
 {python => python_legacy}/iceberg/api/transforms/bucket.py        | 0
 {python => python_legacy}/iceberg/api/transforms/dates.py         | 0
 {python => python_legacy}/iceberg/api/transforms/identity.py      | 0
 .../iceberg/api/transforms/projection_util.py                     | 0
 {python => python_legacy}/iceberg/api/transforms/timestamps.py    | 0
 {python => python_legacy}/iceberg/api/transforms/transform.py     | 0
 .../iceberg/api/transforms/transform_util.py                      | 0
 {python => python_legacy}/iceberg/api/transforms/transforms.py    | 0
 {python => python_legacy}/iceberg/api/transforms/truncate.py      | 0
 .../iceberg/api/transforms/unknown_transform.py                   | 0
 .../iceberg/api/transforms/void_transform.py                      | 0
 {python => python_legacy}/iceberg/api/types/__init__.py           | 0
 {python => python_legacy}/iceberg/api/types/conversions.py        | 0
 {python => python_legacy}/iceberg/api/types/type.py               | 0
 {python => python_legacy}/iceberg/api/types/type_util.py          | 0
 {python => python_legacy}/iceberg/api/types/types.py              | 0
 {python => python_legacy}/iceberg/api/update_properties.py        | 0
 {python => python_legacy}/iceberg/api/update_schema.py            | 0
 {python => python_legacy}/iceberg/core/__init__.py                | 0
 {python => python_legacy}/iceberg/core/avro/__init__.py           | 0
 {python => python_legacy}/iceberg/core/avro/avro_schema_util.py   | 0
 {python => python_legacy}/iceberg/core/avro/avro_to_iceberg.py    | 0
 {python => python_legacy}/iceberg/core/avro/iceberg_to_avro.py    | 0
 {python => python_legacy}/iceberg/core/base_combined_scan_task.py | 0
 {python => python_legacy}/iceberg/core/base_file_scan_task.py     | 0
 .../iceberg/core/base_metastore_table_operations.py               | 0
 {python => python_legacy}/iceberg/core/base_metastore_tables.py   | 0
 {python => python_legacy}/iceberg/core/base_snapshot.py           | 0
 {python => python_legacy}/iceberg/core/base_table.py              | 0
 {python => python_legacy}/iceberg/core/base_table_scan.py         | 0
 {python => python_legacy}/iceberg/core/base_transaction.py        | 0
 {python => python_legacy}/iceberg/core/config_properties.py       | 0
 {python => python_legacy}/iceberg/core/data_files.py              | 0
 {python => python_legacy}/iceberg/core/data_table_scan.py         | 0
 {python => python_legacy}/iceberg/core/filesystem/__init__.py     | 0
 {python => python_legacy}/iceberg/core/filesystem/file_status.py  | 0
 {python => python_legacy}/iceberg/core/filesystem/file_system.py  | 0
 .../iceberg/core/filesystem/filesystem_table_operations.py        | 0
 .../iceberg/core/filesystem/filesystem_tables.py                  | 0
 .../iceberg/core/filesystem/local_filesystem.py                   | 0
 .../iceberg/core/filesystem/s3_filesystem.py                      | 0
 {python => python_legacy}/iceberg/core/filesystem/util.py         | 0
 {python => python_legacy}/iceberg/core/filtered_manifest.py       | 0
 {python => python_legacy}/iceberg/core/generic_data_file.py       | 0
 {python => python_legacy}/iceberg/core/generic_manifest_file.py   | 0
 .../iceberg/core/generic_partition_field_summary.py               | 0
 {python => python_legacy}/iceberg/core/manifest_entry.py          | 0
 {python => python_legacy}/iceberg/core/manifest_list_writer.py    | 0
 {python => python_legacy}/iceberg/core/manifest_reader.py         | 0
 {python => python_legacy}/iceberg/core/partition_data.py          | 0
 {python => python_legacy}/iceberg/core/partition_spec_parser.py   | 0
 {python => python_legacy}/iceberg/core/partition_summary.py       | 0
 {python => python_legacy}/iceberg/core/scan_summary.py            | 0
 {python => python_legacy}/iceberg/core/schema_parser.py           | 0
 {python => python_legacy}/iceberg/core/schema_update.py           | 0
 {python => python_legacy}/iceberg/core/snapshot_parser.py         | 0
 {python => python_legacy}/iceberg/core/table_metadata.py          | 0
 {python => python_legacy}/iceberg/core/table_metadata_parser.py   | 0
 {python => python_legacy}/iceberg/core/table_operations.py        | 0
 {python => python_legacy}/iceberg/core/table_properties.py        | 0
 {python => python_legacy}/iceberg/core/util/__init__.py           | 0
 {python => python_legacy}/iceberg/core/util/atomic_integer.py     | 0
 {python => python_legacy}/iceberg/core/util/bin_packing.py        | 0
 {python => python_legacy}/iceberg/core/util/profile.py            | 0
 {python => python_legacy}/iceberg/exceptions/__init__.py          | 0
 {python => python_legacy}/iceberg/exceptions/exceptions.py        | 0
 {python => python_legacy}/iceberg/hive/__init__.py                | 0
 {python => python_legacy}/iceberg/hive/hive_table_operations.py   | 0
 {python => python_legacy}/iceberg/hive/hive_tables.py             | 0
 {python => python_legacy}/iceberg/hive/hive_types.py              | 0
 {python => python_legacy}/iceberg/parquet/__init__.py             | 0
 {python => python_legacy}/iceberg/parquet/dataset_utils.py        | 0
 {python => python_legacy}/iceberg/parquet/parquet_reader.py       | 0
 {python => python_legacy}/iceberg/parquet/parquet_schema_utils.py | 0
 {python => python_legacy}/iceberg/parquet/parquet_to_iceberg.py   | 0
 {python => python_legacy}/setup.py                                | 0
 {python/tests/core/avro => python_legacy/tests}/__init__.py       | 0
 {python/tests/core => python_legacy/tests/api}/__init__.py        | 0
 .../api/types => python_legacy/tests/api/expressions}/__init__.py | 0
 {python => python_legacy}/tests/api/expressions/conftest.py       | 0
 {python => python_legacy}/tests/api/expressions/test_evaluator.py | 0
 .../tests/api/expressions/test_expression_binding.py              | 0
 .../tests/api/expressions/test_expression_helpers.py              | 0
 .../tests/api/expressions/test_expression_serializations.py       | 0
 .../tests/api/expressions/test_inclusive_manifest_evaluator.py    | 0
 .../tests/api/expressions/test_inclusive_metrics_evaluator.py     | 0
 .../tests/api/expressions/test_literal_serialization.py           | 0
 .../tests/api/expressions/test_misc_literal_conversions.py        | 0
 .../tests/api/expressions/test_numeric_literal_conversions.py     | 0
 .../tests/api/expressions/test_predicate_binding.py               | 0
 .../tests/api/expressions/test_str_to_expr.py                     | 0
 .../tests/api/expressions/test_strict_metrics_evaluator.py        | 0
 .../tests/api/expressions/test_string_literal_conversions.py      | 0
 {python => python_legacy}/tests/api/test_conversions.py           | 0
 {python => python_legacy}/tests/api/test_file_format.py           | 0
 {python => python_legacy}/tests/api/test_helpers.py               | 0
 {python => python_legacy}/tests/api/test_partition_spec.py        | 0
 {python => python_legacy}/tests/api/transforms/__init__.py        | 0
 {python => python_legacy}/tests/api/transforms/test_bucket.py     | 0
 {python => python_legacy}/tests/api/transforms/test_bucketing.py  | 0
 {python => python_legacy}/tests/api/transforms/test_dates.py      | 0
 {python => python_legacy}/tests/api/transforms/test_identity.py   | 0
 {python => python_legacy}/tests/api/transforms/test_timestamps.py | 0
 {python => python_legacy}/tests/api/transforms/test_truncate.py   | 0
 .../api/expressions => python_legacy/tests/api/types}/__init__.py | 0
 .../tests/api/types/test_binary_comparator.py                     | 0
 .../tests/api/types/test_char_seq_comparator.py                   | 0
 .../tests/api/types/test_comparable_comparator.py                 | 0
 .../tests/api/types/test_readabilty_checks.py                     | 0
 {python => python_legacy}/tests/api/types/test_type_util.py       | 0
 {python/tests/api => python_legacy/tests/core}/__init__.py        | 0
 {python/tests => python_legacy/tests/core/avro}/__init__.py       | 0
 {python => python_legacy}/tests/core/avro/conftest.py             | 0
 {python => python_legacy}/tests/core/avro/test_avro.py            | 0
 {python => python_legacy}/tests/core/avro/test_read_projection.py | 0
 {python => python_legacy}/tests/core/conftest.py                  | 0
 {python => python_legacy}/tests/core/test_base_table_scan.py      | 0
 {python => python_legacy}/tests/core/test_filesystem_tables.py    | 0
 {python => python_legacy}/tests/core/test_partition_spec.py       | 0
 .../tests/core/test_partition_spec_parser.py                      | 0
 {python => python_legacy}/tests/core/test_snapshot_json.py        | 0
 {python => python_legacy}/tests/core/test_table_metadata_json.py  | 0
 .../tests/core/test_table_metadata_parser.py                      | 0
 {python => python_legacy}/tests/core/utils/__init__.py            | 0
 {python => python_legacy}/tests/core/utils/test_bin_packing.py    | 0
 {python => python_legacy}/tests/hive/__init__.py                  | 0
 {python => python_legacy}/tests/hive/conftest.py                  | 0
 {python => python_legacy}/tests/hive/test_hive_tables.py          | 0
 {python/iceberg => python_legacy/tests/parquet}/__init__.py       | 0
 {python => python_legacy}/tests/parquet/conftest.py               | 0
 {python => python_legacy}/tests/parquet/test_dataset_utils.py     | 0
 {python => python_legacy}/tests/parquet/test_parquet_reader.py    | 0
 .../tests/parquet/test_parquet_to_iceberg.py                      | 0
 {python => python_legacy}/tox.ini                                 | 0
 199 files changed, 11 insertions(+), 5 deletions(-)

diff --git a/.github/labeler.yml b/.github/labeler.yml
index 32ab8eb..db8c3a0 100644
--- a/.github/labeler.yml
+++ b/.github/labeler.yml
@@ -45,6 +45,7 @@ CORE:
   - core/**/*
 PYTHON:
   - python/**/*
+  - python_legacy/**/*
 PARQUET:
   - parquet/**/*
 ARROW:
diff --git a/.github/workflows/java-ci.yml b/.github/workflows/java-ci.yml
index 8b38dfb..e54471c 100644
--- a/.github/workflows/java-ci.yml
+++ b/.github/workflows/java-ci.yml
@@ -23,11 +23,13 @@ on:
     paths-ignore:
     - '.github/workflows/python-ci.yml'
     - 'python/**'
+    - 'python_legacy/**'
     - 'site/**'
   pull_request:
     paths-ignore:
     - '.github/workflows/python-ci.yml'
     - 'python/**'
+    - 'python_legacy/**'
     - 'site/**'
 
 jobs:
diff --git a/.github/workflows/python-ci.yml b/.github/workflows/python-ci.yml
index a274f10..0c5a682 100644
--- a/.github/workflows/python-ci.yml
+++ b/.github/workflows/python-ci.yml
@@ -22,11 +22,11 @@ on:
   push:
     paths:
     - '.github/workflows/python-ci.yml'
-    - 'python/**'
+    - 'python_legacy/**'
   pull_request:
     paths:
     - '.github/workflows/python-ci.yml'
-    - 'python/**'
+    - 'python_legacy/**'
 
 jobs:
   tox:
@@ -40,10 +40,10 @@ jobs:
     - uses: actions/setup-python@v2
       with:
         python-version: ${{ matrix.python }}
-    - working-directory: ./python
+    - working-directory: ./python_legacy
       run: |
         pip install -e .[dev]
         pip install -U tox-gh-actions
-    - working-directory: ./python
+    - working-directory: ./python_legacy
       run: tox
 
diff --git a/.gitignore b/.gitignore
index 22b7a29..6c06d4a 100644
--- a/.gitignore
+++ b/.gitignore
@@ -60,4 +60,4 @@ spark-warehouse/
 derby.log
 
 # Python stuff
-python/.mypy_cache/
+python_legacy/.mypy_cache/
diff --git a/python/CHANGELOG.md b/python_legacy/CHANGELOG.md
similarity index 93%
rename from python/CHANGELOG.md
rename to python_legacy/CHANGELOG.md
index c19b3ab..e331c3a 100644
--- a/python/CHANGELOG.md
+++ b/python_legacy/CHANGELOG.md
@@ -17,5 +17,8 @@
 
 # iceberg Changelog
 
+## 2021-09-04
+* Rename this one to python_legacy. - [Jun He]
+
 ## iceberg 0.0.1 (2019-02-08)
 * Library creation. - [Ted Gooch]
diff --git a/python/README.md b/python_legacy/README.md
similarity index 100%
rename from python/README.md
rename to python_legacy/README.md
diff --git a/python/tests/parquet/__init__.py b/python_legacy/iceberg/__init__.py
similarity index 100%
rename from python/tests/parquet/__init__.py
rename to python_legacy/iceberg/__init__.py
diff --git a/python/iceberg/api/__init__.py b/python_legacy/iceberg/api/__init__.py
similarity index 100%
rename from python/iceberg/api/__init__.py
rename to python_legacy/iceberg/api/__init__.py
diff --git a/python/iceberg/api/append_files.py b/python_legacy/iceberg/api/append_files.py
similarity index 100%
rename from python/iceberg/api/append_files.py
rename to python_legacy/iceberg/api/append_files.py
diff --git a/python/iceberg/api/combined_scan_task.py b/python_legacy/iceberg/api/combined_scan_task.py
similarity index 100%
rename from python/iceberg/api/combined_scan_task.py
rename to python_legacy/iceberg/api/combined_scan_task.py
diff --git a/python/iceberg/api/data_file.py b/python_legacy/iceberg/api/data_file.py
similarity index 100%
rename from python/iceberg/api/data_file.py
rename to python_legacy/iceberg/api/data_file.py
diff --git a/python/iceberg/api/data_operations.py b/python_legacy/iceberg/api/data_operations.py
similarity index 100%
rename from python/iceberg/api/data_operations.py
rename to python_legacy/iceberg/api/data_operations.py
diff --git a/python/iceberg/api/delete_files.py b/python_legacy/iceberg/api/delete_files.py
similarity index 100%
rename from python/iceberg/api/delete_files.py
rename to python_legacy/iceberg/api/delete_files.py
diff --git a/python/iceberg/api/expire_snapshots.py b/python_legacy/iceberg/api/expire_snapshots.py
similarity index 100%
rename from python/iceberg/api/expire_snapshots.py
rename to python_legacy/iceberg/api/expire_snapshots.py
diff --git a/python/iceberg/api/expressions/__init__.py b/python_legacy/iceberg/api/expressions/__init__.py
similarity index 100%
rename from python/iceberg/api/expressions/__init__.py
rename to python_legacy/iceberg/api/expressions/__init__.py
diff --git a/python/iceberg/api/expressions/binder.py b/python_legacy/iceberg/api/expressions/binder.py
similarity index 100%
rename from python/iceberg/api/expressions/binder.py
rename to python_legacy/iceberg/api/expressions/binder.py
diff --git a/python/iceberg/api/expressions/evaluator.py b/python_legacy/iceberg/api/expressions/evaluator.py
similarity index 100%
rename from python/iceberg/api/expressions/evaluator.py
rename to python_legacy/iceberg/api/expressions/evaluator.py
diff --git a/python/iceberg/api/expressions/expression.py b/python_legacy/iceberg/api/expressions/expression.py
similarity index 100%
rename from python/iceberg/api/expressions/expression.py
rename to python_legacy/iceberg/api/expressions/expression.py
diff --git a/python/iceberg/api/expressions/expression_parser.py b/python_legacy/iceberg/api/expressions/expression_parser.py
similarity index 100%
rename from python/iceberg/api/expressions/expression_parser.py
rename to python_legacy/iceberg/api/expressions/expression_parser.py
diff --git a/python/iceberg/api/expressions/expressions.py b/python_legacy/iceberg/api/expressions/expressions.py
similarity index 100%
rename from python/iceberg/api/expressions/expressions.py
rename to python_legacy/iceberg/api/expressions/expressions.py
diff --git a/python/iceberg/api/expressions/inclusive_manifest_evaluator.py b/python_legacy/iceberg/api/expressions/inclusive_manifest_evaluator.py
similarity index 100%
rename from python/iceberg/api/expressions/inclusive_manifest_evaluator.py
rename to python_legacy/iceberg/api/expressions/inclusive_manifest_evaluator.py
diff --git a/python/iceberg/api/expressions/inclusive_metrics_evaluator.py b/python_legacy/iceberg/api/expressions/inclusive_metrics_evaluator.py
similarity index 100%
rename from python/iceberg/api/expressions/inclusive_metrics_evaluator.py
rename to python_legacy/iceberg/api/expressions/inclusive_metrics_evaluator.py
diff --git a/python/iceberg/api/expressions/java_variables/__init__.py b/python_legacy/iceberg/api/expressions/java_variables/__init__.py
similarity index 100%
rename from python/iceberg/api/expressions/java_variables/__init__.py
rename to python_legacy/iceberg/api/expressions/java_variables/__init__.py
diff --git a/python/iceberg/api/expressions/literals.py b/python_legacy/iceberg/api/expressions/literals.py
similarity index 100%
rename from python/iceberg/api/expressions/literals.py
rename to python_legacy/iceberg/api/expressions/literals.py
diff --git a/python/iceberg/api/expressions/predicate.py b/python_legacy/iceberg/api/expressions/predicate.py
similarity index 100%
rename from python/iceberg/api/expressions/predicate.py
rename to python_legacy/iceberg/api/expressions/predicate.py
diff --git a/python/iceberg/api/expressions/projections.py b/python_legacy/iceberg/api/expressions/projections.py
similarity index 100%
rename from python/iceberg/api/expressions/projections.py
rename to python_legacy/iceberg/api/expressions/projections.py
diff --git a/python/iceberg/api/expressions/reference.py b/python_legacy/iceberg/api/expressions/reference.py
similarity index 100%
rename from python/iceberg/api/expressions/reference.py
rename to python_legacy/iceberg/api/expressions/reference.py
diff --git a/python/iceberg/api/expressions/residual_evaluator.py b/python_legacy/iceberg/api/expressions/residual_evaluator.py
similarity index 100%
rename from python/iceberg/api/expressions/residual_evaluator.py
rename to python_legacy/iceberg/api/expressions/residual_evaluator.py
diff --git a/python/iceberg/api/expressions/strict_metrics_evaluator.py b/python_legacy/iceberg/api/expressions/strict_metrics_evaluator.py
similarity index 100%
rename from python/iceberg/api/expressions/strict_metrics_evaluator.py
rename to python_legacy/iceberg/api/expressions/strict_metrics_evaluator.py
diff --git a/python/iceberg/api/expressions/term.py b/python_legacy/iceberg/api/expressions/term.py
similarity index 100%
rename from python/iceberg/api/expressions/term.py
rename to python_legacy/iceberg/api/expressions/term.py
diff --git a/python/iceberg/api/expressions/transform.py b/python_legacy/iceberg/api/expressions/transform.py
similarity index 100%
rename from python/iceberg/api/expressions/transform.py
rename to python_legacy/iceberg/api/expressions/transform.py
diff --git a/python/iceberg/api/file_format.py b/python_legacy/iceberg/api/file_format.py
similarity index 100%
rename from python/iceberg/api/file_format.py
rename to python_legacy/iceberg/api/file_format.py
diff --git a/python/iceberg/api/file_scan_task.py b/python_legacy/iceberg/api/file_scan_task.py
similarity index 100%
rename from python/iceberg/api/file_scan_task.py
rename to python_legacy/iceberg/api/file_scan_task.py
diff --git a/python/iceberg/api/files.py b/python_legacy/iceberg/api/files.py
similarity index 100%
rename from python/iceberg/api/files.py
rename to python_legacy/iceberg/api/files.py
diff --git a/python/iceberg/api/filterable.py b/python_legacy/iceberg/api/filterable.py
similarity index 100%
rename from python/iceberg/api/filterable.py
rename to python_legacy/iceberg/api/filterable.py
diff --git a/python/iceberg/api/filtered_snapshot.py b/python_legacy/iceberg/api/filtered_snapshot.py
similarity index 100%
rename from python/iceberg/api/filtered_snapshot.py
rename to python_legacy/iceberg/api/filtered_snapshot.py
diff --git a/python/iceberg/api/io/__init__.py b/python_legacy/iceberg/api/io/__init__.py
similarity index 100%
rename from python/iceberg/api/io/__init__.py
rename to python_legacy/iceberg/api/io/__init__.py
diff --git a/python/iceberg/api/io/closeable_group.py b/python_legacy/iceberg/api/io/closeable_group.py
similarity index 100%
rename from python/iceberg/api/io/closeable_group.py
rename to python_legacy/iceberg/api/io/closeable_group.py
diff --git a/python/iceberg/api/io/closeable_iterable.py b/python_legacy/iceberg/api/io/closeable_iterable.py
similarity index 100%
rename from python/iceberg/api/io/closeable_iterable.py
rename to python_legacy/iceberg/api/io/closeable_iterable.py
diff --git a/python/iceberg/api/io/delegating_input_stream.py b/python_legacy/iceberg/api/io/delegating_input_stream.py
similarity index 100%
rename from python/iceberg/api/io/delegating_input_stream.py
rename to python_legacy/iceberg/api/io/delegating_input_stream.py
diff --git a/python/iceberg/api/io/delegating_output_stream.py b/python_legacy/iceberg/api/io/delegating_output_stream.py
similarity index 100%
rename from python/iceberg/api/io/delegating_output_stream.py
rename to python_legacy/iceberg/api/io/delegating_output_stream.py
diff --git a/python/iceberg/api/io/file_appender.py b/python_legacy/iceberg/api/io/file_appender.py
similarity index 100%
rename from python/iceberg/api/io/file_appender.py
rename to python_legacy/iceberg/api/io/file_appender.py
diff --git a/python/iceberg/api/io/input_file.py b/python_legacy/iceberg/api/io/input_file.py
similarity index 100%
rename from python/iceberg/api/io/input_file.py
rename to python_legacy/iceberg/api/io/input_file.py
diff --git a/python/iceberg/api/io/output_file.py b/python_legacy/iceberg/api/io/output_file.py
similarity index 100%
rename from python/iceberg/api/io/output_file.py
rename to python_legacy/iceberg/api/io/output_file.py
diff --git a/python/iceberg/api/io/position_output_stream.py b/python_legacy/iceberg/api/io/position_output_stream.py
similarity index 100%
rename from python/iceberg/api/io/position_output_stream.py
rename to python_legacy/iceberg/api/io/position_output_stream.py
diff --git a/python/iceberg/api/io/seekable_input_stream.py b/python_legacy/iceberg/api/io/seekable_input_stream.py
similarity index 100%
rename from python/iceberg/api/io/seekable_input_stream.py
rename to python_legacy/iceberg/api/io/seekable_input_stream.py
diff --git a/python/iceberg/api/manifest_file.py b/python_legacy/iceberg/api/manifest_file.py
similarity index 100%
rename from python/iceberg/api/manifest_file.py
rename to python_legacy/iceberg/api/manifest_file.py
diff --git a/python/iceberg/api/metrics.py b/python_legacy/iceberg/api/metrics.py
similarity index 100%
rename from python/iceberg/api/metrics.py
rename to python_legacy/iceberg/api/metrics.py
diff --git a/python/iceberg/api/overwrite_files.py b/python_legacy/iceberg/api/overwrite_files.py
similarity index 100%
rename from python/iceberg/api/overwrite_files.py
rename to python_legacy/iceberg/api/overwrite_files.py
diff --git a/python/iceberg/api/partition_field.py b/python_legacy/iceberg/api/partition_field.py
similarity index 100%
rename from python/iceberg/api/partition_field.py
rename to python_legacy/iceberg/api/partition_field.py
diff --git a/python/iceberg/api/partition_spec.py b/python_legacy/iceberg/api/partition_spec.py
similarity index 100%
rename from python/iceberg/api/partition_spec.py
rename to python_legacy/iceberg/api/partition_spec.py
diff --git a/python/iceberg/api/pending_update.py b/python_legacy/iceberg/api/pending_update.py
similarity index 100%
rename from python/iceberg/api/pending_update.py
rename to python_legacy/iceberg/api/pending_update.py
diff --git a/python/iceberg/api/replace_partitions.py b/python_legacy/iceberg/api/replace_partitions.py
similarity index 100%
rename from python/iceberg/api/replace_partitions.py
rename to python_legacy/iceberg/api/replace_partitions.py
diff --git a/python/iceberg/api/rewrite_files.py b/python_legacy/iceberg/api/rewrite_files.py
similarity index 100%
rename from python/iceberg/api/rewrite_files.py
rename to python_legacy/iceberg/api/rewrite_files.py
diff --git a/python/iceberg/api/rollback.py b/python_legacy/iceberg/api/rollback.py
similarity index 100%
rename from python/iceberg/api/rollback.py
rename to python_legacy/iceberg/api/rollback.py
diff --git a/python/iceberg/api/scan_task.py b/python_legacy/iceberg/api/scan_task.py
similarity index 100%
rename from python/iceberg/api/scan_task.py
rename to python_legacy/iceberg/api/scan_task.py
diff --git a/python/iceberg/api/schema.py b/python_legacy/iceberg/api/schema.py
similarity index 100%
rename from python/iceberg/api/schema.py
rename to python_legacy/iceberg/api/schema.py
diff --git a/python/iceberg/api/snapshot.py b/python_legacy/iceberg/api/snapshot.py
similarity index 100%
rename from python/iceberg/api/snapshot.py
rename to python_legacy/iceberg/api/snapshot.py
diff --git a/python/iceberg/api/snapshot_iterable.py b/python_legacy/iceberg/api/snapshot_iterable.py
similarity index 100%
rename from python/iceberg/api/snapshot_iterable.py
rename to python_legacy/iceberg/api/snapshot_iterable.py
diff --git a/python/iceberg/api/struct_like.py b/python_legacy/iceberg/api/struct_like.py
similarity index 100%
rename from python/iceberg/api/struct_like.py
rename to python_legacy/iceberg/api/struct_like.py
diff --git a/python/iceberg/api/table.py b/python_legacy/iceberg/api/table.py
similarity index 100%
rename from python/iceberg/api/table.py
rename to python_legacy/iceberg/api/table.py
diff --git a/python/iceberg/api/table_scan.py b/python_legacy/iceberg/api/table_scan.py
similarity index 100%
rename from python/iceberg/api/table_scan.py
rename to python_legacy/iceberg/api/table_scan.py
diff --git a/python/iceberg/api/tables.py b/python_legacy/iceberg/api/tables.py
similarity index 100%
rename from python/iceberg/api/tables.py
rename to python_legacy/iceberg/api/tables.py
diff --git a/python/iceberg/api/transaction.py b/python_legacy/iceberg/api/transaction.py
similarity index 100%
rename from python/iceberg/api/transaction.py
rename to python_legacy/iceberg/api/transaction.py
diff --git a/python/iceberg/api/transforms/__init__.py b/python_legacy/iceberg/api/transforms/__init__.py
similarity index 100%
rename from python/iceberg/api/transforms/__init__.py
rename to python_legacy/iceberg/api/transforms/__init__.py
diff --git a/python/iceberg/api/transforms/bucket.py b/python_legacy/iceberg/api/transforms/bucket.py
similarity index 100%
rename from python/iceberg/api/transforms/bucket.py
rename to python_legacy/iceberg/api/transforms/bucket.py
diff --git a/python/iceberg/api/transforms/dates.py b/python_legacy/iceberg/api/transforms/dates.py
similarity index 100%
rename from python/iceberg/api/transforms/dates.py
rename to python_legacy/iceberg/api/transforms/dates.py
diff --git a/python/iceberg/api/transforms/identity.py b/python_legacy/iceberg/api/transforms/identity.py
similarity index 100%
rename from python/iceberg/api/transforms/identity.py
rename to python_legacy/iceberg/api/transforms/identity.py
diff --git a/python/iceberg/api/transforms/projection_util.py b/python_legacy/iceberg/api/transforms/projection_util.py
similarity index 100%
rename from python/iceberg/api/transforms/projection_util.py
rename to python_legacy/iceberg/api/transforms/projection_util.py
diff --git a/python/iceberg/api/transforms/timestamps.py b/python_legacy/iceberg/api/transforms/timestamps.py
similarity index 100%
rename from python/iceberg/api/transforms/timestamps.py
rename to python_legacy/iceberg/api/transforms/timestamps.py
diff --git a/python/iceberg/api/transforms/transform.py b/python_legacy/iceberg/api/transforms/transform.py
similarity index 100%
rename from python/iceberg/api/transforms/transform.py
rename to python_legacy/iceberg/api/transforms/transform.py
diff --git a/python/iceberg/api/transforms/transform_util.py b/python_legacy/iceberg/api/transforms/transform_util.py
similarity index 100%
rename from python/iceberg/api/transforms/transform_util.py
rename to python_legacy/iceberg/api/transforms/transform_util.py
diff --git a/python/iceberg/api/transforms/transforms.py b/python_legacy/iceberg/api/transforms/transforms.py
similarity index 100%
rename from python/iceberg/api/transforms/transforms.py
rename to python_legacy/iceberg/api/transforms/transforms.py
diff --git a/python/iceberg/api/transforms/truncate.py b/python_legacy/iceberg/api/transforms/truncate.py
similarity index 100%
rename from python/iceberg/api/transforms/truncate.py
rename to python_legacy/iceberg/api/transforms/truncate.py
diff --git a/python/iceberg/api/transforms/unknown_transform.py b/python_legacy/iceberg/api/transforms/unknown_transform.py
similarity index 100%
rename from python/iceberg/api/transforms/unknown_transform.py
rename to python_legacy/iceberg/api/transforms/unknown_transform.py
diff --git a/python/iceberg/api/transforms/void_transform.py b/python_legacy/iceberg/api/transforms/void_transform.py
similarity index 100%
rename from python/iceberg/api/transforms/void_transform.py
rename to python_legacy/iceberg/api/transforms/void_transform.py
diff --git a/python/iceberg/api/types/__init__.py b/python_legacy/iceberg/api/types/__init__.py
similarity index 100%
rename from python/iceberg/api/types/__init__.py
rename to python_legacy/iceberg/api/types/__init__.py
diff --git a/python/iceberg/api/types/conversions.py b/python_legacy/iceberg/api/types/conversions.py
similarity index 100%
rename from python/iceberg/api/types/conversions.py
rename to python_legacy/iceberg/api/types/conversions.py
diff --git a/python/iceberg/api/types/type.py b/python_legacy/iceberg/api/types/type.py
similarity index 100%
rename from python/iceberg/api/types/type.py
rename to python_legacy/iceberg/api/types/type.py
diff --git a/python/iceberg/api/types/type_util.py b/python_legacy/iceberg/api/types/type_util.py
similarity index 100%
rename from python/iceberg/api/types/type_util.py
rename to python_legacy/iceberg/api/types/type_util.py
diff --git a/python/iceberg/api/types/types.py b/python_legacy/iceberg/api/types/types.py
similarity index 100%
rename from python/iceberg/api/types/types.py
rename to python_legacy/iceberg/api/types/types.py
diff --git a/python/iceberg/api/update_properties.py b/python_legacy/iceberg/api/update_properties.py
similarity index 100%
rename from python/iceberg/api/update_properties.py
rename to python_legacy/iceberg/api/update_properties.py
diff --git a/python/iceberg/api/update_schema.py b/python_legacy/iceberg/api/update_schema.py
similarity index 100%
rename from python/iceberg/api/update_schema.py
rename to python_legacy/iceberg/api/update_schema.py
diff --git a/python/iceberg/core/__init__.py b/python_legacy/iceberg/core/__init__.py
similarity index 100%
rename from python/iceberg/core/__init__.py
rename to python_legacy/iceberg/core/__init__.py
diff --git a/python/iceberg/core/avro/__init__.py b/python_legacy/iceberg/core/avro/__init__.py
similarity index 100%
rename from python/iceberg/core/avro/__init__.py
rename to python_legacy/iceberg/core/avro/__init__.py
diff --git a/python/iceberg/core/avro/avro_schema_util.py b/python_legacy/iceberg/core/avro/avro_schema_util.py
similarity index 100%
rename from python/iceberg/core/avro/avro_schema_util.py
rename to python_legacy/iceberg/core/avro/avro_schema_util.py
diff --git a/python/iceberg/core/avro/avro_to_iceberg.py b/python_legacy/iceberg/core/avro/avro_to_iceberg.py
similarity index 100%
rename from python/iceberg/core/avro/avro_to_iceberg.py
rename to python_legacy/iceberg/core/avro/avro_to_iceberg.py
diff --git a/python/iceberg/core/avro/iceberg_to_avro.py b/python_legacy/iceberg/core/avro/iceberg_to_avro.py
similarity index 100%
rename from python/iceberg/core/avro/iceberg_to_avro.py
rename to python_legacy/iceberg/core/avro/iceberg_to_avro.py
diff --git a/python/iceberg/core/base_combined_scan_task.py b/python_legacy/iceberg/core/base_combined_scan_task.py
similarity index 100%
rename from python/iceberg/core/base_combined_scan_task.py
rename to python_legacy/iceberg/core/base_combined_scan_task.py
diff --git a/python/iceberg/core/base_file_scan_task.py b/python_legacy/iceberg/core/base_file_scan_task.py
similarity index 100%
rename from python/iceberg/core/base_file_scan_task.py
rename to python_legacy/iceberg/core/base_file_scan_task.py
diff --git a/python/iceberg/core/base_metastore_table_operations.py b/python_legacy/iceberg/core/base_metastore_table_operations.py
similarity index 100%
rename from python/iceberg/core/base_metastore_table_operations.py
rename to python_legacy/iceberg/core/base_metastore_table_operations.py
diff --git a/python/iceberg/core/base_metastore_tables.py b/python_legacy/iceberg/core/base_metastore_tables.py
similarity index 100%
rename from python/iceberg/core/base_metastore_tables.py
rename to python_legacy/iceberg/core/base_metastore_tables.py
diff --git a/python/iceberg/core/base_snapshot.py b/python_legacy/iceberg/core/base_snapshot.py
similarity index 100%
rename from python/iceberg/core/base_snapshot.py
rename to python_legacy/iceberg/core/base_snapshot.py
diff --git a/python/iceberg/core/base_table.py b/python_legacy/iceberg/core/base_table.py
similarity index 100%
rename from python/iceberg/core/base_table.py
rename to python_legacy/iceberg/core/base_table.py
diff --git a/python/iceberg/core/base_table_scan.py b/python_legacy/iceberg/core/base_table_scan.py
similarity index 100%
rename from python/iceberg/core/base_table_scan.py
rename to python_legacy/iceberg/core/base_table_scan.py
diff --git a/python/iceberg/core/base_transaction.py b/python_legacy/iceberg/core/base_transaction.py
similarity index 100%
rename from python/iceberg/core/base_transaction.py
rename to python_legacy/iceberg/core/base_transaction.py
diff --git a/python/iceberg/core/config_properties.py b/python_legacy/iceberg/core/config_properties.py
similarity index 100%
rename from python/iceberg/core/config_properties.py
rename to python_legacy/iceberg/core/config_properties.py
diff --git a/python/iceberg/core/data_files.py b/python_legacy/iceberg/core/data_files.py
similarity index 100%
rename from python/iceberg/core/data_files.py
rename to python_legacy/iceberg/core/data_files.py
diff --git a/python/iceberg/core/data_table_scan.py b/python_legacy/iceberg/core/data_table_scan.py
similarity index 100%
rename from python/iceberg/core/data_table_scan.py
rename to python_legacy/iceberg/core/data_table_scan.py
diff --git a/python/iceberg/core/filesystem/__init__.py b/python_legacy/iceberg/core/filesystem/__init__.py
similarity index 100%
rename from python/iceberg/core/filesystem/__init__.py
rename to python_legacy/iceberg/core/filesystem/__init__.py
diff --git a/python/iceberg/core/filesystem/file_status.py b/python_legacy/iceberg/core/filesystem/file_status.py
similarity index 100%
rename from python/iceberg/core/filesystem/file_status.py
rename to python_legacy/iceberg/core/filesystem/file_status.py
diff --git a/python/iceberg/core/filesystem/file_system.py b/python_legacy/iceberg/core/filesystem/file_system.py
similarity index 100%
rename from python/iceberg/core/filesystem/file_system.py
rename to python_legacy/iceberg/core/filesystem/file_system.py
diff --git a/python/iceberg/core/filesystem/filesystem_table_operations.py b/python_legacy/iceberg/core/filesystem/filesystem_table_operations.py
similarity index 100%
rename from python/iceberg/core/filesystem/filesystem_table_operations.py
rename to python_legacy/iceberg/core/filesystem/filesystem_table_operations.py
diff --git a/python/iceberg/core/filesystem/filesystem_tables.py b/python_legacy/iceberg/core/filesystem/filesystem_tables.py
similarity index 100%
rename from python/iceberg/core/filesystem/filesystem_tables.py
rename to python_legacy/iceberg/core/filesystem/filesystem_tables.py
diff --git a/python/iceberg/core/filesystem/local_filesystem.py b/python_legacy/iceberg/core/filesystem/local_filesystem.py
similarity index 100%
rename from python/iceberg/core/filesystem/local_filesystem.py
rename to python_legacy/iceberg/core/filesystem/local_filesystem.py
diff --git a/python/iceberg/core/filesystem/s3_filesystem.py b/python_legacy/iceberg/core/filesystem/s3_filesystem.py
similarity index 100%
rename from python/iceberg/core/filesystem/s3_filesystem.py
rename to python_legacy/iceberg/core/filesystem/s3_filesystem.py
diff --git a/python/iceberg/core/filesystem/util.py b/python_legacy/iceberg/core/filesystem/util.py
similarity index 100%
rename from python/iceberg/core/filesystem/util.py
rename to python_legacy/iceberg/core/filesystem/util.py
diff --git a/python/iceberg/core/filtered_manifest.py b/python_legacy/iceberg/core/filtered_manifest.py
similarity index 100%
rename from python/iceberg/core/filtered_manifest.py
rename to python_legacy/iceberg/core/filtered_manifest.py
diff --git a/python/iceberg/core/generic_data_file.py b/python_legacy/iceberg/core/generic_data_file.py
similarity index 100%
rename from python/iceberg/core/generic_data_file.py
rename to python_legacy/iceberg/core/generic_data_file.py
diff --git a/python/iceberg/core/generic_manifest_file.py b/python_legacy/iceberg/core/generic_manifest_file.py
similarity index 100%
rename from python/iceberg/core/generic_manifest_file.py
rename to python_legacy/iceberg/core/generic_manifest_file.py
diff --git a/python/iceberg/core/generic_partition_field_summary.py b/python_legacy/iceberg/core/generic_partition_field_summary.py
similarity index 100%
rename from python/iceberg/core/generic_partition_field_summary.py
rename to python_legacy/iceberg/core/generic_partition_field_summary.py
diff --git a/python/iceberg/core/manifest_entry.py b/python_legacy/iceberg/core/manifest_entry.py
similarity index 100%
rename from python/iceberg/core/manifest_entry.py
rename to python_legacy/iceberg/core/manifest_entry.py
diff --git a/python/iceberg/core/manifest_list_writer.py b/python_legacy/iceberg/core/manifest_list_writer.py
similarity index 100%
rename from python/iceberg/core/manifest_list_writer.py
rename to python_legacy/iceberg/core/manifest_list_writer.py
diff --git a/python/iceberg/core/manifest_reader.py b/python_legacy/iceberg/core/manifest_reader.py
similarity index 100%
rename from python/iceberg/core/manifest_reader.py
rename to python_legacy/iceberg/core/manifest_reader.py
diff --git a/python/iceberg/core/partition_data.py b/python_legacy/iceberg/core/partition_data.py
similarity index 100%
rename from python/iceberg/core/partition_data.py
rename to python_legacy/iceberg/core/partition_data.py
diff --git a/python/iceberg/core/partition_spec_parser.py b/python_legacy/iceberg/core/partition_spec_parser.py
similarity index 100%
rename from python/iceberg/core/partition_spec_parser.py
rename to python_legacy/iceberg/core/partition_spec_parser.py
diff --git a/python/iceberg/core/partition_summary.py b/python_legacy/iceberg/core/partition_summary.py
similarity index 100%
rename from python/iceberg/core/partition_summary.py
rename to python_legacy/iceberg/core/partition_summary.py
diff --git a/python/iceberg/core/scan_summary.py b/python_legacy/iceberg/core/scan_summary.py
similarity index 100%
rename from python/iceberg/core/scan_summary.py
rename to python_legacy/iceberg/core/scan_summary.py
diff --git a/python/iceberg/core/schema_parser.py b/python_legacy/iceberg/core/schema_parser.py
similarity index 100%
rename from python/iceberg/core/schema_parser.py
rename to python_legacy/iceberg/core/schema_parser.py
diff --git a/python/iceberg/core/schema_update.py b/python_legacy/iceberg/core/schema_update.py
similarity index 100%
rename from python/iceberg/core/schema_update.py
rename to python_legacy/iceberg/core/schema_update.py
diff --git a/python/iceberg/core/snapshot_parser.py b/python_legacy/iceberg/core/snapshot_parser.py
similarity index 100%
rename from python/iceberg/core/snapshot_parser.py
rename to python_legacy/iceberg/core/snapshot_parser.py
diff --git a/python/iceberg/core/table_metadata.py b/python_legacy/iceberg/core/table_metadata.py
similarity index 100%
rename from python/iceberg/core/table_metadata.py
rename to python_legacy/iceberg/core/table_metadata.py
diff --git a/python/iceberg/core/table_metadata_parser.py b/python_legacy/iceberg/core/table_metadata_parser.py
similarity index 100%
rename from python/iceberg/core/table_metadata_parser.py
rename to python_legacy/iceberg/core/table_metadata_parser.py
diff --git a/python/iceberg/core/table_operations.py b/python_legacy/iceberg/core/table_operations.py
similarity index 100%
rename from python/iceberg/core/table_operations.py
rename to python_legacy/iceberg/core/table_operations.py
diff --git a/python/iceberg/core/table_properties.py b/python_legacy/iceberg/core/table_properties.py
similarity index 100%
rename from python/iceberg/core/table_properties.py
rename to python_legacy/iceberg/core/table_properties.py
diff --git a/python/iceberg/core/util/__init__.py b/python_legacy/iceberg/core/util/__init__.py
similarity index 100%
rename from python/iceberg/core/util/__init__.py
rename to python_legacy/iceberg/core/util/__init__.py
diff --git a/python/iceberg/core/util/atomic_integer.py b/python_legacy/iceberg/core/util/atomic_integer.py
similarity index 100%
rename from python/iceberg/core/util/atomic_integer.py
rename to python_legacy/iceberg/core/util/atomic_integer.py
diff --git a/python/iceberg/core/util/bin_packing.py b/python_legacy/iceberg/core/util/bin_packing.py
similarity index 100%
rename from python/iceberg/core/util/bin_packing.py
rename to python_legacy/iceberg/core/util/bin_packing.py
diff --git a/python/iceberg/core/util/profile.py b/python_legacy/iceberg/core/util/profile.py
similarity index 100%
rename from python/iceberg/core/util/profile.py
rename to python_legacy/iceberg/core/util/profile.py
diff --git a/python/iceberg/exceptions/__init__.py b/python_legacy/iceberg/exceptions/__init__.py
similarity index 100%
rename from python/iceberg/exceptions/__init__.py
rename to python_legacy/iceberg/exceptions/__init__.py
diff --git a/python/iceberg/exceptions/exceptions.py b/python_legacy/iceberg/exceptions/exceptions.py
similarity index 100%
rename from python/iceberg/exceptions/exceptions.py
rename to python_legacy/iceberg/exceptions/exceptions.py
diff --git a/python/iceberg/hive/__init__.py b/python_legacy/iceberg/hive/__init__.py
similarity index 100%
rename from python/iceberg/hive/__init__.py
rename to python_legacy/iceberg/hive/__init__.py
diff --git a/python/iceberg/hive/hive_table_operations.py b/python_legacy/iceberg/hive/hive_table_operations.py
similarity index 100%
rename from python/iceberg/hive/hive_table_operations.py
rename to python_legacy/iceberg/hive/hive_table_operations.py
diff --git a/python/iceberg/hive/hive_tables.py b/python_legacy/iceberg/hive/hive_tables.py
similarity index 100%
rename from python/iceberg/hive/hive_tables.py
rename to python_legacy/iceberg/hive/hive_tables.py
diff --git a/python/iceberg/hive/hive_types.py b/python_legacy/iceberg/hive/hive_types.py
similarity index 100%
rename from python/iceberg/hive/hive_types.py
rename to python_legacy/iceberg/hive/hive_types.py
diff --git a/python/iceberg/parquet/__init__.py b/python_legacy/iceberg/parquet/__init__.py
similarity index 100%
rename from python/iceberg/parquet/__init__.py
rename to python_legacy/iceberg/parquet/__init__.py
diff --git a/python/iceberg/parquet/dataset_utils.py b/python_legacy/iceberg/parquet/dataset_utils.py
similarity index 100%
rename from python/iceberg/parquet/dataset_utils.py
rename to python_legacy/iceberg/parquet/dataset_utils.py
diff --git a/python/iceberg/parquet/parquet_reader.py b/python_legacy/iceberg/parquet/parquet_reader.py
similarity index 100%
rename from python/iceberg/parquet/parquet_reader.py
rename to python_legacy/iceberg/parquet/parquet_reader.py
diff --git a/python/iceberg/parquet/parquet_schema_utils.py b/python_legacy/iceberg/parquet/parquet_schema_utils.py
similarity index 100%
rename from python/iceberg/parquet/parquet_schema_utils.py
rename to python_legacy/iceberg/parquet/parquet_schema_utils.py
diff --git a/python/iceberg/parquet/parquet_to_iceberg.py b/python_legacy/iceberg/parquet/parquet_to_iceberg.py
similarity index 100%
rename from python/iceberg/parquet/parquet_to_iceberg.py
rename to python_legacy/iceberg/parquet/parquet_to_iceberg.py
diff --git a/python/setup.py b/python_legacy/setup.py
similarity index 100%
rename from python/setup.py
rename to python_legacy/setup.py
diff --git a/python/tests/core/avro/__init__.py b/python_legacy/tests/__init__.py
similarity index 100%
rename from python/tests/core/avro/__init__.py
rename to python_legacy/tests/__init__.py
diff --git a/python/tests/core/__init__.py b/python_legacy/tests/api/__init__.py
similarity index 100%
rename from python/tests/core/__init__.py
rename to python_legacy/tests/api/__init__.py
diff --git a/python/tests/api/types/__init__.py b/python_legacy/tests/api/expressions/__init__.py
similarity index 100%
rename from python/tests/api/types/__init__.py
rename to python_legacy/tests/api/expressions/__init__.py
diff --git a/python/tests/api/expressions/conftest.py b/python_legacy/tests/api/expressions/conftest.py
similarity index 100%
rename from python/tests/api/expressions/conftest.py
rename to python_legacy/tests/api/expressions/conftest.py
diff --git a/python/tests/api/expressions/test_evaluator.py b/python_legacy/tests/api/expressions/test_evaluator.py
similarity index 100%
rename from python/tests/api/expressions/test_evaluator.py
rename to python_legacy/tests/api/expressions/test_evaluator.py
diff --git a/python/tests/api/expressions/test_expression_binding.py b/python_legacy/tests/api/expressions/test_expression_binding.py
similarity index 100%
rename from python/tests/api/expressions/test_expression_binding.py
rename to python_legacy/tests/api/expressions/test_expression_binding.py
diff --git a/python/tests/api/expressions/test_expression_helpers.py b/python_legacy/tests/api/expressions/test_expression_helpers.py
similarity index 100%
rename from python/tests/api/expressions/test_expression_helpers.py
rename to python_legacy/tests/api/expressions/test_expression_helpers.py
diff --git a/python/tests/api/expressions/test_expression_serializations.py b/python_legacy/tests/api/expressions/test_expression_serializations.py
similarity index 100%
rename from python/tests/api/expressions/test_expression_serializations.py
rename to python_legacy/tests/api/expressions/test_expression_serializations.py
diff --git a/python/tests/api/expressions/test_inclusive_manifest_evaluator.py b/python_legacy/tests/api/expressions/test_inclusive_manifest_evaluator.py
similarity index 100%
rename from python/tests/api/expressions/test_inclusive_manifest_evaluator.py
rename to python_legacy/tests/api/expressions/test_inclusive_manifest_evaluator.py
diff --git a/python/tests/api/expressions/test_inclusive_metrics_evaluator.py b/python_legacy/tests/api/expressions/test_inclusive_metrics_evaluator.py
similarity index 100%
rename from python/tests/api/expressions/test_inclusive_metrics_evaluator.py
rename to python_legacy/tests/api/expressions/test_inclusive_metrics_evaluator.py
diff --git a/python/tests/api/expressions/test_literal_serialization.py b/python_legacy/tests/api/expressions/test_literal_serialization.py
similarity index 100%
rename from python/tests/api/expressions/test_literal_serialization.py
rename to python_legacy/tests/api/expressions/test_literal_serialization.py
diff --git a/python/tests/api/expressions/test_misc_literal_conversions.py b/python_legacy/tests/api/expressions/test_misc_literal_conversions.py
similarity index 100%
rename from python/tests/api/expressions/test_misc_literal_conversions.py
rename to python_legacy/tests/api/expressions/test_misc_literal_conversions.py
diff --git a/python/tests/api/expressions/test_numeric_literal_conversions.py b/python_legacy/tests/api/expressions/test_numeric_literal_conversions.py
similarity index 100%
rename from python/tests/api/expressions/test_numeric_literal_conversions.py
rename to python_legacy/tests/api/expressions/test_numeric_literal_conversions.py
diff --git a/python/tests/api/expressions/test_predicate_binding.py b/python_legacy/tests/api/expressions/test_predicate_binding.py
similarity index 100%
rename from python/tests/api/expressions/test_predicate_binding.py
rename to python_legacy/tests/api/expressions/test_predicate_binding.py
diff --git a/python/tests/api/expressions/test_str_to_expr.py b/python_legacy/tests/api/expressions/test_str_to_expr.py
similarity index 100%
rename from python/tests/api/expressions/test_str_to_expr.py
rename to python_legacy/tests/api/expressions/test_str_to_expr.py
diff --git a/python/tests/api/expressions/test_strict_metrics_evaluator.py b/python_legacy/tests/api/expressions/test_strict_metrics_evaluator.py
similarity index 100%
rename from python/tests/api/expressions/test_strict_metrics_evaluator.py
rename to python_legacy/tests/api/expressions/test_strict_metrics_evaluator.py
diff --git a/python/tests/api/expressions/test_string_literal_conversions.py b/python_legacy/tests/api/expressions/test_string_literal_conversions.py
similarity index 100%
rename from python/tests/api/expressions/test_string_literal_conversions.py
rename to python_legacy/tests/api/expressions/test_string_literal_conversions.py
diff --git a/python/tests/api/test_conversions.py b/python_legacy/tests/api/test_conversions.py
similarity index 100%
rename from python/tests/api/test_conversions.py
rename to python_legacy/tests/api/test_conversions.py
diff --git a/python/tests/api/test_file_format.py b/python_legacy/tests/api/test_file_format.py
similarity index 100%
rename from python/tests/api/test_file_format.py
rename to python_legacy/tests/api/test_file_format.py
diff --git a/python/tests/api/test_helpers.py b/python_legacy/tests/api/test_helpers.py
similarity index 100%
rename from python/tests/api/test_helpers.py
rename to python_legacy/tests/api/test_helpers.py
diff --git a/python/tests/api/test_partition_spec.py b/python_legacy/tests/api/test_partition_spec.py
similarity index 100%
rename from python/tests/api/test_partition_spec.py
rename to python_legacy/tests/api/test_partition_spec.py
diff --git a/python/tests/api/transforms/__init__.py b/python_legacy/tests/api/transforms/__init__.py
similarity index 100%
rename from python/tests/api/transforms/__init__.py
rename to python_legacy/tests/api/transforms/__init__.py
diff --git a/python/tests/api/transforms/test_bucket.py b/python_legacy/tests/api/transforms/test_bucket.py
similarity index 100%
rename from python/tests/api/transforms/test_bucket.py
rename to python_legacy/tests/api/transforms/test_bucket.py
diff --git a/python/tests/api/transforms/test_bucketing.py b/python_legacy/tests/api/transforms/test_bucketing.py
similarity index 100%
rename from python/tests/api/transforms/test_bucketing.py
rename to python_legacy/tests/api/transforms/test_bucketing.py
diff --git a/python/tests/api/transforms/test_dates.py b/python_legacy/tests/api/transforms/test_dates.py
similarity index 100%
rename from python/tests/api/transforms/test_dates.py
rename to python_legacy/tests/api/transforms/test_dates.py
diff --git a/python/tests/api/transforms/test_identity.py b/python_legacy/tests/api/transforms/test_identity.py
similarity index 100%
rename from python/tests/api/transforms/test_identity.py
rename to python_legacy/tests/api/transforms/test_identity.py
diff --git a/python/tests/api/transforms/test_timestamps.py b/python_legacy/tests/api/transforms/test_timestamps.py
similarity index 100%
rename from python/tests/api/transforms/test_timestamps.py
rename to python_legacy/tests/api/transforms/test_timestamps.py
diff --git a/python/tests/api/transforms/test_truncate.py b/python_legacy/tests/api/transforms/test_truncate.py
similarity index 100%
rename from python/tests/api/transforms/test_truncate.py
rename to python_legacy/tests/api/transforms/test_truncate.py
diff --git a/python/tests/api/expressions/__init__.py b/python_legacy/tests/api/types/__init__.py
similarity index 100%
rename from python/tests/api/expressions/__init__.py
rename to python_legacy/tests/api/types/__init__.py
diff --git a/python/tests/api/types/test_binary_comparator.py b/python_legacy/tests/api/types/test_binary_comparator.py
similarity index 100%
rename from python/tests/api/types/test_binary_comparator.py
rename to python_legacy/tests/api/types/test_binary_comparator.py
diff --git a/python/tests/api/types/test_char_seq_comparator.py b/python_legacy/tests/api/types/test_char_seq_comparator.py
similarity index 100%
rename from python/tests/api/types/test_char_seq_comparator.py
rename to python_legacy/tests/api/types/test_char_seq_comparator.py
diff --git a/python/tests/api/types/test_comparable_comparator.py b/python_legacy/tests/api/types/test_comparable_comparator.py
similarity index 100%
rename from python/tests/api/types/test_comparable_comparator.py
rename to python_legacy/tests/api/types/test_comparable_comparator.py
diff --git a/python/tests/api/types/test_readabilty_checks.py b/python_legacy/tests/api/types/test_readabilty_checks.py
similarity index 100%
rename from python/tests/api/types/test_readabilty_checks.py
rename to python_legacy/tests/api/types/test_readabilty_checks.py
diff --git a/python/tests/api/types/test_type_util.py b/python_legacy/tests/api/types/test_type_util.py
similarity index 100%
rename from python/tests/api/types/test_type_util.py
rename to python_legacy/tests/api/types/test_type_util.py
diff --git a/python/tests/api/__init__.py b/python_legacy/tests/core/__init__.py
similarity index 100%
rename from python/tests/api/__init__.py
rename to python_legacy/tests/core/__init__.py
diff --git a/python/tests/__init__.py b/python_legacy/tests/core/avro/__init__.py
similarity index 100%
rename from python/tests/__init__.py
rename to python_legacy/tests/core/avro/__init__.py
diff --git a/python/tests/core/avro/conftest.py b/python_legacy/tests/core/avro/conftest.py
similarity index 100%
rename from python/tests/core/avro/conftest.py
rename to python_legacy/tests/core/avro/conftest.py
diff --git a/python/tests/core/avro/test_avro.py b/python_legacy/tests/core/avro/test_avro.py
similarity index 100%
rename from python/tests/core/avro/test_avro.py
rename to python_legacy/tests/core/avro/test_avro.py
diff --git a/python/tests/core/avro/test_read_projection.py b/python_legacy/tests/core/avro/test_read_projection.py
similarity index 100%
rename from python/tests/core/avro/test_read_projection.py
rename to python_legacy/tests/core/avro/test_read_projection.py
diff --git a/python/tests/core/conftest.py b/python_legacy/tests/core/conftest.py
similarity index 100%
rename from python/tests/core/conftest.py
rename to python_legacy/tests/core/conftest.py
diff --git a/python/tests/core/test_base_table_scan.py b/python_legacy/tests/core/test_base_table_scan.py
similarity index 100%
rename from python/tests/core/test_base_table_scan.py
rename to python_legacy/tests/core/test_base_table_scan.py
diff --git a/python/tests/core/test_filesystem_tables.py b/python_legacy/tests/core/test_filesystem_tables.py
similarity index 100%
rename from python/tests/core/test_filesystem_tables.py
rename to python_legacy/tests/core/test_filesystem_tables.py
diff --git a/python/tests/core/test_partition_spec.py b/python_legacy/tests/core/test_partition_spec.py
similarity index 100%
rename from python/tests/core/test_partition_spec.py
rename to python_legacy/tests/core/test_partition_spec.py
diff --git a/python/tests/core/test_partition_spec_parser.py b/python_legacy/tests/core/test_partition_spec_parser.py
similarity index 100%
rename from python/tests/core/test_partition_spec_parser.py
rename to python_legacy/tests/core/test_partition_spec_parser.py
diff --git a/python/tests/core/test_snapshot_json.py b/python_legacy/tests/core/test_snapshot_json.py
similarity index 100%
rename from python/tests/core/test_snapshot_json.py
rename to python_legacy/tests/core/test_snapshot_json.py
diff --git a/python/tests/core/test_table_metadata_json.py b/python_legacy/tests/core/test_table_metadata_json.py
similarity index 100%
rename from python/tests/core/test_table_metadata_json.py
rename to python_legacy/tests/core/test_table_metadata_json.py
diff --git a/python/tests/core/test_table_metadata_parser.py b/python_legacy/tests/core/test_table_metadata_parser.py
similarity index 100%
rename from python/tests/core/test_table_metadata_parser.py
rename to python_legacy/tests/core/test_table_metadata_parser.py
diff --git a/python/tests/core/utils/__init__.py b/python_legacy/tests/core/utils/__init__.py
similarity index 100%
rename from python/tests/core/utils/__init__.py
rename to python_legacy/tests/core/utils/__init__.py
diff --git a/python/tests/core/utils/test_bin_packing.py b/python_legacy/tests/core/utils/test_bin_packing.py
similarity index 100%
rename from python/tests/core/utils/test_bin_packing.py
rename to python_legacy/tests/core/utils/test_bin_packing.py
diff --git a/python/tests/hive/__init__.py b/python_legacy/tests/hive/__init__.py
similarity index 100%
rename from python/tests/hive/__init__.py
rename to python_legacy/tests/hive/__init__.py
diff --git a/python/tests/hive/conftest.py b/python_legacy/tests/hive/conftest.py
similarity index 100%
rename from python/tests/hive/conftest.py
rename to python_legacy/tests/hive/conftest.py
diff --git a/python/tests/hive/test_hive_tables.py b/python_legacy/tests/hive/test_hive_tables.py
similarity index 100%
rename from python/tests/hive/test_hive_tables.py
rename to python_legacy/tests/hive/test_hive_tables.py
diff --git a/python/iceberg/__init__.py b/python_legacy/tests/parquet/__init__.py
similarity index 100%
rename from python/iceberg/__init__.py
rename to python_legacy/tests/parquet/__init__.py
diff --git a/python/tests/parquet/conftest.py b/python_legacy/tests/parquet/conftest.py
similarity index 100%
rename from python/tests/parquet/conftest.py
rename to python_legacy/tests/parquet/conftest.py
diff --git a/python/tests/parquet/test_dataset_utils.py b/python_legacy/tests/parquet/test_dataset_utils.py
similarity index 100%
rename from python/tests/parquet/test_dataset_utils.py
rename to python_legacy/tests/parquet/test_dataset_utils.py
diff --git a/python/tests/parquet/test_parquet_reader.py b/python_legacy/tests/parquet/test_parquet_reader.py
similarity index 100%
rename from python/tests/parquet/test_parquet_reader.py
rename to python_legacy/tests/parquet/test_parquet_reader.py
diff --git a/python/tests/parquet/test_parquet_to_iceberg.py b/python_legacy/tests/parquet/test_parquet_to_iceberg.py
similarity index 100%
rename from python/tests/parquet/test_parquet_to_iceberg.py
rename to python_legacy/tests/parquet/test_parquet_to_iceberg.py
diff --git a/python/tox.ini b/python_legacy/tox.ini
similarity index 100%
rename from python/tox.ini
rename to python_legacy/tox.ini