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: [email protected]

For queries about this service, please contact Infrastructure at:
[email protected]


---------------------------------------------------------------------
To unsubscribe, e-mail: [email protected]
For additional commands, e-mail: [email protected]

Reply via email to