QuestionQ278
VerifiedDeveloping Apache Spark™ DataFrame/DataSet API ApplicationsA Spark application must read multiple Parquet files in a directory whose schemas differ but are compatible. The data engineer needs to create a DataFrame that contains every column from all files.
Which Apache Spark code should the data engineer use to read the Parquet files and include all columns?
Community Discussion