Skip to content

FetchMany(number of rows) ignores batch size when table contains an LOB #345

@dlevy-msft-sql

Description

@dlevy-msft-sql

Describe the bug

FetchMany(number of rows) ignores batch size when table contains an LOB

If you are seeing an exception, include the full exceptions details (message and stack trace).

Exception message:
Stack trace:

To reproduce

Do an executemany(1) on a table that has an lob column and more than 1 row

Expected behavior

The requested number of rows would be returned

Further technical details

Python version: any
SQL Server version: (e.g. SQL Server 2022) any
Operating system: (e.g. Windows Server 2022, Ubuntu 24.04, macOS 14.7.1, Docker container) any

Additional context
Add any other context about the problem here.

Metadata

Metadata

Labels

bugSomething isn't workingpr-size: smallMinimal code updatetriage doneIssues that are triaged by dev team and are in investigation.under development

Type

Projects

No projects

Milestone

No milestone

Relationships

None yet

Development

No branches or pull requests

Issue actions