mirror of
https://github.com/lancedb/lancedb.git
synced 2026-10-26 13:36:13 +00:00
feat(python): accept large_binary in Function signatures (#4577)
udf() rejected a large_binary input or output, and large_binary nested in a list or struct, outside a Blob v2 payload. It is now a grammar primitive like large_utf8, and the shared type golden lists it.
This commit is contained in:
@@ -90,6 +90,12 @@
|
||||
"type": "binary"
|
||||
}
|
||||
},
|
||||
{
|
||||
"arrow_type": "large_binary",
|
||||
"json": {
|
||||
"type": "large_binary"
|
||||
}
|
||||
},
|
||||
{
|
||||
"arrow_type": "date32",
|
||||
"json": {
|
||||
@@ -192,6 +198,21 @@
|
||||
]
|
||||
}
|
||||
},
|
||||
{
|
||||
"arrow_type": "large_list<large_binary>",
|
||||
"json": {
|
||||
"type": "large_list",
|
||||
"fields": [
|
||||
{
|
||||
"name": "item",
|
||||
"nullable": false,
|
||||
"type": {
|
||||
"type": "large_binary"
|
||||
}
|
||||
}
|
||||
]
|
||||
}
|
||||
},
|
||||
{
|
||||
"arrow_type": "large_list<utf8>",
|
||||
"json": {
|
||||
|
||||
Reference in New Issue
Block a user