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

The error message is abnormal #25456

Open
LingweiKuang opened this issue Oct 11, 2024 · 0 comments
Open

The error message is abnormal #25456

LingweiKuang opened this issue Oct 11, 2024 · 0 comments

Comments

@LingweiKuang
Copy link

LingweiKuang commented Oct 11, 2024

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.

influx bucket delete --name db0
influx bucket create --name db0 --org organization

influx write \
  --bucket db0 \
  --precision s "
t0,t0_tag0=initTag t0_f0=0u 1641024000
t0,t0_tag0=initTag t0_f0=1u 1641024001
t0,t0_tag1=initTag t0_f0=0u 1641024000"

Next, we use the Influx v1 shell command to enter the Influx shell backend and execute the following query statements:

# query
SELECT t0_f0::integer, t0_tag0::string FROM db0.autogen.t0 WHERE ((t0_f0::integer) OR (t0_tag0))

Expected behaviour

It reports the error: "invalid condition expression" and then exits.

Actual behaviour

It reports the error: "Error: invalid condition expression: t0_f0::integer", but does not exit. Instead, it continues by reporting "No results" as the query result. Could this issue be caused by the system not promptly throwing an exception during the execution of the query statement? I would appreciate your clarification on this.

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

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

No branches or pull requests

1 participant