zhutong6688 commented on code in PR #32310: URL: https://github.com/apache/superset/pull/32310#discussion_r1962042457
########## superset/sql/parse.py: ########## @@ -124,6 +124,21 @@ def __str__(self) -> str: def __eq__(self, other: Any) -> bool: return str(self) == str(other) +@dataclass(eq=True, frozen=True) +class Partition: + ispartitioned_table: bool + partition_column: list | None = None + def __str__(self) -> str: + """ + Return the partition columns of table name. Review Comment: You're right, I'll add an example later -- This is an automated message from the Apache Git Service. To respond to the message, please log on to GitHub and use the URL above to go to the specific comment. To unsubscribe, e-mail: notifications-unsubscr...@superset.apache.org For queries about this service, please contact Infrastructure at: us...@infra.apache.org --------------------------------------------------------------------- To unsubscribe, e-mail: notifications-unsubscr...@superset.apache.org For additional commands, e-mail: notifications-h...@superset.apache.org