Guest User

Untitled

a guest
Mar 23rd, 2018
79
0
Never
Not a member of Pastebin yet? Sign Up, it unlocks many cool features!
text 0.91 KB | None | 0 0
  1. re.compile("CREATEs+TABLEs+(?:[a-z][a-z0-9_]*).*?((?:[a-z][a-z0-9_"]*)).*?((.*?)) WITH.*?(:?(?.*?)?)?.*?;").findall(string_below)
  2.  
  3. CREATE TABLE abcdeg.table_v5 (
  4. "id" text,
  5. "obj" text,
  6. "version" bigint,
  7. output text,
  8. server text,
  9. PRIMARY KEY ("id", "obj", "version")
  10. ) WITH CLUSTERING ORDER BY ("id" ASC, "version" DESC)
  11. AND bloom_filter_fp_chance = 0.1
  12. AND comment = ''
  13. AND default_time_to_live = 0
  14. AND gc_grace_seconds = 864000
  15. AND max_index_interval = 2048
  16. AND min_index_interval = 128
  17. AND read_repair_chance = 0.0
  18. AND speculative_retry = '99.0PERCENTILE';
  19.  
  20. CREATE TABLE abcdeg.result_v7 (
  21. "id" text,
  22. "obj" text,
  23. time int,
  24. PRIMARY KEY (("id", "obj"))
  25. ) WITH bloom_filter_fp_chance = 0.1
  26. AND comment = ''
  27. AND default_time_to_live = 0
  28. AND gc_grace_seconds = 864000
  29. AND max_index_interval = 2048
  30. AND speculative_retry = '99.0PERCENTILE';
Add Comment
Please, Sign In to add comment