Skip to content

Instantly share code, notes, and snippets.

@amoeba
Created February 3, 2025 19:17
Show Gist options
  • Save amoeba/f2b2bec456cd59a63bab5f5cf4e16e03 to your computer and use it in GitHub Desktop.
Save amoeba/f2b2bec456cd59a63bab5f5cf4e16e03 to your computer and use it in GitHub Desktop.
{
"relations": [
{
"root": {
"input": {
"project": {
"input": {
"read": {
"baseSchema": {
"names": [
"species",
"island",
"bill_length_mm",
"bill_depth_mm",
"flipper_length_mm",
"body_mass_g",
"sex",
"year"
],
"struct": {
"types": [
{
"string": {
"nullability": "NULLABILITY_NULLABLE"
}
},
{
"string": {
"nullability": "NULLABILITY_NULLABLE"
}
},
{
"fp64": {
"nullability": "NULLABILITY_NULLABLE"
}
},
{
"fp64": {
"nullability": "NULLABILITY_NULLABLE"
}
},
{
"i32": {
"nullability": "NULLABILITY_NULLABLE"
}
},
{
"i32": {
"nullability": "NULLABILITY_NULLABLE"
}
},
{
"string": {
"nullability": "NULLABILITY_NULLABLE"
}
},
{
"i32": {
"nullability": "NULLABILITY_NULLABLE"
}
}
],
"nullability": "NULLABILITY_REQUIRED"
}
},
"projection": {
"select": {
"structItems": [
{
"field": 0
}
]
},
"maintainSingularStruct": true
},
"namedTable": {
"names": [
"penguins"
]
}
}
},
"expressions": [
{
"selection": {
"directReference": {
"structField": {}
},
"rootReference": {}
}
}
]
}
},
"names": [
"island"
]
}
}
],
"version": {
"minorNumber": 53,
"producer": "DuckDB"
}
}
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment