Sandeep Singh created SPARK-28952: ------------------------------------- Summary: Getting Error using 'Linearregression' in spark 2.3.4 Key: SPARK-28952 URL: https://issues.apache.org/jira/browse/SPARK-28952 Project: Spark Issue Type: Bug Components: ML Affects Versions: 2.4.3 Reporter: Sandeep Singh
Getting following error While fitting the 'LinearRegression': File "C:\Spark\spark-2.4.3-bin-hadoop2.7\python\pyspark\sql\utils.py", line 79, in deco raise IllegalArgumentException(s.split(': ', 1)[1], stackTrace) IllegalArgumentException: 'requirement failed: Column features must be of type struct<type:tinyint,size:int,indices:array<int>,values:array<double>> but was actually struct<type:tinyint,size:int,indices:array<int>,values:array<double>>.' -- This message was sent by Atlassian Jira (v8.3.2#803003) --------------------------------------------------------------------- To unsubscribe, e-mail: issues-unsubscr...@spark.apache.org For additional commands, e-mail: issues-h...@spark.apache.org