Created
September 28, 2020 20:28
-
-
Save firemonk9/7d390938f5e0bb09c12c1bb2aa0eb07f to your computer and use it in GitHub Desktop.
sample sql code to generate volume data
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
CREATE TABLE dataq_demo.large_test (num1 bigint, num2 double precision, num3 double precision); | |
INSERT INTO dataq_demo.large_test (num1, num2, num3) | |
SELECT round(random()*10), random(), random()*142 | |
FROM generate_series(1, 20000000) s(i); |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment