skip to Main Content

Phpmyadmin – Pyspark stream kafka debezium topic Error format, ETL

I have successfully created a mariadb database connection using debezium and kafka When I tried to stream the topic using pyspark this is the output that I get ------------------------------------------- Batch: 0 ------------------------------------------- +------+--------------------------------------------------------------------------------------------------------------------------+ |key |value | +------+--------------------------------------------------------------------------------------------------------------------------+ ||MaxDoe1.4.2.Finalnmysqlmariadbbtruebasecampemployees mysql-bin.000032�r�ȯݭd |…

VIEW QUESTION

Getting DATATYPE_MISMATCH.UNEXPECTED_INPUT_TYPE while working on a project in Databricks using Apache Spark

I am working on a project in Databricks using Apache Spark, I was doing some data manipulation, during which I encountered this error basically stating "DATATYPE_MISMATCH.UNEXPECTED_INPUT_TYPE". The code snippet is as follows: player_match_df = player_match_df.withColumn( "years_since_debut", (year(current_date()) - (col("season_year"))) )…

VIEW QUESTION
Back To Top
Search