-
Notifications
You must be signed in to change notification settings - Fork 273
Open
Labels
bugSomething isn't workingSomething isn't working
Description
Describe the bug
There seems to be an issue with backtick handling in Hive SQL parsing. My code contains backticks which work fine in Hive, but causes errors when being parsed by SQLLineage's frontend.
SQL
Paste the SQL text here. For example:
select `desc` as description
from tTo Reproduce
Note here we refer to SQL provided in prior step as stored in a file named test.sql
from sqllineage.runner import LineageRunner
test_sql_str = """
select 'desc' as description
from t
"""
result = LineageRunner(test_sql_str, dialect="hive")
result.draw()else: whatever other ways to reproduce this bug.
Expected behavior
it shouldbe parsed right.
Python version (available via python --version)
- 3.11
SQLLineage version (available via sqllineage --version):
- 1.4.7
Additional context
I repalce the ` by ', and it works
Metadata
Metadata
Assignees
Labels
bugSomething isn't workingSomething isn't working

