leekeiabstraction opened a new issue, #2706:
URL: https://github.com/apache/fluss/issues/2706

   ### Search before asking
   
   - [x] I searched in the [issues](https://github.com/apache/fluss/issues) and 
found nothing similar.
   
   
   ### Fluss version
   
   main (development)
   
   ### Please describe the bug 🐞
   
   When tiering tables with ARRAY<FLOAT> columns to Lance, Fluss always writes 
them as Arrow's variable-length List<Float32>. This prevents Lance's native 
vector search (nearest / ANN index) from working, since Lance requires 
FixedSizeList<Float32>(n) for vector columns.
   
   This seems to be due to LanceArrowUtils.toArrowType(), ArrayType 
unconditionally maps to ArrowType.List.INSTANCE:
   
   ```java
     // 
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?
   
   - [x] I'm willing to submit a PR!


-- 
This is an automated message from the Apache Git Service.
To respond to the message, please log on to GitHub and use the
URL above to go to the specific comment.

To unsubscribe, e-mail: [email protected]

For queries about this service, please contact Infrastructure at:
[email protected]

Reply via email to