Question 1mediummulti select
Read the full Data Preparation explanation →Databricks-GenAI-Assoc Data Preparation • Complete Question Bank
Complete Databricks-GenAI-Assoc Data Preparation question bank — all 0 questions with answers and detailed explanations.
{
"rule": "enforce_schema",
"action": "drop_nulls",
"target_col": "id",
"fail_on_error": true
}Error: AnalysisException: 'Multiple sources found for column id.'
val df1 = spark.table("table_a")
val df2 = spark.table("table_b")
val joined = df1.join(df2, "id"){
"policy": "strict_schema",
"data_source": "s3://raw-logs/",
"transformation": "regex_filter",
"sink": "delta_table"
}Error: PySparkException: [CANNOT_MERGE_INCOMPATIBLE_DATATYPES] Cannot merge incompatible data types 'String' and 'Integer'.