e6data-python-connector 2.1.14__py3-none-any.whl → 2.1.14.dev1__py3-none-any.whl

This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
@@ -416,10 +416,6 @@ class Cursor(DBAPICursor):
416
416
  def close(self):
417
417
  """Close the operation handle"""
418
418
  # self.connection.close()
419
- try:
420
- self.clear()
421
- except:
422
- pass
423
419
  self._arraysize = None
424
420
  self.connection = None
425
421
  self._data = None
@@ -445,12 +441,12 @@ class Cursor(DBAPICursor):
445
441
  def clear(self, query_id=None):
446
442
  if not query_id:
447
443
  query_id = self._query_id
448
- clear_request = e6x_engine_pb2.ClearRequest(
444
+ clear_request = e6x_engine_pb2.ClearOrCancelQueryRequest(
449
445
  sessionId=self.connection.get_session_id,
450
446
  queryId=query_id,
451
447
  engineIP=self._engine_ip
452
448
  )
453
- return self.connection.client.clear(clear_request, metadata=self.metadata)
449
+ return self.connection.client.clearOrCancelQuery(clear_request, metadata=self.metadata)
454
450
 
455
451
  def cancel(self, query_id):
456
452
  self.connection.query_cancel(engine_ip=self._engine_ip, query_id=query_id)
@@ -1,6 +1,6 @@
1
1
  Metadata-Version: 2.1
2
2
  Name: e6data-python-connector
3
- Version: 2.1.14
3
+ Version: 2.1.14.dev1
4
4
  Summary: Client for the e6data distributed SQL Engine.
5
5
  Home-page: https://github.com/e6x-labs/e6data-python-connector
6
6
  Author: Uniphi, Inc.
@@ -4,7 +4,7 @@ e6data_python_connector/constants.py,sha256=h5w0lWiFsxz__zUZRlo1f72-8mT_vt9gcWvt
4
4
  e6data_python_connector/datainputstream.py,sha256=DheV5Vo7-UldLAQuhV2payLoFLM8jvaunRTaUhYUhMU,11498
5
5
  e6data_python_connector/date_time_utils.py,sha256=ew1CjhfB93trRdu8jBOy2ihZNSecDPcmxS1USmWxqzE,13623
6
6
  e6data_python_connector/dialect.py,sha256=M7vMHJgbnGqUdlY-XcDyeeXPwll9O7j1YAaySECLNpA,11177
7
- e6data_python_connector/e6data_grpc.py,sha256=e-aaZL8jY1kmei1slojBTHOFJNXtVFvn7fNnMfhO9lI,24573
7
+ e6data_python_connector/e6data_grpc.py,sha256=NeJBnsgO6Jx2_4BCECkFm9NvfMVn-Xx7nOeVbKf6TYQ,24528
8
8
  e6data_python_connector/exceptions.py,sha256=vrUqdzMq3LjbCmvr5_TcRq9eKmdqGfe-uVjR0BJQf5U,382
9
9
  e6data_python_connector/typeId.py,sha256=2EMNWK2SO5CBReNuJphma6xp-69r9GDwwys66t-kSk0,1777
10
10
  e6data_python_connector/e6x_vector/__init__.py,sha256=YFcZTT8Cm-6Y4oTiCaqq0DT1lw2W09WqoEc5_pTAwW0,34
@@ -17,9 +17,9 @@ e6data_python_connector/server/e6x_engine_pb2.py,sha256=BxJjbijNrEqXQTWEhzLm54Fq
17
17
  e6data_python_connector/server/e6x_engine_pb2.pyi,sha256=_aQDLFbSCQ7ubK0Z5ZKh9_VAHFaXbMV55MXYXr85srg,18693
18
18
  e6data_python_connector/server/e6x_engine_pb2_grpc.py,sha256=n-eTCsAjsmpgPA_bDansKZq_zMmqkK6TlQGn6IdT6L4,46671
19
19
  e6data_python_connector/server/ttypes.py,sha256=uWxwSp4m6e-7SeSEckbZtSduGYmfzXWM09iy5eltBPA,21227
20
- e6data_python_connector-2.1.14.dist-info/LICENSE,sha256=WNHhf_5RCaeuKWyq_K39vmp9F28LxKsB4SpomwSZ2L0,11357
21
- e6data_python_connector-2.1.14.dist-info/METADATA,sha256=S2tTdn2B73zqSuyfgSUl7Y4MiNXGP2WsNUakHkuH_Sg,6944
22
- e6data_python_connector-2.1.14.dist-info/WHEEL,sha256=GJ7t_kWBFywbagK5eo9IoUwLW6oyOeTKmQ-9iHFVNxQ,92
23
- e6data_python_connector-2.1.14.dist-info/entry_points.txt,sha256=MDK4cAOND0preLvq2Tlpnz00wXnP_Y_UopqJsAf3U7Y,77
24
- e6data_python_connector-2.1.14.dist-info/top_level.txt,sha256=ChOS6qLf-SQycXr0uBiVxomIfYfbH2SgwrOWhW79ab0,24
25
- e6data_python_connector-2.1.14.dist-info/RECORD,,
20
+ e6data_python_connector-2.1.14.dev1.dist-info/LICENSE,sha256=WNHhf_5RCaeuKWyq_K39vmp9F28LxKsB4SpomwSZ2L0,11357
21
+ e6data_python_connector-2.1.14.dev1.dist-info/METADATA,sha256=xsYTjdWra80VGTQrwYQcGHiLNP-t4Uci9oR-6RravXo,6949
22
+ e6data_python_connector-2.1.14.dev1.dist-info/WHEEL,sha256=GJ7t_kWBFywbagK5eo9IoUwLW6oyOeTKmQ-9iHFVNxQ,92
23
+ e6data_python_connector-2.1.14.dev1.dist-info/entry_points.txt,sha256=MDK4cAOND0preLvq2Tlpnz00wXnP_Y_UopqJsAf3U7Y,77
24
+ e6data_python_connector-2.1.14.dev1.dist-info/top_level.txt,sha256=ChOS6qLf-SQycXr0uBiVxomIfYfbH2SgwrOWhW79ab0,24
25
+ e6data_python_connector-2.1.14.dev1.dist-info/RECORD,,