influxdata / influxdata/influxdb
Linq Query Take() does not work
Nobody has claimed this yet.
- Dominant language
- Rust
- Stars
- 31.7k
- Forks
- 3.7k
- Avg merge
- 13h 37m
- Merged PRs (30d)
- 8
Description
__Steps to reproduce:__
Code:

__Expected behavior:__
I expected that the take(10) function in line 52 would only give me 10 entries
__Actual behavior:__
Despite the take(10) function, all entries are delivered to me

__Environment info:__
* System info: Windows 10
* InfluxDB version: InfluxDB v2.6.1 build_date: 2022-12-29T15:53:06Z
* InfluxDB Linq: InfluxDB.Client.Linq --version 4.10.0
Contributor guide
First steps
- Read the whole issue, then the project's contributing guide.
- Comment on the issue to say you are picking it up — it saves two people doing the same work.
- Fork the repository and make your change on a branch.
- Open a pull request that references the issue number.
Research direction
Start by reproducing the LINQ query shown in the issue's image with InfluxDB.Client.Linq 4.10.0 against InfluxDB 2.6.1, focusing on the Take(10) call on line 52. Trace how that query is translated and verify the fix by confirming that exactly 10 entries are returned.
Written by the indexing model from the issue text.
Assessment
- Tech stack
- csharp
- Domain
- databases
- Issue type
- Bug
- Difficulty
- 3/5
- Estimated time
- 1-2 days
- Activity status
- Stale
- Clarity
- Needs clarification
- Newbie friendliness
- 35/100