Created
October 28, 2019 00:08
-
-
Save aialenti/e1e8c294379ad866e073b8d01da3526f to your computer and use it in GitHub Desktop.
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
val t0 = System.nanoTime() | |
// Create the Execution Plan | |
fact_table = fact_table.join(broadcast(dimension_table2), | |
fact_table.col("dimension_2_id") === dimension_table.col("id")) | |
// Perform an action to run the execution | |
fact_table.count | |
val t1 = System.nanoTime() | |
println("Elapsed time: " + (t1 - t0)/10e8 + "s") |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment