wotchin / AnDB

Pure AI-Native database (AnDB) management system for educational/ researchful purpose.
Apache License 2.0
1 stars 0 forks source link

BUGs #4

Open wotchin opened 2 weeks ago

wotchin commented 2 weeks ago

some use case need to be fixed:

1

select t1.a from t1; +------+------+ | t1.a | t1.b | +------+------+ | 1 | None | | 2 | None | +------+------+

2

andb> >? explain select a from t1 group by t1.a; +---------------------------------------+------------------------------------------------------------------------+ | logical plan | physical plan | +---------------------------------------+------------------------------------------------------------------------+ | -> Query | -> Query | | | startup_cost: 0, total_cost: 0 | | -> Scan | -> TableScan | | table_name: t1, condition: None | table_name: t1, table_oid: 10000, startup_cost: 0, total_cost: 0 | +---------------------------------------+------------------------------------------------------------------------+ Effect Rows: 0

3 扫描结果物化 TableScan

andb> >? explain select * from t1, t1; +---------------------------------------------------+--------------------------------------------------------------------------------------+ | logical plan | physical plan | +---------------------------------------------------+--------------------------------------------------------------------------------------+ | -> Query | -> Query | | | startup_cost: 0, total_cost: 0 | | -> Join | -> NestedLoopJoin | | join_condition: None, join_type: CROSS JOIN | join_type: CROSS JOIN, condition: Filter: None, startup_cost: 0, total_cost: 0 | | -> Scan | -> TableScan | | table_name: t1, condition: None | table_name: t1, table_oid: 10000, startup_cost: 0, total_cost: 0 | | -> Scan | -> TableScan | | table_name: t1, condition: None | table_name: t1, table_oid: 10000, startup_cost: 0, total_cost: 0 | +---------------------------------------------------+--------------------------------------------------------------------------------------+

似乎Scan没有投影,全都扫描上来了?

4 无法扫描系统表

select * from andb_class;

wotchin commented 2 days ago

核心场景:1. NIPS有哪些提升 2. 聚焦洞察场景

wotchin commented 14 hours ago

测试用例没有完全通过