https://github.com/apache/airflow/blob/fdd9b6f65b608c516b8a062b058972d9a45ec9e3/airflow/sensors/sql_sensor.py#L97


airflow/sensors/sql_sensor.py
conn = BaseHook.get_connection(self.conn_id)
        allowed_conn_type = {
            'google_cloud_platform',
            'jdbc',
            'mssql',
            'mysql',
            'odbc',
            'oracle',
            'postgres',
            'presto',
            'snowflake',
            'sqlite',
            'vertica',
        }
        if conn.conn_type not in allowed_conn_type:
            raise AirflowException(
                "The connection type is not supported by SqlSensor. "
                + "Supported connection types: {}".format(list(allowed_conn_type))
            )
        return conn.get_hook()
    def poke(self, context):