HyukjinKwon commented on code in PR #36985:
URL: https://github.com/apache/spark/pull/36985#discussion_r913434775
##########
python/pyspark/sql/catalog.py:
##########
@@ -164,6 +169,47 @@ def listTables(self, dbName: Optional[str] = None) ->
List[Table]:
)
return tables
+ def getTable(self, tableName: str) -> Table:
+ """Get the table or view with the specified name. This table can be a
temporary view or a
+ table/view. This throws an AnalysisException when no Table can be
found.
Review Comment:
it's a nit. maybe we can fix it togehter when you touch this code :-).
--
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]