ignite-dev mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From "Isaac Zhu (Jira)" <j...@apache.org>
Subject [jira] [Created] (IGNITE-12975) pyignte sql query should not try to create a cache
Date Fri, 01 May 2020 14:16:00 GMT
Isaac Zhu created IGNITE-12975:
----------------------------------

             Summary: pyignte sql query should not try to create a cache
                 Key: IGNITE-12975
                 URL: https://issues.apache.org/jira/browse/IGNITE-12975
             Project: Ignite
          Issue Type: Bug
          Components: python
            Reporter: Isaac Zhu


I find in this line:

[https://github.com/apache/ignite/blob/master/modules/platforms/python/pyignite/client.py#L395]

When doing an SQL query through the pyignite thin client, it is trying to get the cache by
calling "get_or_create_cache". This caused my ignite instance returns an "Authorization error"
because I was using an account that only can read cache and does not have permission to create
a cache - we implemented a Security Processor in our ignite cluster to handle the authorization. 

I think here call the "self.get_cache" is enough to perform a SQL query



--
This message was sent by Atlassian Jira
(v8.3.4#803005)

Mime
View raw message