3
DataFrame 객체를 로컬 메모리에 넣을 때 as.data.frame()
과 collect()
의 차이점은 무엇입니까?sparkR의 collect와 as.data.frame의 차이점
DataFrame 객체를 로컬 메모리에 넣을 때 as.data.frame()
과 collect()
의 차이점은 무엇입니까?sparkR의 collect와 as.data.frame의 차이점
아무런 차이가 없습니다. 제외 인수 검증 Sparkr::as.data.frame
는 SparkR::collect
단일 호출로 simply implemented입니다 : 내 출력 모두에 대해 동일한를 반환하고`identical`가`반환 str`
setMethod("as.data.frame",
signature(x = "DataFrame"),
function(x, ...) {
# Arguments validation
}
collect(x)
})
'TRUE' – PeterPancake