Skip to content

Commit 40321ce

Browse files
committed
Removed unnecessary comments
1 parent ed4cb05 commit 40321ce

File tree

3 files changed

+0
-4
lines changed

3 files changed

+0
-4
lines changed

src/dialect/snowflake.rs

Lines changed: 0 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -1127,8 +1127,6 @@ fn parse_column_tags(parser: &mut Parser, with: bool) -> Result<TagsColumnOption
11271127
/// Parse snowflake show objects.
11281128
/// <https://docs.snowflake.com/en/sql-reference/sql/show-objects>
11291129
fn parse_show_objects(terse: bool, parser: &mut Parser) -> Result<Statement, ParserError> {
1130-
//TODO: Copy some functionality of parse_show_stmt_options() into another function,
1131-
// since it has more statemtns that we sholdun'ts support
11321130
let show_options = parser.parse_show_stmt_options()?;
11331131
Ok(
11341132
Statement::ShowObjects {

src/parser/mod.rs

Lines changed: 0 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -13671,7 +13671,6 @@ impl<'a> Parser<'a> {
1367113671
false
1367213672
}
1367313673

13674-
//Made this public to be able to parse it in Snowflake dialect for ShowObjects statement
1367513674
pub fn parse_show_stmt_options(&mut self) -> Result<ShowStatementOptions, ParserError> {
1367613675
let show_in;
1367713676
let mut filter_position = None;

tests/sqlparser_snowflake.rs

Lines changed: 0 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -2957,7 +2957,6 @@ fn test_parse_show_schemas() {
29572957

29582958
#[test]
29592959
fn test_parse_show_objects() {
2960-
//Only happy path for now
29612960
snowflake().verified_stmt("SHOW OBJECTS");
29622961
snowflake().verified_stmt("SHOW OBJECTS IN abc");
29632962
snowflake().verified_stmt("SHOW OBJECTS LIKE '%test%' IN abc");

0 commit comments

Comments
 (0)