mirror of https://github.com/apache/superset.git
Multi-stage query engine of Pinot supports subquery, join, aliases
This commit is contained in:
parent
10c78960a7
commit
c26d409f16
|
@ -1035,6 +1035,11 @@ The expected connection string using username and password is formatted as follo
|
|||
pinot://<username>:<password>@<pinot-broker-host>:<pinot-broker-port>/query/sql?controller=http://<pinot-controller-host>:<pinot-controller-port>/verify_ssl=true``
|
||||
```
|
||||
|
||||
If you want to use explore view or joins, window functions, etc. then enable [multi-stage query engine](https://docs.pinot.apache.org/reference/multi-stage-engine).
|
||||
Add below argument while creating database connection in Advanced -> Other -> ENGINE PARAMETERS
|
||||
```
|
||||
{"connect_args":{"use_multistage_engine":"true"}}
|
||||
```
|
||||
|
||||
#### Postgres
|
||||
|
||||
|
|
|
@ -25,10 +25,10 @@ from superset.db_engine_specs.base import BaseEngineSpec
|
|||
class PinotEngineSpec(BaseEngineSpec):
|
||||
engine = "pinot"
|
||||
engine_name = "Apache Pinot"
|
||||
allows_subqueries = False
|
||||
allows_joins = False
|
||||
allows_alias_in_select = False
|
||||
allows_alias_in_orderby = False
|
||||
allows_subqueries = True
|
||||
allows_joins = True
|
||||
allows_alias_in_select = True
|
||||
allows_alias_in_orderby = True
|
||||
|
||||
# https://docs.pinot.apache.org/users/user-guide-query/supported-transformations#datetime-functions
|
||||
_time_grain_expressions = {
|
||||
|
|
Loading…
Reference in New Issue