diff --git a/impala/_thrift_api.py b/impala/_thrift_api.py index f7da748aa..38cafdaf8 100644 --- a/impala/_thrift_api.py +++ b/impala/_thrift_api.py @@ -138,6 +138,7 @@ def __init__(self, uri_or_host, port=None, path=None, cafile=None, cert_file=Non self.__http_cookie_dict = dict() self.__auth_cookie_names = set() else: + self.__preserve_all_cookies = False if isinstance(http_cookie_names, six.string_types): http_cookie_names = [http_cookie_names] # Build a dictionary that maps cookie name to namedtuple.