codename-hub / php-parquet

PHP implementation for reading and writing Apache Parquet files/streams
Other
58 stars 8 forks source link

Dependency on outdated packaged/thrift causing potential deprecation issues in PHP 8.1+ #23

Open villfa opened 3 weeks ago

villfa commented 3 weeks ago

Hi,

The codename-hub/php-parquet library currently depends on the packaged/thrift package, which hasn't received any updates in over 3 years. The packaged/thrift library is a mirror of the Apache Thrift project but retains only the PHP components to create a more lightweight Composer package.

The issue arises because packaged/thrift has not incorporated updates that the Apache Thrift project has made to address deprecation warnings and ensure compatibility with recent PHP versions, particularly PHP 8.1 and PHP 8.2. As a result, my project (which depends on codename-hub/php-parquet) is likely to encounter deprecation warnings and compatibility issues when migrating to these PHP versions.

Since there is no alternative package to packaged/thrift and updating the current package will not resolve the problem, this dependency poses a risk for users aiming to use newer versions of PHP.

Please consider updating the codename-hub/php-parquet library to depend on the main Apache Thrift PHP components directly, or explore the possibility of forking and maintaining a more up-to-date version of the packaged/thriftpackage to ensure continued compatibility with PHP 8.1 and above.