File tree Expand file tree Collapse file tree
Expand file tree Collapse file tree Original file line number Diff line number Diff line change @@ -1242,8 +1242,6 @@ pub enum TableFactor {
12421242 lateral : bool ,
12431243 subquery : Box < Query > ,
12441244 alias : Option < TableAlias > ,
1245- /// Optional table sample modifier
1246- sample : Option < TableSampleKind > ,
12471245 } ,
12481246 /// `TABLE(<expr>)[ AS <alias> ]`
12491247 TableFunction {
@@ -1924,7 +1922,6 @@ impl fmt::Display for TableFactor {
19241922 lateral,
19251923 subquery,
19261924 alias,
1927- sample,
19281925 } => {
19291926 if * lateral {
19301927 write ! ( f, "LATERAL " ) ?;
@@ -1937,9 +1934,6 @@ impl fmt::Display for TableFactor {
19371934 if let Some ( alias) = alias {
19381935 write ! ( f, " {alias}" ) ?;
19391936 }
1940- if let Some ( TableSampleKind :: AfterTableAlias ( sample) ) = sample {
1941- write ! ( f, " {sample}" ) ?;
1942- }
19431937 Ok ( ( ) )
19441938 }
19451939 TableFactor :: Function {
You can’t perform that action at this time.
0 commit comments