Cannot invoke “org.apache.spark.storage.BlockManagerId.executorId()” because “idWithoutTopologyInfo” is null
I am trying to read delta files using pyspark in my local machine but i am facing an issue.
When i am using the following code i am not getting any error as idWithoutTopologyInfo is null.
How spark-submit to remote Master (stand alone client mode) a complex python application
I have a pyspark application that runs fine locally with master “local”. Now i want to spark-submit the application to a simple cluster (standalone, client mode, running in docker).
How spark-submit to remote Master (stand alone client mode) a complex python application
I have a pyspark application that runs fine locally with master “local”. Now i want to spark-submit the application to a simple cluster (standalone, client mode, running in docker).
Pyspark column ambiguous depending on the order of the join
With this example:
Spark conf parameter as spark-submit vs Spark-Session
I have a spark job where I passed all the conf parameter as form of spark-submit where as in other job (same code and same data) where I created spark session and added same config . However the the job execution time is quite different. Does it really matter in peroformance?
spark-connect docker client container write to parquet fails
I have have a docker container running spark connect. Both the apache and bitmani images work.
Does Spark really leverage parquet encoding/compression in mem?
I have multiple question about how spark handles data internally.
Applying UDF on PySpark Dataframe
I am importing pyspark libraries as follows
Explode a null column in pyspark which can be of type struct of struct
I have a dataframe and I am trying to do following transformation.
Pyspark | how to convert a column value from String to new dataframe?
The existing dataframe is
| header | body |
| ——– | ————– |
| xxx | ‘{“name”:”john”,”age”:20,”emails”:[“[email protected]”,”[email protected]”]}’|
| xxx | ‘{“name”:”jerry”,”age”:30,”emails”:[“[email protected]”,”[email protected]”]}’ |