In #4577, we introduced JSONB conversion logic to enable UDFs on JSONB instead of JSON.
https://github.com/lancedb/lance/blob/a65857a0eada4a5129ec55b28b34a67f81023835/rust/lance/src/dataset/utils.rs#L144-L185
However, this approach feels like a workaround, as we currently lack the capability to modify data types and schema at read or write time. While users see JSON types, all underlying operations still target JSONB.
We need to design or revise this logic to determine the most appropriate long-term solution.
In #4577, we introduced JSONB conversion logic to enable UDFs on JSONB instead of JSON.
https://github.com/lancedb/lance/blob/a65857a0eada4a5129ec55b28b34a67f81023835/rust/lance/src/dataset/utils.rs#L144-L185
However, this approach feels like a workaround, as we currently lack the capability to modify data types and schema at read or write time. While users see JSON types, all underlying operations still target JSONB.
We need to design or revise this logic to determine the most appropriate long-term solution.