Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

warnings returned when using example program on https://influxdb-client.readthedocs.io/en/latest/ #633

Open
schaefer01 opened this issue Jan 19, 2024 · 0 comments
Labels
bug Something isn't working

Comments

@schaefer01
Copy link

Specifications

  • Client Version: '1.39.0'
  • InfluxDB Version: v2.7.4
  • Platform: 20.04.6 LTS

Code sample to reproduce problem

see https://influxdb-client.readthedocs.io/en/latest/ at "Getting Started"

Expected behavior

I expected no warnings

Actual behavior

/home/ubuntu/radioconda/lib/python3.10/site-packages/influxdb_client/client/flux_csv_parser.py:334: UserWarning: The response contains columns with duplicated names: '['', 'result', 'table', '_start', '_stop', '_time', '_value', '_field', '_measurement', 'org', 'result']'.

You should use the 'record.row' to access your data instead of 'record.values' dictionary.

warnings.warn(message, UserWarning)
The response contains columns with duplicated names: '['', 'result', 'table', '_start', '_stop', '_time', '_value', '_field', '_measurement', 'org', 'result']'.

You should use the 'record.row' to access your data instead of 'record.values' dictionary

Additional info

No response

@schaefer01 schaefer01 added the bug Something isn't working label Jan 19, 2024
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
bug Something isn't working
Projects
None yet
Development

No branches or pull requests

1 participant