skip to Main Content

Amazon web services – AWS Glue locally: convert pandas df to delta

I run my AWS Glue jobs locally in a docker container (AWS Glue lib 4.0) and want to convert/write a pandas dataframe to delta format. I added spark = SparkSession.builder .appName("YourAppName") .config("spark.sql.extensions", "io.delta.sql.DeltaSparkSessionExtension") .config("spark.sql.catalog.spark_catalog", "org.apache.spark.sql.delta.catalog.DeltaCatalog") .getOrCreate() sys.argv += ['--datalake-formats', 'delta']…

VIEW QUESTION
Back To Top
Search