Search before asking
Fluss version
main (development)
Please describe the bug 🐞
When tiering tables with ARRAY columns to Lance, Fluss always writes them as Arrow's variable-length List. This prevents Lance's native vector search (nearest / ANN index) from working, since Lance requires FixedSizeList(n) for vector columns.
This seems to be due to LanceArrowUtils.toArrowType(), ArrayType unconditionally maps to ArrowType.List.INSTANCE:
// fluss-lake/fluss-lake-lance/src/main/java/org/apache/fluss/lake/lance/utils/LanceArrowUtils.java:140
} else if (dataType instanceof ArrayType) {
return ArrowType.List.INSTANCE;
}
Solution
No response
Are you willing to submit a PR?