You are viewing a plain text version of this content. The canonical link for it is here.
Posted to commits@superset.apache.org by hu...@apache.org on 2021/08/19 18:04:20 UTC
[superset] 01/01: add long table example
This is an automated email from the ASF dual-hosted git repository.
hugh pushed a commit to branch add-long-table-ex
in repository https://gitbox.apache.org/repos/asf/superset.git
commit daa4084f9c94650b04639ffe408abddb858b3b92
Author: hughhhh <hu...@gmail.com>
AuthorDate: Thu Aug 19 14:03:11 2021 -0400
add long table example
---
superset/examples/big_data.py | 3 +++
1 file changed, 3 insertions(+)
diff --git a/superset/examples/big_data.py b/superset/examples/big_data.py
index f837eff..58e08e0 100644
--- a/superset/examples/big_data.py
+++ b/superset/examples/big_data.py
@@ -74,3 +74,6 @@ def load_big_data() -> None:
print("Creating table with long name")
name = "".join(random.choices(string.ascii_letters + string.digits, k=64))
add_data(columns=columns, num_rows=10, table_name=name)
+
+ print("Creating table `long_table` with 1M rows")
+ add_data(columns=columns, num_rows=1000000, table_name="long_table")