diff --git a/agenda.md b/agenda.md index 56b41e8..94bdb1b 100644 --- a/agenda.md +++ b/agenda.md @@ -6,7 +6,7 @@ Today we are going to: - [ ] rewrite logical plan to have full qualified names for tables - - [ ] implement Catalog API + - [x] implement Catalog API - [ ] try to write THE SIMPLEST optimizer in the world - [ ] FilterRow - [ ] execute first plan ?* diff --git a/src/catalog/mod.rs b/src/catalog/mod.rs index d2fa50c..a08d828 100644 --- a/src/catalog/mod.rs +++ b/src/catalog/mod.rs @@ -1,3 +1,4 @@ +#![allow(dead_code)] use std::collections::HashMap; pub struct Catalog { diff --git a/src/optimizer/mod.rs b/src/optimizer/mod.rs index 8bf4118..36ff74c 100644 --- a/src/optimizer/mod.rs +++ b/src/optimizer/mod.rs @@ -1,3 +1,5 @@ +#![allow(dead_code)] + use core::panic; use crate::{ diff --git a/src/parser/mod.rs b/src/parser/mod.rs index 6f0eab3..cb5afbc 100644 --- a/src/parser/mod.rs +++ b/src/parser/mod.rs @@ -414,7 +414,7 @@ impl<'a> Parser<'a> { } } - fn postfix_operator_bp(op: &Op) -> Option<(u8, ())> { + fn postfix_operator_bp(_op: &Op) -> Option<(u8, ())> { None }