Commit Graph

173 Commits

Author SHA1 Message Date
Maxime Beauchemin
cfc440c56c feat: improve event logging for queries + refactor (#27943)
Co-authored-by: Beto Dealmeida <roberto@dealmeida.net>
2024-04-22 16:30:50 -07:00
Beto Dealmeida
99a1601aea refactor: rename get_sqla_engine_with_context (#28012) 2024-04-12 13:31:05 -04:00
Maxime Beauchemin
12fe2929a4 fix: row limits & row count labels are confusing (#27700) 2024-04-02 13:58:35 -07:00
Michael S. Molina
883e455e12 fix: Pylint errors on master (#27710) 2024-03-27 16:18:41 -03:00
Beto Dealmeida
26d8077e97 chore: improve SQL parsing (#26767) 2024-03-13 18:27:01 -04:00
Michael S. Molina
3d645fd8e9 refactor: Updates some database columns to MediumText (#27119) 2024-02-15 11:22:57 -05:00
John Bodley
847ed3f5b0 refactor: Ensure Flask framework leverages the Flask-SQLAlchemy session (Phase II) (#26909) 2024-02-14 06:20:15 +13:00
Beto Dealmeida
d8a9847503 fix: column values with NaN (#26946) 2024-02-02 12:56:02 -05:00
Vitor Avila
4592dd13fa fix(BigQuery): Support special characters in column/metric names used in ORDER BY (#26461) 2024-01-23 20:26:53 -07:00
Beto Dealmeida
c0b57bd1c3 feat(sqlparse): improve table parsing (#26476) 2024-01-22 11:16:50 -05:00
Michael S. Molina
8f8c435d7c refactor: Removes the Profile feature (#26462) 2024-01-18 15:36:40 -03:00
Michael S. Molina
b06ab7d8e3 refactor: Removes the deprecated ENABLE_TEMPLATE_REMOVE_FILTERS feature flag (#26345) 2024-01-18 09:03:03 -03:00
Ville Brofeldt
596f5569be chore(sqlalchemy): import from correct path (#26301) 2023-12-18 13:01:50 -08:00
Vitor Avila
05d7060d83 fix(chart-filter): Avoid column denormalization if not enabled (#26199) 2023-12-07 17:24:47 -08:00
Beto Dealmeida
7223633da6 fix: alias column when fetching values (#26120) 2023-11-28 15:11:20 -05:00
Hugh A. Miles II
5def416f63 fix: naming denomalized to denormalized in helpers.py (#25973) 2023-11-13 18:46:09 -05:00
Hugh A. Miles II
8d8e1bb637 fix: always denorm column value before querying values (#25919) 2023-11-13 13:18:28 -05:00
Beto Dealmeida
2bd611916d feat: safer insert RLS (#20323) 2023-11-08 22:52:25 -05:00
Beto Dealmeida
80caba3fd1 feat: method for dynamic allows_alias_in_select (#25882) 2023-11-07 14:28:28 -05:00
Stepan
14c324950a feat(datasource): Checkbox for always filtering main dttm in datasource (#25204)
Co-authored-by: Elizabeth Thompson <eschutho@gmail.com>
2023-09-14 15:57:08 -07:00
KSPT-taylorjohn
bbfaeb074e fix: Chart series limit doesn't work for some databases (#25150) 2023-08-31 15:05:39 -07:00
Jack Fragassi
77889b29fb fix: Allow chart import to update the dataset an existing chart points to (#24821) 2023-07-28 16:08:03 -07:00
EugeneTorap
fc89718d48 chore: Update pylint to 2.17.4 (#24700)
Co-authored-by: John Bodley <john.bodley@gmail.com>
2023-07-24 17:13:49 -07:00
John Bodley
b9824d687e fix: Native filter dynamic numeric search (#24506) 2023-06-23 14:00:31 -07:00
John Bodley
652bf6454e fix: Native filter dynamic numeric search (#24418) 2023-06-21 09:45:15 -07:00
John Bodley
a4d5d7c6b9 chore(pre-commit): Add pyupgrade and pycln hooks (#24197) 2023-06-01 12:01:10 -07:00
John Bodley
0496779434 chore: Update QUERY_LOGGER and SQL_QUERY_MUTATOR signatures (#24029) 2023-05-19 06:42:19 -07:00
John Bodley
d583ca9ef5 chore: Embrace the walrus operator (#24127) 2023-05-19 00:37:13 -07:00
John Bodley
2f0caf8a0d fix: Handle python_date_format in ExploreMixin (#24068) 2023-05-16 06:54:12 -07:00
Beto Dealmeida
2938c5dc03 fix: handle python_date_format in ExploreMixin (#24062) 2023-05-15 17:51:14 -04:00
Ville Brofeldt
f7dd52b8f5 feat: implement time grain in temporal filters (#24035) 2023-05-12 14:41:09 +03:00
Beto Dealmeida
7fe0ca12c0 chore: remove duplicates of validate_adhoc_subquery (#24023) 2023-05-11 17:00:06 -07:00
Hugh A. Miles II
976e33330f fix: presto CI failed test (#23666) 2023-04-12 15:27:53 -04:00
Hugh A. Miles II
d581d698b6 chore: Refactor ExploreMixin to power both Datasets (SqlaTable) and Query models (#22853) 2023-04-10 16:32:52 -04:00
Diego Medina
cdc7af11bf chore: Migrate /superset/user_slices and /superset/fave_slices to API v1 (#22964)
Co-authored-by: hughhhh <hughmil3s@gmail.com>
2023-04-03 13:29:02 -04:00
Kamil Gabryjelski
42980a69a7 fix(dashboard): Charts crashing when cross filter on adhoc column is applied (#23238)
Co-authored-by: Ville Brofeldt <33317356+villebro@users.noreply.github.com>
2023-03-04 07:57:35 +01:00
Josh Soref
dec6ac49f6 chore(backend): Spelling (#19677)
Signed-off-by: Josh Soref <2119212+jsoref@users.noreply.github.com>
Signed-off-by: Josh Soref <jsoref@users.noreply.github.com>
Co-authored-by: Josh Soref <jsoref@users.noreply.github.com>
Co-authored-by: Evan Rusackas <evan@preset.io>
2023-02-17 10:48:24 -07:00
alexclavel-ocient
9dfaad772d fix: Make cte_alias a property of db engine spec (#22947) 2023-02-06 14:27:48 -07:00
John Bodley
92cdb8c282 chore: Add explicit bidirectional performant relationships for SQLA model (#22413) 2023-01-21 10:17:56 +13:00
Hugh A. Miles II
2de19f1d66 feat: Add logging for ssh tunneling test_connection attempts (#22625) 2023-01-12 21:49:35 +00:00
Ville Brofeldt
1014a327f5 fix(sqla): copy temporal range logic to helper (#22405)
Co-authored-by: Ville Brofeldt <ville.brofeldt@apple.com>
2022-12-14 09:43:38 +02:00
Ville Brofeldt
940a17514f fix(generic-chart-axes): apply time filter on all target column types (#22238)
Co-authored-by: Ville Brofeldt <ville.brofeldt@apple.com>
2022-11-28 12:47:55 +02:00
Hugh A. Miles II
e23efefc46 feat: refactor all get_sqla_engine to use contextmanager in codebase (#21943) 2022-11-15 13:45:14 -05:00
Yongjie Zhao
a9b229dd1d feat: support mulitple temporal filters in AdhocFilter and move the Time Section away (#21767) 2022-11-02 08:21:17 +08:00
Hugh A. Miles II
4d0c2ba6ef fix: Allow clickhouse dbs with timestamps to visualize queries (#21446) 2022-10-03 14:22:20 -04:00
Beto Dealmeida
34a79add04 feat: filter parameters from DB API (#21248) 2022-09-02 11:50:04 -07:00
Hugh A. Miles II
c61a507e14 fix: add back custom sql filtering with Query as source (#21190) 2022-08-26 19:12:21 -07:00
Cody Leff
0726840fb7 fix(explore): Prevent unnecessary series limit subquery (#21154)
* Prevent series limit when no series limit columns specified.

* Add timeseries check for legacy charts.

* Apply fix to helpers.py.

* Skip Cypress color consistency tests.
2022-08-26 11:16:13 -06:00
AAfghahi
252ceb7045 timestamp bug (#21130) 2022-08-18 18:20:25 -04:00
AAfghahi
e3508232ab fix: series limit solution for source is query (#20977)
* fix

* save

* integrate type casting for engiines

* fix orderby on column types

* fixes

Co-authored-by: Hugh A. Miles II <hughmil3s@gmail.com>
2022-08-04 15:52:38 -04:00