This is an automated email from the ASF dual-hosted git repository.

jli pushed a commit to branch 4.1
in repository https://gitbox.apache.org/repos/asf/superset.git

commit 91fe814981a6e11fc1397fe4c757e1987fb3e058
Author: Yuri <[email protected]>
AuthorDate: Mon Dec 9 09:07:03 2024 -0800

    fix(pinot): remove query aliases from SELECT and ORDER BY clauses in Pinot 
(#31341)
    
    (cherry picked from commit 931f69d6c7cfcf2958280b9cf1cd686e43279105)
---
 superset/db_engine_specs/pinot.py | 3 +++
 1 file changed, 3 insertions(+)

diff --git a/superset/db_engine_specs/pinot.py 
b/superset/db_engine_specs/pinot.py
index faf919f103..f7798da9b1 100644
--- a/superset/db_engine_specs/pinot.py
+++ b/superset/db_engine_specs/pinot.py
@@ -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}",

Reply via email to