You are viewing a plain text version of this content. The canonical link for it is here.
Posted to issues@iceberg.apache.org by "Fokko (via GitHub)" <gi...@apache.org> on 2023/01/24 12:57:46 UTC

[GitHub] [iceberg] Fokko commented on pull request #6590: Python: Add sql command to the CLI

Fokko commented on PR #6590:
URL: https://github.com/apache/iceberg/pull/6590#issuecomment-1401907191

   I tested it locally and it works. Ran into some small issues with the serialization of datetimes:
   ```
   pyiceberg --output json --catalog local sql --table nyc.taxis="tpep_pickup_datetime >= '2021-12-01T00:00:00+00:00'" 'select * from taxis LIMIT 20'
   {"type": "TypeError", "message": "Object of type datetime is not JSON serializable"}
   ```
   
   The only thing I'm not sure about is the complex syntax of the command; I wouldn't be able to do it without an example I'm afraid.


-- 
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