You are viewing a plain text version of this content. The canonical link for it is here.
Posted to issues@iceberg.apache.org by GitBox <gi...@apache.org> on 2022/12/01 13:19:43 UTC

[GitHub] [iceberg] Fokko opened a new pull request, #6334: Python: Add warning on projection by name

Fokko opened a new pull request, #6334:
URL: https://github.com/apache/iceberg/pull/6334

   ```python
   ➜  python git:(master) ✗ python3
   Python 3.10.8 (main, Oct 13 2022, 09:48:40) [Clang 14.0.0 (clang-1400.0.29.102)] on darwin
   Type "help", "copyright", "credits" or "license" for more information.
   >>> from pyiceberg.catalog import load_catalog
   >>>
   >>> catalog = load_catalog('local')
   >>>
   >>> table = catalog.load_table(('nyc', 'taxis'))
   >>>
   >>> table.scan().to_arrow()
   /Users/fokkodriesprong/Desktop/iceberg/python/pyiceberg/table/__init__.py:340: UserWarning: Projection is currently done by name instead of column ID, this can lead to incorrect results in some cases.
     warnings.warn(
   pyarrow.Table
   VendorID: int64
   tpep_pickup_datetime: timestamp[us, tz=+00:00]
   tpep_dropoff_datetime: timestamp[us, tz=+00:00]
   passenger_count: double
   trip_distance: double
   RatecodeID: double
   store_and_fwd_flag: string
   PULocationID: int64
   DOLocationID: int64
   payment_type: int64
   fare_amount: double
   extra: double
   mta_tax: double
   tip_amount: double
   tolls_amount: double
   improvement_surcharge: double
   total_amount: double
   congestion_surcharge: double
   airport_fee: double
   ```


-- 
This is an automated message from the Apache Git Service.
To respond to the message, please log on to GitHub and use the
URL above to go to the specific comment.

To unsubscribe, e-mail: issues-unsubscribe@iceberg.apache.org

For queries about this service, please contact Infrastructure at:
users@infra.apache.org


---------------------------------------------------------------------
To unsubscribe, e-mail: issues-unsubscribe@iceberg.apache.org
For additional commands, e-mail: issues-help@iceberg.apache.org


[GitHub] [iceberg] rdblue merged pull request #6334: Python: Add warning on projection by name

Posted by GitBox <gi...@apache.org>.
rdblue merged PR #6334:
URL: https://github.com/apache/iceberg/pull/6334


-- 
This is an automated message from the Apache Git Service.
To respond to the message, please log on to GitHub and use the
URL above to go to the specific comment.

To unsubscribe, e-mail: issues-unsubscribe@iceberg.apache.org

For queries about this service, please contact Infrastructure at:
users@infra.apache.org


---------------------------------------------------------------------
To unsubscribe, e-mail: issues-unsubscribe@iceberg.apache.org
For additional commands, e-mail: issues-help@iceberg.apache.org