You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
Dear InfluxDB Team, I have a bug that I need to report to you.
Steps to reproduce
In the latest version of InfluxDB, if we have an organization named "organization", we can use the Influx client to execute the following commands to create a bucket and write the specified data into that bucket.
Next, we use the Influx v1 shell command to enter the Influx shell backend and execute four types of query statements:
# query 1 success
SELECT t0_f0, t0_tag0 FROM db0.autogen.t0 WHERE (('a') | ('219565529'))
# query 2 success
SELECT t0_f0, t0_tag0 FROM db0.autogen.t0 WHERE ((t0_tag0) | ('219565529')) != TRUE
SELECT t0_f0, t0_tag0 FROM db0.autogen.t0 WHERE ((t0_tag0) | ('219565529')) ^ TRUE
# query 3 success
SELECT t0_f0, t0_tag0 FROM db0.autogen.t0 WHERE ((t0_tag0) | ('219565529')) != FALSE
# query 4 error
SELECT t0_f0, t0_tag0 FROM db0.autogen.t0 WHERE ((t0_tag0) | ('219565529'))
Expected behaviour
When performing a bitwise OR operation on the field t0_tag0, Query 1 cannot retrieve any data, Query 2 can retrieve all the data, and Query 3 cannot retrieve any data. Therefore, Query 4 should not retrieve any data either, as the clause ((t0_tag0) | ('219565529')) returns FALSE.
Actual behaviour
Query 1 and Query 3 return "No Results," while Query 2 can retrieve all the data. However, Query 4 does not meet expectations, as it retrieves all the data. Could this suggest a logical issue with the binary bitwise operator? I would appreciate your insights on this matter.
Environment info
Influx CLI dev (git: none) build_date: 2023-04-28T14:24:14Z
Dear InfluxDB Team, I have a bug that I need to report to you.
Steps to reproduce
In the latest version of InfluxDB, if we have an organization named "organization", we can use the Influx client to execute the following commands to create a bucket and write the specified data into that bucket.
Next, we use the
Influx v1 shell
command to enter the Influx shell backend and execute four types of query statements:Expected behaviour
When performing a bitwise OR operation on the field t0_tag0, Query 1 cannot retrieve any data, Query 2 can retrieve all the data, and Query 3 cannot retrieve any data. Therefore, Query 4 should not retrieve any data either, as the clause
((t0_tag0) | ('219565529'))
returns FALSE.Actual behaviour
Query 1 and Query 3 return "No Results," while Query 2 can retrieve all the data. However, Query 4 does not meet expectations, as it retrieves all the data. Could this suggest a logical issue with the binary bitwise operator? I would appreciate your insights on this matter.
Environment info
Influx CLI dev (git: none) build_date: 2023-04-28T14:24:14Z
InfluxDB OSS v2.7.10 (git: f302d97)
Linux 5.15.0-94-generic x86_64
The text was updated successfully, but these errors were encountered: