influxdb-client-java icon indicating copy to clipboard operation
influxdb-client-java copied to clipboard

fix: append `task option` at the end of script

Open bednar opened this issue 3 years ago • 1 comments
trafficstars

Related to https://github.com/influxdata/influxdb-client-python/issues/490

Proposed Changes

Append task option at the end of script. It allows create task with following Flux:

procTotal = from(bucket: "example-bucket")
    |> range(start: -5m)
    |> filter(fn: (r) => r._measurement == "processes" and r._field == "total")

procTotal

Checklist

  • [x] CHANGELOG.md updated
  • [x] Rebased/mergeable
  • [x] A test has been added if appropriate
  • [x] mvn test completes successfully
  • [x] Commit messages are conventional
  • [x] Sign CLA (if not already signed)

bednar avatar Aug 15 '22 07:08 bednar

Codecov Report

Merging #398 (46cd511) into master (7af2be8) will decrease coverage by 0.00%. The diff coverage is 100.00%.

@@             Coverage Diff              @@
##             master     #398      +/-   ##
============================================
- Coverage     88.22%   88.22%   -0.01%     
  Complexity      775      775              
============================================
  Files           172      172              
  Lines          6990     6987       -3     
  Branches        375      375              
============================================
- Hits           6167     6164       -3     
  Misses          712      712              
  Partials        111      111              
Impacted Files Coverage Δ
...ava/com/influxdb/client/internal/TasksApiImpl.java 84.32% <100.00%> (-0.20%) :arrow_down:

Help us with your feedback. Take ten seconds to tell us how you rate us. Have a feature suggestion? Share it here.

codecov-commenter avatar Aug 15 '22 07:08 codecov-commenter