Skip to content

Commit 264d875

Browse files
Clarify when SQL dialects quote identifiers
1 parent 439c066 commit 264d875

1 file changed

Lines changed: 3 additions & 3 deletions

File tree

‎python/datafusion/unparser.py‎

Lines changed: 3 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -28,8 +28,8 @@ class Dialect:
2828
"""The SQL dialect an :py:class:`Unparser` writes.
2929
3030
The dialect decides how the generated SQL is spelled - most visibly how
31-
identifiers are quoted - so the same logical plan produces different SQL
32-
text for each dialect.
31+
identifiers are quoted - so the same logical plan can produce different SQL
32+
text depending on the dialect.
3333
"""
3434

3535
def __init__(self, dialect: unparser_internal.Dialect) -> None:
@@ -40,7 +40,7 @@ def __init__(self, dialect: unparser_internal.Dialect) -> None:
4040
def default() -> "Dialect":
4141
"""Create a new default dialect.
4242
43-
This dialect leaves identifiers unquoted.
43+
This dialect quotes identifiers when needed.
4444
4545
Example usage:
4646

0 commit comments

Comments
 (0)