Open shouriken opened 1 month ago
cc @felipecrv
This is the case because the names of files in a dataset have to follow a convention to ensure they can be read as a dataset. Maybe you should use directories and files directly to have your own conventions?
The {i}
is how order is imposed in the list of files. The order is needed when reading the dataset files.
Yes, I want to specify the path of target-file directly, write the whole dataset without column-partition to the specified target file. But I don't find a method to finish it, is there any method ready for it? Thx, @felipecrv
@vibhatha knows more about the Java APIs. It looks like filesystem APIs aren't exposed yet in Arrow Java. (?)
Describe the usage question you have. Please include as many useful details as possible.
I use this static method to write a parquet file into fs, I give empty partition array, so it will be in a file; and i give the
baseNameTemplate
arg is "test.parquet" to specify the filename, but it leads to an error:basename_template did not contain '{i}'
.read the cpp jni code and cpp dataset's code, the FileSystemDatasetWriteOptions::basename_template seems not supported to specify the file name without
{i}
.If there is any method to specify the filename when none partition?
Component(s)
Java