Skip to content

fix(query): base DataFrame pivot advice on response columns - #743

Open
Solarboaters wants to merge 1 commit into
influxdata:masterfrom
Solarboaters:fix/dataframe-pivot-warning
Open

Solarboaters wants to merge 1 commit into
influxdata:masterfrom
Solarboaters:fix/dataframe-pivot-warning

Conversation

@Solarboaters

Copy link
Copy Markdown
Contributor

Fixes #568. Offer pivot advice only when the actual DataFrame response contains _time, _field and _value, so bucket listings, schema queries and empty results no longer receive inapplicable instructions. Thanks @kakila and @chintal for the examples.

Added 24 regressions covering synchronous/asynchronous and streaming queries (16 fail before, all pass after); confirmed the reported cases against disposable InfluxDB 2.7. The full suite passes: 445 tests plus 11 subtests, 3 skipped; docstyle passes. Source lint reports two unchanged E721 findings in generated API clients, also present on the baseline; changed source and the new tests are clean.

  • CHANGELOG updated
  • Regression tests added
  • Full test suite completed
  • Conventional commit; current master base

@codecov-commenter

codecov-commenter commented Dec 4, 2026 •

Copy link
Copy Markdown

⚠️ Please install the 'codecov app svg image' to ensure uploads and comments are reliably processed by Codecov.

Codecov Report

✅ All modified and coverable lines are covered by tests.
✅ Project coverage is 90.81%. Comparing base (354d881) to head (fb28a38).
❗ Your organization needs to install the Codecov GitHub app to enable full functionality.

Additional details and impacted files
@@            Coverage Diff             @@
##           master     #743      +/-   ##
==========================================
- Coverage   90.83%   90.81%   -0.03%     
==========================================
  Files          41       41              
  Lines        3591     3594       +3     
==========================================
+ Hits         3262     3264       +2     
- Misses        329      330       +1     

☔ View full report in Codecov by Harness.
📢 Have feedback on the report? Share it here.

🚀 New features to boost your workflow:
  • ❄️ Test Analytics: Detect flaky tests, report on failures, and find test suite problems.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

Missleading warning in query "buckets()"

2 participants