Created
July 1, 2016 18:08
-
-
Save kmizumar/ae586c46bfbeadbc55967b6483663d6f to your computer and use it in GitHub Desktop.
This file contains hidden or 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 cp = sqlContext.parquetFile("output/1/tfpach/cp") | |
| val pf = sqlContext.parquetFile("output/1/tfpach/pf") | |
| val start = System.nanoTime() | |
| cp.join(pf, cp("ac")===pf("ac")).drop(pf.col("ac")).write.parquet("join-0") | |
| val end = System.nanoTime() | |
| println("Time elapsed: " + (end-start)/1000 + " microsecs") |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment