cgivre commented on code in PR #33956:
URL: https://github.com/apache/superset/pull/33956#discussion_r2614439956


##########
superset/db_engine_specs/drill.py:
##########
@@ -87,7 +87,9 @@ def adjust_engine_params(
         schema: str | None = None,
     ) -> tuple[URL, dict[str, Any]]:
         if schema:
-            uri = uri.set(database=parse.quote(schema.replace(".", "/"), 
safe=""))
+            if uri.get_driver_name() == 'sadrill' and uri.get_backend_name() 
!= 'drill':

Review Comment:
   Does this break other, non-mongo queries?



-- 
This is an automated message from the Apache Git Service.
To respond to the message, please log on to GitHub and use the
URL above to go to the specific comment.

To unsubscribe, e-mail: [email protected]

For queries about this service, please contact Infrastructure at:
[email protected]


---------------------------------------------------------------------
To unsubscribe, e-mail: [email protected]
For additional commands, e-mail: [email protected]

Reply via email to