Ibis Skytether
A project, forked from ibis-substrait, that uses Ibis to create query plans using Substrait.
This fork is for myself to iterate a bit quicker while still developing with appropriate packages.
Usage
>>> import ibis
>>> t = ibis.table(
[("a", "string"), ("b", "float"), ("c", "int32"), ("d", "int64"), ("e", "int64")],
"t",
)
>>> expr = t.group_by(["a", "b"]).aggregate([t.c.sum().name("sum")]).select("b", "sum")
>>> expr
r0 := UnboundTable: t
a string
b float64
c int32
d int64
e int64
r1 := Aggregation[r0]
metrics:
sum: Sum(r0.c)
by:
a: r0.a
b: r0.b
Selection[r1]
selections:
b: r1.b
sum: r1.sum
>>> from ibis_substrait.compiler.core import SubstraitCompiler
>>> compiler = SubstraitCompiler()
>>> proto = compiler.compile(expr)
Metadata
Release files for ibis-skytether 0.1.1
For a detailed explanation of source distributions (sdists) and built distributions (wheels), please see the package formats documentation.
Source distribution (sdist)
| File | Size | Uploaded | |
|---|---|---|---|
| ibis_skytether-0.1.1.tar.gz | 101.0 kB | Details |
Built distribution (wheel)
| File | Interpreter | ABI | Platform | Reset |
|---|---|---|---|---|
| ibis_skytether-0.1.1-py3-none-any.whl | Python 3 | none | any | Details |
Total release size: 222.5 kB
Release files / ibis_skytether-0.1.1.tar.gz
| Download URL | ibis_skytether-0.1.1.tar.gz |
|---|---|
| Size | 101.0 kB |
| Tags | Source |
|
SHA-256 checksum How to use checksums |
ef387f513159b447fa45d4ac713a555e5c1a22e313e6789abb8de9a99cea1543
|
|
BLAKE2b-256 checksum How to use checksums |
04d571523fd243744d3607292b80f69d72dc1b9b990716b0aa5674ba53d870b1
|
| Upload date | |
|
Uploaded using Trusted Publishing? What is trusted publishing? |
No |
| Uploaded via |
uv/0.5.30
|
Release files / ibis_skytether-0.1.1-py3-none-any.whl
| Download URL | ibis_skytether-0.1.1-py3-none-any.whl |
|---|---|
| Size | 121.6 kB |
| Tags | Python 3 |
|
SHA-256 checksum How to use checksums |
d57e7415d4a7602ff075f3a23b18460e8d681668d3d65233d970454579d706d8
|
|
BLAKE2b-256 checksum How to use checksums |
0feef18ce9c34869df2b3c50bfb6c84d1ef79b3f16d1da2e05cfedf32970678a
|
| Upload date | |
|
Uploaded using Trusted Publishing? What is trusted publishing? |
No |
| Uploaded via |
uv/0.5.30
|