XiaoMi / soar

SQL Optimizer And Rewriter
Apache License 2.0
8.67k stars 1.32k forks source link

为啥没有数据类型检查 #87

Closed katechun closed 5 years ago

katechun commented 5 years ago

Please search the existing issues for relevant feature requests, add upvotes to pre-existing requests.

Feature Description

create table tab1(uid int,name varchar(15));

A written overview of the feature. select * from tab1 where uid in (213,'486');

Use Case(s)

这样的数据类型不一致,检查不出来 Any relevant use-cases that you see.

martianzhang commented 5 years ago

隐式数据类型转换相关代码目前未支持这种类型的检查。在计划中。

in (213,'486')