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

arithmetic operators dont support where condition include string #524

Closed
huhongbo opened this issue May 9, 2014 · 5 comments
Closed

arithmetic operators dont support where condition include string #524

huhongbo opened this issue May 9, 2014 · 5 comments
Milestone

Comments

@huhongbo
Copy link

huhongbo commented May 9, 2014

select net/10 from sysmon where time > now() -1m
is working
but
select net/10 from sysmon where time > now() -1m and hostname='demo' no result
and select net/10 from sysmon where hostname='demo' no result

@huhongbo huhongbo changed the title arithmetic operators dont support where condition arithmetic operators dont support where condition include string May 12, 2014
@huhongbo
Copy link
Author

I 'd like to know this is bug or not support ?
thx
in the mail list paul said this looks like a bug.

@huhongbo
Copy link
Author

I check the log
[2014/05/15 21:30:03 CST] EROR Error in arithmetic computation: Invalid column name net
[2014/05/15 21:30:03 CST] EROR Invalid column name net

@jvshahid
Copy link
Contributor

it's definitely a bug, we'll work on a fix in the next release

@jvshahid jvshahid added this to the Next release milestone May 15, 2014
@huhongbo
Copy link
Author

got it .thx

@jvshahid
Copy link
Contributor

This is also true for join queries, e.g. select a.a / b.a from a inner join b where b.a <> 0 return unknown column a.a

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

2 participants