Github user rgbkrk commented on a diff in the pull request:
https://github.com/apache/spark/pull/17662#discussion_r111847582
--- Diff: python/pyspark/sql/session.py ---
@@ -221,6 +221,9 @@ def __init__(self, sparkContext, jsparkSession=None):
or SparkSession._instantiatedSession._sc._jsc is None:
SparkSession._instantiatedSession = self
+ def _repr_html_(self):
+ return self.sparkContext._repr_html_()
--- End diff --
> It might also make sense to return a different URL link (e.g. to the SQL
page rather than the default page which takes people to the Jobs section) but
this is minor and likely less useful than the other things.
I don't know enough internals here to tell what URL(s) you'd want here.
What properties or calls should I make for the SQL page?
---
If your project is set up for it, you can reply to this email and have your
reply appear on GitHub as well. If your project does not have this feature
enabled and wishes so, or if the feature is enabled but not working, please
contact infrastructure at [email protected] or file a JIRA ticket
with INFRA.
---
---------------------------------------------------------------------
To unsubscribe, e-mail: [email protected]
For additional commands, e-mail: [email protected]