(c schema.Column)
| 38 | } |
| 39 | |
| 40 | func duckDBListColumn(c schema.Column) bool { |
| 41 | // Maps also implement arrow.ListLikeType but map to DuckDB json, not a LIST. |
| 42 | if _, isMap := c.Type.(*arrow.MapType); isMap { |
| 43 | return false |
| 44 | } |
| 45 | _, ok := c.Type.(arrow.ListLikeType) |
| 46 | return ok |
| 47 | } |
| 48 | |
| 49 | // keyListColumn reports whether a column is part of a key (primary key or unique |
| 50 | // constraint) and maps to a duckdb LIST type, which can't be indexed. |
no outgoing calls