Stefanietry opened a new issue, #8201: URL: https://github.com/apache/paimon/issues/8201
### Search before asking - [x] I searched in the [issues](https://github.com/apache/paimon/issues) and found nothing similar. ### Paimon version ef263a71 ### Compute Engine spark3.2 ### Minimal reproduce step 1. create vector table `CREATE TABLE test_db.test_table(gid BIGINT, sid STRING, embs ARRAY<FLOAT>) PARTITIONED BY (date STRING COMMENT 'date') ROW FORMAT SERDE 'org.apache.paimon.hive.PaimonSerDe' WITH SERDEPROPERTIES ('serialization.format'='1') STORED AS INPUTFORMAT 'org.apache.paimon.hive.mapred.PaimonInputFormat' OUTPUTFORMAT 'org.apache.paimon.hive.mapred.PaimonOutputFormat' TBLPROPERTIES ( 'file.format' = 'parquet', 'vector.file.format'='lance', 'vector-field'='embs', 'field.embs.vector-dim'='4', 'row-tracking.enabled'='true', 'data-evolution.enabled'='true', 'global-index.enabled' = 'true' );` 2.generate vector index `CALL paimon.sys.create_global_index( table=> 'test_db.test_table',partitions=> "date='20260420'",index_column=> 'embs',index_type=> 'lumina-vector-ann',options => 'lumina.index.dimension=4' );` ### What doesn't meet your expectations? Calling the method `org.apache.spark.api.java.JavaSparkContext#parallelize(list: java.util.List[T], numSlices: Int)` of Spark requires ensuring that `numSlices` is a positive integer; otherwise, an exception will occur. <img width="1750" height="638" alt="Image" src="https://github.com/user-attachments/assets/b9ddbe7a-ea4a-4609-b85c-089234ca5b9e" /> ### Anything else? _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]
