influxdata / influxdata/influxdb-java

Add TimeUnit to streaming query

Open
#491 2 comments 1 reaction 0 assignees View on GitHub

Nobody has claimed this yet.

kind/enhancement
Dominant language
Java
Stars
1.2k
Forks
469
PR merge metrics
No merged PRs in 30d

Description

It is currently only possible to specify timeUnit as follows:
query(final Query query, TimeUnit timeUnit)

Please could you add timeUnit to all other types of queries? In particular, I would love to see:
query(Query query, int chunkSize, TimeUnit timeUnit, Consumer<QueryResult> consumer)

Thanks!

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 query overload that accepts TimeUnit and the other streaming-query entry points in the Java client. Trace how each overload passes time units through the request, then update the remaining query variants and verify the project’s relevant tests cover the new signatures.

Written by the indexing model from the issue text.

Assessment

Tech stack
java
Domain
api
Issue type
Feature
Difficulty
3/5
Estimated time
1-2 days
Activity status
Stale
Clarity
Mostly clear
Newbie friendliness
38/100

Get new issues in your inbox

A short digest of beginner-friendly GitHub issues.