shuffle.partitions 미설정 기본값, AQE coalesce가 정리memory.fraction — 기본 0.6보다 높임, 압축은 전부 zstdrepartition_without_key=True).transformed.explain(true) // 실측 대상 karrot_analysis · biz_jobs · enterprise_managers // 기준 컬럼 createAt
== Physical Plan == Scan MongoTable aggregation.pipeline = [{ $match: { createAt: { $gte: … }}}] ← 첫 stage +- Filter (createAt ≥ …) residual Filter 소멸
== Physical Plan == Scan MongoRelation pipeline에 $match 없음 +- Filter (createAt ≥ …) Spark 쪽에 그대로 남음 // 전량 받아서 엔진이 거른다
Document ├─ DocId required └─ Name repeated ├─ Language repeated │ ├─ Code required │ └─ Country optional └─ Url optional
Name.Language.Country 컬럼 (최대 d = 3) 값 r d 해석 us 0 3 새 레코드, 전부 존재 NULL 2 2 다음 Language, Country만 없음 NULL 1 1 다음 Name, Language부터 없음 gb 1 3 다음 Name, Country = gb NULL 0 1 새 레코드, Name만 존재