fsprojects / fsprojects/FSharp.AWS.DynamoDB

Feature Request: Add an AsyncSeq overload for ScanAsync

Open
#14 3 comments 0 reactions 0 assignees View on GitHub

Nobody has claimed this yet.

enhancement
Dominant language
F#
Stars
61
Forks
18
Avg merge
7h 27m
Merged PRs (30d)
1

Description

I have a use case where I may need to scan a table for millions of items. I am unable to allocate an array that large. What I really want is to be able to operate on it like a stream. Would you accept a PR adding an overload that returns an AsyncSeq instead of an array? It would require taking a dependency on https://github.com/fsprojects/FSharp.Control.AsyncSeq.

Thank you for all your hard work!

Contributor guide

No contributing guide indexed for this repository

First steps

  1. Read the whole issue, then the project's contributing guide.
  2. Comment on the issue to say you are picking it up — it saves two people doing the same work.
  3. Fork the repository and make your change on a branch.
  4. Open a pull request that references the issue number.

Research direction

Start by locating the existing ScanAsync implementation and the project’s dependency configuration. Review the FSharp.Control.AsyncSeq API and determine how an overload can expose the scan as a stream without allocating the full result. Done means the requested overload exists and its behavior is covered by the project’s tests.

Written by the indexing model from the issue text.

Assessment

Tech stack
aws, fsharp
Domain
databases
Issue type
Feature
Difficulty
4/5
Estimated time
3-5 days
Activity status
Stale
Clarity
Mostly clear
Newbie friendliness
35/100

Get new issues in your inbox

A short digest of beginner-friendly GitHub issues.