Skip to content

[Proposal]: Introduce schema support into Google Sheet adapter #1861

@stloyd

Description

@stloyd

Describe the Proposal

Right now Google Sheet adaptor doesn't allow to past Schema into the entry factory for every passed row, which can have quite big performance implications when reading bigger amounts of data.

API Adjustments

Add to the GoogleSheetExtractor:

    public function withSchema(Schema $schema) : self
    {
        $this->schema = $schema;

        return $this;
    }

So it can be passed further to array_to_rows()

Are you intenting to also work on proposed change?

Yes

Are you interested in sponsoring this change?

None

Integration & Dependencies

No response

Metadata

Metadata

Assignees

Labels

No labels
No labels

Type

Projects

Status

Done

Milestone

Relationships

None yet

Development

No branches or pull requests

Issue actions