-
Notifications
You must be signed in to change notification settings - Fork 4
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
Tags are set to PointValues.fields when query with time() function #97
Comments
Hello @bianbian, Thank you for using our client and taking the time to report the issue you've encountered. After a preliminary investigation, it appears that the issue stems from incorrect metadata reporting by the InfluxDB server. To help you continue your work without interruption, we suggest using a simplified query as a temporary solution. Here's an adjusted query that should work for your needs: select time, amount as amount, component, site_id from energy where site_id = 'test-251' This query modification sidesteps the problem by explicitly structuring the data selection, hopefully mitigating the issue at hand. Rest assured, I will be contacting our server team to look into this matter and find a more permanent resolution. I aim to keep you updated with our progress and will reach out to you as soon as we have a clearer understanding or a fix for the issue. Regards. |
Hi Bednar, Thanks for your investigation and prompt reply. Looking forward for your future result with your server team. |
Hi @brerenat, could you be a bit more specific about that tags are returned in the tag property? |
@bianbian, the latest version of InfluxDB Serverless correctly propagates column types. Could you please test your queries with the latest version of the client? Thanks! |
Specifications
We have following schema:
Steps to reproduce:
time()
functioninfluxDBClient.queryPoints(query, QueryOptions.INFLUX_QL)
Code sample to reproduce problem
Expected behavior
Measurement is set to
PointValues.name
Tag: component, site_id are set to
PointValues.tags
Fields: amount is set to
PointValues.fields
time is set to
PointValues.time
Actual behavior
Measurement is set to
PointValues.name
Tags: component, site_id are set to
PointValues.fields
, tags are set to wrong placeFields: amount is set to
PointValues.fields
time is set to
PointValues.time
Additional info
No response
The text was updated successfully, but these errors were encountered: