utils#
Utility functions.
Functions#
Clean up the temporary table currently in use. |
|
Remove all temporary tables created by Tumult Analytics. |
|
Check to see if you have installed Tumult Analytics correctly. |
- cleanup()#
Clean up the temporary table currently in use.
If you call
spark.stop()
, you should call this function first.
- remove_all_temp_tables()#
Remove all temporary tables created by Tumult Analytics.
This will remove all temporary tables created by Tumult Analytics in the current Spark data warehouse, whether those tables were created by the current Tumult Analytics session or previous sessions.
- check_installation()#
Check to see if you have installed Tumult Analytics correctly.
This function will:
create a new Spark session
create a Spark dataframe
create a
Session
from that dataframeperform a query on that dataframe
If Tumult Analytics is correctly installed, this function should print a message and finish running within a few seconds.
If Tumult Analytics has not been correctly installed, this function will raise an error.