Skip to content

Implement canWrite() in HoodieSparkLanceWriter with some configurable max size #17684

@rahil-c

Description

@rahil-c

Task Description

Currently in HoodieSparkLanceWriter, our implementation for canWrite() defaults to the following

  public boolean canWrite() {
    //TODO will need to implement proper way to compute this
    return true;
  }

This task is to track a proper implementation that checks to see if the file has reached some threshold in size and if so should roll over the write to a new file

Task Type

Code improvement/refactoring

Related Issues

Parent feature issue: (if applicable )
Related issues:
NOTE: Use Relationships button to add parent/blocking issues after issue is created.

Metadata

Metadata

Assignees

Labels

type:devtaskDevelopment tasks and maintenance work

Type

No type
No fields configured for issues without a type.

Projects

Status

Done

Milestone

No milestone

Relationships

None yet

Development

No branches or pull requests

Issue actions