- static lance.LanceFragment.create_from_file(filename: str, dataset: LanceDataset, fragment_id: int) FragmentMetadata
Create a fragment from the given datafile uri.
This can be used if the datafile is loss from dataset.
Warning
Internal API. This method is not intended to be used by end users.
- Parameters:
- filename : str¶
The filename of the datafile.
- dataset : LanceDataset¶
The dataset that the fragment belongs to.
- fragment_id : int¶
The ID of the fragment.