zzg19950727

Results 4 issues of zzg19950727

**Enhancement** 截至4.2.2版本,还未支持的MySQL其他类别表达式(MASTER_POS_WAIT),实现该语法,不实现MySQL原生表达式的执行语义。 --- **Enhancement** As of version 4.2.2, other types of MySQL expressions (MASTER_POS_WAIT) that are not supported yet implement this syntax and do not implement the execution semantics of...

type: enhancement

**Enhancement** select * from t1 where c1 in (1,2,3) and c1 in (1,2,3); 对于这种查询,优化器估行的行数为:table_rows * (3.0/ NDV(c1)) * (3.0 / NDV(c1)) 对于这种过滤条件,优化器依然使用的是独立模型计算的选择率,但是对于这种简单的场景,可以识别出来是强相关的,使用强相关模型计算选择率,即: table_rows * min{ (3.0/ NDV(c1)) , (3.0 /...

type: enhancement

**Enhancement** OceanBase目前还不支持load_file表达式,这个表达式的功能是读取指定文件的数据作为表达式计算的输入数据。 原生mysql支持该功能,有些mysql迁移业务也使用过该表达式,需要实现该表达式功能。 使用语法: select load_file('/test_file.path'); --- **Enhancement** OceanBase currently does not support the load_file expression. The function of this expression is to read the data of the specified file...

type: enhancement

**Enhancement** ``` select * from t1 where c1 in (select t2.c1 from t2) and c1 in (select t2.c1 from t2, t3 where t2.c2 = t3.c2; ``` 可以做子查询合并改写 ``` select *...

type: enhancement