File tree Expand file tree Collapse file tree 5 files changed +8
-8
lines changed Expand file tree Collapse file tree 5 files changed +8
-8
lines changed Original file line number Diff line number Diff line change @@ -724,7 +724,7 @@ pub struct AnalyzeTableStmt {
724724 pub catalog : Option < Identifier > ,
725725 pub database : Option < Identifier > ,
726726 pub table : Identifier ,
727- pub full : bool ,
727+ pub no_scan : bool ,
728728}
729729
730730impl Display for AnalyzeTableStmt {
@@ -737,8 +737,8 @@ impl Display for AnalyzeTableStmt {
737737 . chain ( & self . database )
738738 . chain ( Some ( & self . table ) ) ,
739739 ) ?;
740- if self . full {
741- write ! ( f, " FULL " ) ?;
740+ if self . no_scan {
741+ write ! ( f, " NOSCAN " ) ?;
742742 }
743743
744744 Ok ( ( ) )
Original file line number Diff line number Diff line change @@ -1176,7 +1176,7 @@ pub fn statement_body(i: Input) -> IResult<Statement> {
11761176 catalog,
11771177 database,
11781178 table,
1179- full : no_scan. is_none ( ) ,
1179+ no_scan : no_scan. is_some ( ) ,
11801180 } )
11811181 } ,
11821182 ) ;
Original file line number Diff line number Diff line change @@ -114,7 +114,7 @@ impl Interpreter for AnalyzeTableInterpreter {
114114 return Ok ( PipelineBuildResult :: create ( ) ) ;
115115 } ;
116116
117- if ! self . plan . full {
117+ if self . plan . no_scan {
118118 let operator = table. get_operator ( ) ;
119119 let cluster_key_id = table. cluster_key_id ( ) ;
120120 let mut mutator =
Original file line number Diff line number Diff line change @@ -1386,7 +1386,7 @@ impl Binder {
13861386 catalog,
13871387 database,
13881388 table,
1389- full ,
1389+ no_scan ,
13901390 } = stmt;
13911391
13921392 let ( catalog, database, table) =
@@ -1396,7 +1396,7 @@ impl Binder {
13961396 catalog,
13971397 database,
13981398 table,
1399- full : * full ,
1399+ no_scan : * no_scan ,
14001400 } ) ) )
14011401 }
14021402
Original file line number Diff line number Diff line change @@ -205,7 +205,7 @@ pub struct AnalyzeTablePlan {
205205 pub catalog : String ,
206206 pub database : String ,
207207 pub table : String ,
208- pub full : bool ,
208+ pub no_scan : bool ,
209209}
210210
211211impl AnalyzeTablePlan {
You can’t perform that action at this time.
0 commit comments