Created
February 4, 2018 17:25
-
-
Save hadoopsters/f8c53e2f881826e04f8bb48852f8de42 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
select * from my_table | |
where rand() <= 0.0001 | |
distribute by rand() | |
sort by rand() | |
limit 10000; |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment