Skip to content

Commit 07e61f7

Browse files
committed
save
1 parent b12fa42 commit 07e61f7

File tree

3 files changed

+471
-69
lines changed

3 files changed

+471
-69
lines changed

pgdog/src/frontend/router/parser/mod.rs

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -59,7 +59,7 @@ pub use rewrite_engine::RewriteEngine;
5959
pub use rewrite_plan::{HelperKind, HelperMapping, QueryRewriter, RewriteOutput, RewritePlan};
6060
pub use route::{Route, Shard};
6161
pub use schema::Schema;
62-
pub use select::SelectParser;
62+
pub use select::StatementParser;
6363
pub use sequence::{OwnedSequence, Sequence};
6464
pub use table::{OwnedTable, Table};
6565
pub use tuple::Tuple;

pgdog/src/frontend/router/parser/query/select.rs

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -41,7 +41,7 @@ impl QueryParser {
4141

4242
let mut shards = HashSet::new();
4343

44-
let shard = SelectParser::new(
44+
let shard = StatementParser::from_select(
4545
stmt,
4646
context.router_context.bind,
4747
&context.sharding_schema,

0 commit comments

Comments
 (0)