Skip to content

Navigation Menu

Sign in
Sign up

plan size calculation #309

zinking started this conversation in General
Discussion options

 private val fileSizes = inputFileScanRDD.filePartitions
 .flatMap(_.files)
 .groupBy(_.filePath)
 .mapValues(_.map(_.length).sum)
 .map(identity) // make this map serializable
 ```
 
fileSizes could be obtained from the underlying plan statistics ?
You must be logged in to vote

Replies: 0 comments

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
1 participant

AltStyle によって変換されたページ (->オリジナル) /