-
Requirements
- flameprof
pip install flameprof
-
How to use
- Rename this project to pyspark
- Compress this project to pyspark.zip:
zip -r pyspark pyspark
And move it to $SPARK_HOME/python/lib - Enable pyspark profile in your application code, and set the profile dump path
spark_session = SparkSession \ .builder \ .appName("Python Arrow-in-Spark profile") \ .config("spark.python.profile", "true") \ .config("spark.python.profile.dump", profile_dump_path) \ .getOrCreate()
-
Notifications
You must be signed in to change notification settings - Fork 2
shengjh/pyspark-profile-udf
Folders and files
Name | Name | Last commit message | Last commit date | |
---|---|---|---|---|
Repository files navigation
About
Add simple SQL udf profiler for pyspark.
Resources
Stars
Watchers
Forks
Releases
No releases published
Packages 0
No packages published