| commit | 538a74ca06a8400d9fa33488049f119accf82904 | [log] [tgz] |
|---|---|---|
| author | hughhhh <hughmil3s@gmail.com> | Thu Sep 29 13:32:14 2022 -0400 |
| committer | hughhhh <hughmil3s@gmail.com> | Thu Sep 29 13:32:14 2022 -0400 |
| tree | 890dfd09c9416370de78d192de90a1581d902e13 | |
| parent | 5ea924905971338a53604b5d0ef9be5d04aa65db [diff] |
client is sending milliseconds for start time
diff --git a/superset/sql_lab.py b/superset/sql_lab.py index ea91133..07063c7 100644 --- a/superset/sql_lab.py +++ b/superset/sql_lab.py
@@ -233,7 +233,7 @@ ) if apply_ctas: if not query.tmp_table_name: - start_dttm = datetime.fromtimestamp(query.start_time) + start_dttm = datetime.fromtimestamp(query.start_time / 1000) query.tmp_table_name = "tmp_{}_table_{}".format( query.user_id, start_dttm.strftime("%Y_%m_%d_%H_%M_%S") )