Skip to content

[Bug]: GoogleSheet adapter waste resource by doing duplicated loop over row data #2221

@stloyd

Description

@stloyd

What happened?

Right now, GoogleSheetExtractor does two loops and count() on the rows for every fetch of the spreadsheet cell range.

How to reproduce?

Run from_google_sheet() extractor on spreadsheet with over 10k rows.

Playground snippet

No response

Data required to reproduce bug locally

If the bug requires specific data, provide it here:

  • PHP array
  • CSV
  • JSON
  • Other format if bug is format-specific

Version

0.30+

Relevant error output

n/a

Metadata

Metadata

Assignees

Labels

Type

No type

Projects

Status

Done

Milestone

Relationships

None yet

Development

No branches or pull requests

Issue actions