You are viewing a plain text version of this content. The canonical link for it is here.
Posted to commits@iceberg.apache.org by bl...@apache.org on 2022/06/20 15:47:47 UTC

[iceberg] branch master updated (a2c0e13e2d -> da63c84399)

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

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


    from a2c0e13e2d Fix type of fields list in Puffin (#5087)
     add da63c84399 Python: Add Avro read path (#4920)

No new revisions were added by this update.

Summary of changes:
 python/.pre-commit-config.yaml                     |   2 +-
 python/LICENSE                                     |  11 +
 python/poetry.lock                                 | 312 ++++++--
 python/pyproject.toml                              |  15 +
 python/spellcheck-dictionary.txt                   |   6 +
 python/src/iceberg/{ => avro}/__init__.py          |   0
 python/src/iceberg/avro/codecs/__init__.py         |  40 +
 python/src/iceberg/avro/codecs/bzip2.py            |  43 ++
 .../src/iceberg/avro/codecs/codec.py               |  17 +-
 .../src/iceberg/avro/codecs/deflate.py             |  26 +-
 python/src/iceberg/avro/codecs/snappy_codec.py     |  69 ++
 python/src/iceberg/avro/codecs/zstandard_codec.py  |  53 ++
 python/src/iceberg/avro/decoder.py                 | 165 +++++
 python/src/iceberg/avro/file.py                    | 181 +++++
 python/src/iceberg/avro/reader.py                  | 316 ++++++++
 python/src/iceberg/files.py                        |   2 +-
 python/src/iceberg/io/base.py                      |  15 +-
 python/src/iceberg/io/memory.py                    |  75 ++
 python/src/iceberg/types.py                        |   2 +-
 python/src/iceberg/utils/datetime.py               |  37 +-
 python/src/iceberg/utils/schema_conversion.py      |  50 +-
 python/src/iceberg/utils/singleton.py              |  13 +
 python/tests/{catalog => avro}/__init__.py         |   0
 python/tests/avro/test_decoder.py                  | 140 ++++
 python/tests/avro/test_file.py                     |  48 ++
 python/tests/avro/test_reader.py                   | 455 ++++++++++++
 python/tests/conftest.py                           | 825 ++++++++++++++++++---
 python/tests/io/__init__.py                        |  23 +-
 python/tests/io/test_io_base.py                    |   2 +-
 python/tests/utils/test_schema_conversion.py       | 110 ++-
 .../tests/utils/test_singleton.py                  |  12 +-
 31 files changed, 2812 insertions(+), 253 deletions(-)
 copy python/src/iceberg/{ => avro}/__init__.py (100%)
 create mode 100644 python/src/iceberg/avro/codecs/__init__.py
 create mode 100644 python/src/iceberg/avro/codecs/bzip2.py
 copy python_legacy/iceberg/core/config_properties.py => python/src/iceberg/avro/codecs/codec.py (71%)
 copy python_legacy/iceberg/api/tables.py => python/src/iceberg/avro/codecs/deflate.py (57%)
 create mode 100644 python/src/iceberg/avro/codecs/snappy_codec.py
 create mode 100644 python/src/iceberg/avro/codecs/zstandard_codec.py
 create mode 100644 python/src/iceberg/avro/decoder.py
 create mode 100644 python/src/iceberg/avro/file.py
 create mode 100644 python/src/iceberg/avro/reader.py
 create mode 100644 python/src/iceberg/io/memory.py
 copy python/tests/{catalog => avro}/__init__.py (100%)
 create mode 100644 python/tests/avro/test_decoder.py
 create mode 100644 python/tests/avro/test_file.py
 create mode 100644 python/tests/avro/test_reader.py
 copy python_legacy/iceberg/api/append_files.py => python/tests/utils/test_singleton.py (71%)