@@ -283,10 +283,12 @@ impl BlockingDataset {
283283 & mut self ,
284284 transaction : Transaction ,
285285 store_params : ObjectStoreParams ,
286+ detached : bool ,
286287 ) -> Result < Self > {
287288 let new_dataset = RT . block_on (
288289 CommitBuilder :: new ( Arc :: new ( self . clone ( ) . inner ) )
289290 . with_store_params ( store_params)
291+ . with_detached ( detached)
290292 . execute ( transaction) ,
291293 ) ?;
292294 Ok ( BlockingDataset { inner : new_dataset } )
@@ -322,13 +324,14 @@ pub extern "system" fn Java_org_lance_Dataset_createWithFfiSchema<'local>(
322324 _obj : JObject ,
323325 arrow_schema_addr : jlong ,
324326 path : JString ,
325- max_rows_per_file : JObject , // Optional<Integer>
326- max_rows_per_group : JObject , // Optional<Integer>
327- max_bytes_per_file : JObject , // Optional<Long>
328- mode : JObject , // Optional<String>
329- enable_stable_row_ids : JObject , // Optional<Boolean>
330- data_storage_version : JObject , // Optional<String>
331- storage_options_obj : JObject , // Map<String, String>
327+ max_rows_per_file : JObject , // Optional<Integer>
328+ max_rows_per_group : JObject , // Optional<Integer>
329+ max_bytes_per_file : JObject , // Optional<Long>
330+ mode : JObject , // Optional<String>
331+ enable_stable_row_ids : JObject , // Optional<Boolean>
332+ data_storage_version : JObject , // Optional<String>
333+ enable_v2_manifest_paths : JObject , // Optional<Boolean>
334+ storage_options_obj : JObject , // Map<String, String>
332335 s3_credentials_refresh_offset_seconds_obj : JObject , // Optional<Long>
333336 initial_bases : JObject ,
334337 target_bases : JObject ,
@@ -345,6 +348,7 @@ pub extern "system" fn Java_org_lance_Dataset_createWithFfiSchema<'local>(
345348 mode,
346349 enable_stable_row_ids,
347350 data_storage_version,
351+ enable_v2_manifest_paths,
348352 storage_options_obj,
349353 s3_credentials_refresh_offset_seconds_obj,
350354 initial_bases,
@@ -358,13 +362,14 @@ fn inner_create_with_ffi_schema<'local>(
358362 env : & mut JNIEnv < ' local > ,
359363 arrow_schema_addr : jlong ,
360364 path : JString ,
361- max_rows_per_file : JObject , // Optional<Integer>
362- max_rows_per_group : JObject , // Optional<Integer>
363- max_bytes_per_file : JObject , // Optional<Long>
364- mode : JObject , // Optional<String>
365- enable_stable_row_ids : JObject , // Optional<Boolean>
366- data_storage_version : JObject , // Optional<String>
367- storage_options_obj : JObject , // Map<String, String>
365+ max_rows_per_file : JObject , // Optional<Integer>
366+ max_rows_per_group : JObject , // Optional<Integer>
367+ max_bytes_per_file : JObject , // Optional<Long>
368+ mode : JObject , // Optional<String>
369+ enable_stable_row_ids : JObject , // Optional<Boolean>
370+ data_storage_version : JObject , // Optional<String>
371+ enable_v2_manifest_paths : JObject , // Optional<Boolean>
372+ storage_options_obj : JObject , // Map<String, String>
368373 s3_credentials_refresh_offset_seconds_obj : JObject , // Optional<Long>
369374 initial_bases : JObject ,
370375 target_bases : JObject ,
@@ -383,6 +388,7 @@ fn inner_create_with_ffi_schema<'local>(
383388 mode,
384389 enable_stable_row_ids,
385390 data_storage_version,
391+ enable_v2_manifest_paths,
386392 storage_options_obj,
387393 JObject :: null ( ) , // No provider for schema-only creation
388394 s3_credentials_refresh_offset_seconds_obj,
@@ -412,13 +418,14 @@ pub extern "system" fn Java_org_lance_Dataset_createWithFfiStream<'local>(
412418 _obj : JObject ,
413419 arrow_array_stream_addr : jlong ,
414420 path : JString ,
415- max_rows_per_file : JObject , // Optional<Integer>
416- max_rows_per_group : JObject , // Optional<Integer>
417- max_bytes_per_file : JObject , // Optional<Long>
418- mode : JObject , // Optional<String>
419- enable_stable_row_ids : JObject , // Optional<Boolean>
420- data_storage_version : JObject , // Optional<String>
421- storage_options_obj : JObject , // Map<String, String>
421+ max_rows_per_file : JObject , // Optional<Integer>
422+ max_rows_per_group : JObject , // Optional<Integer>
423+ max_bytes_per_file : JObject , // Optional<Long>
424+ mode : JObject , // Optional<String>
425+ enable_stable_row_ids : JObject , // Optional<Boolean>
426+ data_storage_version : JObject , // Optional<String>
427+ enable_v2_manifest_paths : JObject , // Optional<Boolean>
428+ storage_options_obj : JObject , // Map<String, String>
422429 s3_credentials_refresh_offset_seconds_obj : JObject , // Optional<Long>
423430 initial_bases : JObject ,
424431 target_bases : JObject ,
@@ -434,6 +441,7 @@ pub extern "system" fn Java_org_lance_Dataset_createWithFfiStream<'local>(
434441 max_bytes_per_file,
435442 mode,
436443 enable_stable_row_ids,
444+ enable_v2_manifest_paths,
437445 data_storage_version,
438446 storage_options_obj,
439447 JObject :: null( ) ,
@@ -456,6 +464,7 @@ pub extern "system" fn Java_org_lance_Dataset_createWithFfiStreamAndProvider<'lo
456464 mode : JObject , // Optional<String>
457465 enable_stable_row_ids : JObject , // Optional<Boolean>
458466 data_storage_version : JObject , // Optional<String>
467+ enable_v2_manifest_paths : JObject , // Optional<Boolean>
459468 storage_options_obj : JObject , // Map<String, String>
460469 storage_options_provider_obj : JObject , // Optional<StorageOptionsProvider>
461470 s3_credentials_refresh_offset_seconds_obj : JObject , // Optional<Long>
@@ -474,6 +483,7 @@ pub extern "system" fn Java_org_lance_Dataset_createWithFfiStreamAndProvider<'lo
474483 mode,
475484 enable_stable_row_ids,
476485 data_storage_version,
486+ enable_v2_manifest_paths,
477487 storage_options_obj,
478488 storage_options_provider_obj,
479489 s3_credentials_refresh_offset_seconds_obj,
@@ -494,6 +504,7 @@ fn inner_create_with_ffi_stream<'local>(
494504 mode : JObject , // Optional<String>
495505 enable_stable_row_ids : JObject , // Optional<Boolean>
496506 data_storage_version : JObject , // Optional<String>
507+ enable_v2_manifest_paths : JObject , // Optional<Boolean>
497508 storage_options_obj : JObject , // Map<String, String>
498509 storage_options_provider_obj : JObject , // Optional<StorageOptionsProvider>
499510 s3_credentials_refresh_offset_seconds_obj : JObject , // Optional<Long>
@@ -511,6 +522,7 @@ fn inner_create_with_ffi_stream<'local>(
511522 mode,
512523 enable_stable_row_ids,
513524 data_storage_version,
525+ enable_v2_manifest_paths,
514526 storage_options_obj,
515527 storage_options_provider_obj,
516528 s3_credentials_refresh_offset_seconds_obj,
@@ -530,6 +542,7 @@ fn create_dataset<'local>(
530542 mode : JObject ,
531543 enable_stable_row_ids : JObject ,
532544 data_storage_version : JObject ,
545+ enable_v2_manifest_paths : JObject ,
533546 storage_options_obj : JObject ,
534547 storage_options_provider_obj : JObject , // Optional<StorageOptionsProvider>
535548 s3_credentials_refresh_offset_seconds_obj : JObject ,
@@ -547,6 +560,7 @@ fn create_dataset<'local>(
547560 & mode,
548561 & enable_stable_row_ids,
549562 & data_storage_version,
563+ Some ( & enable_v2_manifest_paths) ,
550564 & storage_options_obj,
551565 & storage_options_provider_obj,
552566 & s3_credentials_refresh_offset_seconds_obj,
0 commit comments