wseaton opened a new pull request, #55:
URL: https://github.com/apache/arrow-datafusion-python/pull/55
Related to #22
With this function added I can now:
```python
ctx = datafusion.SessionContext()
ctx.register_object_store("s3://{bucket})
ctx.register_parquet("table_name",
"s3://{bucket}/{dataset}/created_year=2022/created_month=9/created_day=19/",
[], True, ".parquet")
df = ctx.sql("""
SELECT
first,
second,
sum(third)
FROM table_name
group by
first, second, third
LIMIT 20000
"""
)
df.show()
<data prints>
```
I'm currently unable to test the `gcp` integration, may need some help there.
--
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: [email protected]
For queries about this service, please contact Infrastructure at:
[email protected]