Skip to content

Commit bcd119f

Browse files
committed
Referencing correct hooks for Apache Pinot
The `provider.yaml` for `airflow.providers.apache.pinot` provider was referencing a non-existing hook class of `PinotHook`, causing a warning during `providers_manager`'s sanity check. This corrects it to list both hooks of this provider.
1 parent 770228e commit bcd119f

File tree

1 file changed

+3
-1
lines changed

1 file changed

+3
-1
lines changed

airflow/providers/apache/pinot/provider.yaml

Lines changed: 3 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -59,5 +59,7 @@ hooks:
5959
- airflow.providers.apache.pinot.hooks.pinot
6060

6161
connection-types:
62-
- hook-class-name: airflow.providers.apache.pinot.hooks.pinot.PinotHook
62+
- hook-class-name: airflow.providers.apache.pinot.hooks.pinot.PinotDbApiHook
6363
connection-type: pinot
64+
- hook-class-name: airflow.providers.apache.pinot.hooks.pinot.PinotAdminHook
65+
connection-type: pinot_admin

0 commit comments

Comments
 (0)