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

参数比较包含隐式转换有问题 #151

Closed
saigu opened this issue Dec 6, 2018 · 1 comment
Closed

参数比较包含隐式转换有问题 #151

saigu opened this issue Dec 6, 2018 · 1 comment
Labels
bug Something isn't working

Comments

@saigu
Copy link

saigu commented Dec 6, 2018

Please answer these questions before submitting your issue. Thanks!

  1. What did you do?
    分析select * from A where deleted = 1 limit 100
    deleted 为bit(1)

  2. What did you expect to see?
    能走索引

  3. What did you see instead?
    分析报告给出 参数包含隐式转换,无法使用索引
    Item: ARG.003
    Severity: L4
    Content: brandgood.deleted definition is bit(1) not int

  4. What version of are you using (soar -version)?
    0.10.0

@martianzhang martianzhang added the bug Something isn't working label Dec 6, 2018
@martianzhang
Copy link
Contributor

SELECT * FROM sakila.film WHERE rental_rate > 1

also need fix DECIMAL compare with INTEGER

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

2 participants