Skip to content

Add function to compute bulk load plan for file when splits are not known. #5971

@keith-turner

Description

@keith-turner

Is your feature request related to a problem? Please describe.

When table splits are not known for a file that will be bulk imported it would be useful to have a function to compute a load plan for the file. Currently their is no easy way to do this in the public API.

Describe the solution you'd like

Offer a function like LoadPlan LoadPlan.compute(URI file) similar to this function that computes a load plan based on the files first and last row. This return a load plan with a range type of FILE.

Describe alternatives you've considered

If the RFile public API offered an efficient way to get the last key in the file, this would provide another way to accomplish creating the load plan for this case.

Metadata

Metadata

Assignees

Labels

enhancementThis issue describes a new feature, improvement, or optimization.

Type

No type

Projects

No projects

Milestone

No milestone

Relationships

None yet

Development

No branches or pull requests

Issue actions