cloud-fan commented on code in PR #36985:
URL: https://github.com/apache/spark/pull/36985#discussion_r906999977


##########
python/pyspark/sql/catalog.py:
##########
@@ -164,6 +169,65 @@ def listTables(self, dbName: Optional[str] = None) -> 
List[Table]:
             )
         return tables
 
+    def getTable(self, tableName: str, dbName: Optional[str] = None) -> Table:

Review Comment:
   can we remove the `dbName` parameter? I think we should also deprecate table 
related APIs with db and table name parametes at scala side, and promote the 
single string parameter APIs. cc @amaliujia 



-- 
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