Pytd

Latest version: v1.7.0

Safety actively analyzes 685838 Python packages for vulnerabilities to keep your Python projects secure.

Scan your dependencies

Page 2 of 3

1.4.2

-------------------

- Presto queries issued by ``pandas_td.read_td_query`` use ``join_distribution_type`` session property instead of the deprecated ``distributed_join`` property. See our `documentation <https://docs.treasuredata.com/display/public/PD/Presto+0.205+to+317+Migration+2020#Presto0.205to317Migration2020-DeprecatedFeatures>`__ for more information about the change. (`100 <https://github.com/treasure-data/pytd/pull/100>`__)

.. note::
pytd does not offer its version 1.4.1 because an unofficial 1.4.1 binary was unexpectedly published to PyPI and deleted immediately; PyPI refuses to re-upload deleted version numbers.

1.4.0

-------------------

- Deprecate (Py)Spark 2.x and Python 3.5 support, and migrate to Spark 3.x and Python 3.8, respectively. ``SparkWriter`` requires running with Spark 3.x from now on. (`94 <https://github.com/treasure-data/pytd/pull/94>`__)

1.3.0

-------------------

- Enable passing extra keyword arguments (e.g., ``fmt="msgpack"``) to ``pandas_td.to_td``. (`80 <https://github.com/treasure-data/pytd/pull/80>`__)
- Support ``engine_version`` option in query APIs. (`81 <https://github.com/treasure-data/pytd/pull/81>`__)
- Add ``force_tdclient`` option to Presto query interfaces for deterministically using ``tdclient`` rather than ``prestodb``. (`85 <https://github.com/treasure-data/pytd/pull/85>`__)
- Add a precondition check to ``Writerwrite_dataframe`` for making sure the type of ``table`` argument. (`86 <https://github.com/treasure-data/pytd/pull/86>`__)
- Documentation updates. (`82 <https://github.com/treasure-data/pytd/pull/82>`__, `#89 <https://github.com/treasure-data/pytd/pull/89>`__)

1.2.0

-------------------

- Support nullable column containing ``pandas.NA``, which was `newly introduced in pandas 1.0.0 <https://pandas.pydata.org/pandas-docs/version/1.0.0/whatsnew/v1.0.0.html#experimental-na-scalar-to-denote-missing-values>`__. The ``Writer`` module internally converts ``pandas.NA`` into ``None`` before ingesting ``pandas.DataFrame`` to Treasure Data. Note that ``Writerwrite_dataframe`` may behave differently between before and after upgrading pandas to 1.0.0 because of the experimental, backward-incompatible updates on the dependent package. (`72 <https://github.com/treasure-data/pytd/pull/72>`__)

1.1.0

-------------------

- Support list-type column in ``BulkImportWriterwrite_dataframe``. A list-type column of ``pandas.DataFrame`` will be stored into Treasure Data table as an array-type column. (`60 <https://github.com/treasure-data/pytd/pull/60>`__)
- Store a resulting object from ``Clientquery`` to ``Client.query_executed``. The object could be a Treasure Data job id if query is executed via ``tdclient``. (`63 <https://github.com/treasure-data/pytd/pull/63>`__)
- Support null value in ``str``, ``bool``, and ``"Int64"``-type column of ``pandas.DataFrame``. (`68 <https://github.com/treasure-data/pytd/pull/68>`__, `#71 <https://github.com/treasure-data/pytd/pull/71>`__)
- Update minimum required pandas version to 0.24.0 (`69 <https://github.com/treasure-data/pytd/pull/69>`__)

1.0.0

-------------------

- Update documentation site. (`49 <https://github.com/treasure-data/pytd/pull/49>`__, `#57 <https://github.com/treasure-data/pytd/pull/57>`__)
- Add Treasure Data API endpoint HTTPS scheme validation. (`51 <https://github.com/treasure-data/pytd/pull/51>`__)
- Support bulk importing with the MessagePack format. (`53 <https://github.com/treasure-data/pytd/pull/53>`__)
- Improve stability of ``BulkImportWriter`` session ID. (`55 <https://github.com/treasure-data/pytd/pull/55>`__)
- Require td-client-python version 1.1.0 or later. (`56 <https://github.com/treasure-data/pytd/pull/56>`__)
- Add ``Clientexists(database, table)`` and ``Clientcreate_database_if_not_exists(database)`` method. (`58 <https://github.com/treasure-data/pytd/pull/58/>`__)

Page 2 of 3

© 2024 Safety CLI Cybersecurity Inc. All Rights Reserved.