Skip to content

Commit

Permalink
clean up
Browse files Browse the repository at this point in the history
  • Loading branch information
rubytobi authored and reata committed Jan 31, 2025

Verified

This commit was created on GitHub.com and signed with GitHub’s verified signature.
1 parent 1496930 commit 8c52ec2
Showing 1 changed file with 0 additions and 6 deletions.
6 changes: 0 additions & 6 deletions sqllineage/core/parser/sqlfluff/models.py
Original file line number Diff line number Diff line change
@@ -223,12 +223,6 @@ def _get_column_and_alias(
columns = []
sub_segments = list_child_segments(segment, check_bracketed)
for sub_segment in sub_segments:
# if sub_segment.type == "function":
# function_content = sub_segment.segments[1]
# for child in list_child_segments(function_content.segments[0]):
# res, alias = SqlFluffColumn._get_column_and_alias(child)
# columns += res if res else []
# el
if sub_segment.type == "alias_expression":
alias = extract_identifier(sub_segment)
elif sub_segment.type in SOURCE_COLUMN_SEGMENT_TYPE or is_wildcard(

0 comments on commit 8c52ec2

Please sign in to comment.