Skip to content

Commit

Permalink
fix(pinot): remove query aliases from SELECT and ORDER BY clauses in …
Browse files Browse the repository at this point in the history
…Pinot (apache#31341)
  • Loading branch information
yuribogomolov authored Dec 9, 2024
1 parent ae8c686 commit 931f69d
Showing 1 changed file with 3 additions and 0 deletions.
3 changes: 3 additions & 0 deletions superset/db_engine_specs/pinot.py
Original file line number Diff line number Diff line change
Expand Up @@ -26,6 +26,9 @@ class PinotEngineSpec(BaseEngineSpec):
engine = "pinot"
engine_name = "Apache Pinot"

allows_alias_in_select = False
allows_alias_in_orderby = False

# https://docs.pinot.apache.org/users/user-guide-query/supported-transformations#datetime-functions
_time_grain_expressions = {
None: "{col}",
Expand Down

0 comments on commit 931f69d

Please sign in to comment.