Skip to content

docs: clarify get_name behavior with DuckDB and temp views #11476

New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Open
wants to merge 1 commit into
base: main
Choose a base branch
from

Conversation

Mukul2110
Copy link

Description of changes

Issues closed

@@ -140,7 +140,17 @@ def __bool__(self) -> bool:
__nonzero__ = __bool__

def get_name(self):
"""Return the name of this expression."""
"""
Return the (possibly unqualified) name of the table.
Copy link
Member

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

This isn't correct. This get_name() implementation is implement on the base class of scalar, column, and table expressions. Any discussion of tables should be on the corresponding subclass.

Also, the formatting here doesn't follow any of the surrounding docstring formatting.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

2 participants