e6data-python-connector 2.3.6__tar.gz → 2.3.7rc1__tar.gz

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.
Files changed (77) hide show
  1. {e6data_python_connector-2.3.6/e6data_python_connector.egg-info → e6data_python_connector-2.3.7rc1}/PKG-INFO +2 -2
  2. {e6data_python_connector-2.3.6 → e6data_python_connector-2.3.7rc1}/README.md +1 -1
  3. {e6data_python_connector-2.3.6 → e6data_python_connector-2.3.7rc1}/e6data_python_connector/e6data_grpc.py +14 -17
  4. {e6data_python_connector-2.3.6 → e6data_python_connector-2.3.7rc1}/e6data_python_connector/strategy.py +1 -1
  5. {e6data_python_connector-2.3.6 → e6data_python_connector-2.3.7rc1/e6data_python_connector.egg-info}/PKG-INFO +2 -2
  6. {e6data_python_connector-2.3.6 → e6data_python_connector-2.3.7rc1}/setup.py +1 -1
  7. {e6data_python_connector-2.3.6 → e6data_python_connector-2.3.7rc1}/LICENSE +0 -0
  8. {e6data_python_connector-2.3.6 → e6data_python_connector-2.3.7rc1}/MANIFEST.in +0 -0
  9. {e6data_python_connector-2.3.6 → e6data_python_connector-2.3.7rc1}/e6data_python_connector/__init__.py +0 -0
  10. {e6data_python_connector-2.3.6 → e6data_python_connector-2.3.7rc1}/e6data_python_connector/cluster_manager.py +0 -0
  11. {e6data_python_connector-2.3.6 → e6data_python_connector-2.3.7rc1}/e6data_python_connector/cluster_server/__init__.py +0 -0
  12. {e6data_python_connector-2.3.6 → e6data_python_connector-2.3.7rc1}/e6data_python_connector/cluster_server/cluster_pb2.py +0 -0
  13. {e6data_python_connector-2.3.6 → e6data_python_connector-2.3.7rc1}/e6data_python_connector/cluster_server/cluster_pb2_grpc.py +0 -0
  14. {e6data_python_connector-2.3.6 → e6data_python_connector-2.3.7rc1}/e6data_python_connector/common.py +0 -0
  15. {e6data_python_connector-2.3.6 → e6data_python_connector-2.3.7rc1}/e6data_python_connector/constants.py +0 -0
  16. {e6data_python_connector-2.3.6 → e6data_python_connector-2.3.7rc1}/e6data_python_connector/datainputstream.py +0 -0
  17. {e6data_python_connector-2.3.6 → e6data_python_connector-2.3.7rc1}/e6data_python_connector/date_time_utils.py +0 -0
  18. {e6data_python_connector-2.3.6 → e6data_python_connector-2.3.7rc1}/e6data_python_connector/dialect.py +0 -0
  19. {e6data_python_connector-2.3.6 → e6data_python_connector-2.3.7rc1}/e6data_python_connector/e6x_vector/__init__.py +0 -0
  20. {e6data_python_connector-2.3.6 → e6data_python_connector-2.3.7rc1}/e6data_python_connector/e6x_vector/constants.py +0 -0
  21. {e6data_python_connector-2.3.6 → e6data_python_connector-2.3.7rc1}/e6data_python_connector/e6x_vector/ttypes.py +0 -0
  22. {e6data_python_connector-2.3.6 → e6data_python_connector-2.3.7rc1}/e6data_python_connector/exceptions.py +0 -0
  23. {e6data_python_connector-2.3.6 → e6data_python_connector-2.3.7rc1}/e6data_python_connector/server/QueryEngineService.py +0 -0
  24. {e6data_python_connector-2.3.6 → e6data_python_connector-2.3.7rc1}/e6data_python_connector/server/__init__.py +0 -0
  25. {e6data_python_connector-2.3.6 → e6data_python_connector-2.3.7rc1}/e6data_python_connector/server/constants.py +0 -0
  26. {e6data_python_connector-2.3.6 → e6data_python_connector-2.3.7rc1}/e6data_python_connector/server/e6x_engine_pb2.py +0 -0
  27. {e6data_python_connector-2.3.6 → e6data_python_connector-2.3.7rc1}/e6data_python_connector/server/e6x_engine_pb2.pyi +0 -0
  28. {e6data_python_connector-2.3.6 → e6data_python_connector-2.3.7rc1}/e6data_python_connector/server/e6x_engine_pb2_grpc.py +0 -0
  29. {e6data_python_connector-2.3.6 → e6data_python_connector-2.3.7rc1}/e6data_python_connector/server/ttypes.py +0 -0
  30. {e6data_python_connector-2.3.6 → e6data_python_connector-2.3.7rc1}/e6data_python_connector/typeId.py +0 -0
  31. {e6data_python_connector-2.3.6 → e6data_python_connector-2.3.7rc1}/e6data_python_connector.egg-info/SOURCES.txt +0 -0
  32. {e6data_python_connector-2.3.6 → e6data_python_connector-2.3.7rc1}/e6data_python_connector.egg-info/dependency_links.txt +0 -0
  33. {e6data_python_connector-2.3.6 → e6data_python_connector-2.3.7rc1}/e6data_python_connector.egg-info/entry_points.txt +0 -0
  34. {e6data_python_connector-2.3.6 → e6data_python_connector-2.3.7rc1}/e6data_python_connector.egg-info/requires.txt +0 -0
  35. {e6data_python_connector-2.3.6 → e6data_python_connector-2.3.7rc1}/e6data_python_connector.egg-info/top_level.txt +0 -0
  36. {e6data_python_connector-2.3.6 → e6data_python_connector-2.3.7rc1}/pyproject.toml +0 -0
  37. {e6data_python_connector-2.3.6 → e6data_python_connector-2.3.7rc1}/setup.cfg +0 -0
  38. {e6data_python_connector-2.3.6 → e6data_python_connector-2.3.7rc1}/test/__init__.py +0 -0
  39. {e6data_python_connector-2.3.6 → e6data_python_connector-2.3.7rc1}/test/analyze_38_nines.py +0 -0
  40. {e6data_python_connector-2.3.6 → e6data_python_connector-2.3.7rc1}/test/analyze_all_cases.py +0 -0
  41. {e6data_python_connector-2.3.6 → e6data_python_connector-2.3.7rc1}/test/analyze_binary.py +0 -0
  42. {e6data_python_connector-2.3.6 → e6data_python_connector-2.3.7rc1}/test/analyze_correct_value.py +0 -0
  43. {e6data_python_connector-2.3.6 → e6data_python_connector-2.3.7rc1}/test/analyze_fields.py +0 -0
  44. {e6data_python_connector-2.3.6 → e6data_python_connector-2.3.7rc1}/test/check_decimal_errors.py +0 -0
  45. {e6data_python_connector-2.3.6 → e6data_python_connector-2.3.7rc1}/test/cleanup_test_files.py +0 -0
  46. {e6data_python_connector-2.3.6 → e6data_python_connector-2.3.7rc1}/test/debug_38_nines.py +0 -0
  47. {e6data_python_connector-2.3.6 → e6data_python_connector-2.3.7rc1}/test/debug_binary.py +0 -0
  48. {e6data_python_connector-2.3.6 → e6data_python_connector-2.3.7rc1}/test/final_test.py +0 -0
  49. {e6data_python_connector-2.3.6 → e6data_python_connector-2.3.7rc1}/test/move_tests.py +0 -0
  50. {e6data_python_connector-2.3.6 → e6data_python_connector-2.3.7rc1}/test/quick_test.py +0 -0
  51. {e6data_python_connector-2.3.6 → e6data_python_connector-2.3.7rc1}/test/test_38_nines.py +0 -0
  52. {e6data_python_connector-2.3.6 → e6data_python_connector-2.3.7rc1}/test/test_all_decimal128_cases.py +0 -0
  53. {e6data_python_connector-2.3.6 → e6data_python_connector-2.3.7rc1}/test/test_cluster_manager_efficiency.py +0 -0
  54. {e6data_python_connector-2.3.6 → e6data_python_connector-2.3.7rc1}/test/test_cluster_manager_none_strategy.py +0 -0
  55. {e6data_python_connector-2.3.6 → e6data_python_connector-2.3.7rc1}/test/test_cluster_manager_strategy.py +0 -0
  56. {e6data_python_connector-2.3.6 → e6data_python_connector-2.3.7rc1}/test/test_comprehensive.py +0 -0
  57. {e6data_python_connector-2.3.6 → e6data_python_connector-2.3.7rc1}/test/test_current_implementation.py +0 -0
  58. {e6data_python_connector-2.3.6 → e6data_python_connector-2.3.7rc1}/test/test_decimal128_binary_parsing.py +0 -0
  59. {e6data_python_connector-2.3.6 → e6data_python_connector-2.3.7rc1}/test/test_decimal128_parsing.py +0 -0
  60. {e6data_python_connector-2.3.6 → e6data_python_connector-2.3.7rc1}/test/test_fix.py +0 -0
  61. {e6data_python_connector-2.3.6 → e6data_python_connector-2.3.7rc1}/test/test_improved_parsing.py +0 -0
  62. {e6data_python_connector-2.3.6 → e6data_python_connector-2.3.7rc1}/test/test_known_case.py +0 -0
  63. {e6data_python_connector-2.3.6 → e6data_python_connector-2.3.7rc1}/test/test_manual_analysis.py +0 -0
  64. {e6data_python_connector-2.3.6 → e6data_python_connector-2.3.7rc1}/test/test_mock_server.py +0 -0
  65. {e6data_python_connector-2.3.6 → e6data_python_connector-2.3.7rc1}/test/test_multiprocessing_fix.py +0 -0
  66. {e6data_python_connector-2.3.6 → e6data_python_connector-2.3.7rc1}/test/test_new_implementation.py +0 -0
  67. {e6data_python_connector-2.3.6 → e6data_python_connector-2.3.7rc1}/test/test_specific_binary.py +0 -0
  68. {e6data_python_connector-2.3.6 → e6data_python_connector-2.3.7rc1}/test/test_strategy.py +0 -0
  69. {e6data_python_connector-2.3.6 → e6data_python_connector-2.3.7rc1}/test/test_strategy_logic.py +0 -0
  70. {e6data_python_connector-2.3.6 → e6data_python_connector-2.3.7rc1}/test/test_strategy_persistence_fix.py +0 -0
  71. {e6data_python_connector-2.3.6 → e6data_python_connector-2.3.7rc1}/test/test_strategy_sharing_fix.py +0 -0
  72. {e6data_python_connector-2.3.6 → e6data_python_connector-2.3.7rc1}/test/test_user_binary_value.py +0 -0
  73. {e6data_python_connector-2.3.6 → e6data_python_connector-2.3.7rc1}/test/tests.py +0 -0
  74. {e6data_python_connector-2.3.6 → e6data_python_connector-2.3.7rc1}/test/tests_grpc.py +0 -0
  75. {e6data_python_connector-2.3.6 → e6data_python_connector-2.3.7rc1}/test/validate_decimal128.py +0 -0
  76. {e6data_python_connector-2.3.6 → e6data_python_connector-2.3.7rc1}/test/validate_implementation.py +0 -0
  77. {e6data_python_connector-2.3.6 → e6data_python_connector-2.3.7rc1}/test/verify_decimal_fix.py +0 -0
@@ -1,6 +1,6 @@
1
1
  Metadata-Version: 2.2
2
2
  Name: e6data-python-connector
3
- Version: 2.3.6
3
+ Version: 2.3.7rc1
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: e6data, Inc.
@@ -38,7 +38,7 @@ Dynamic: summary
38
38
 
39
39
  # e6data Python Connector
40
40
 
41
- ![version](https://img.shields.io/badge/version-2.3.6-blue.svg)
41
+ ![version](https://img.shields.io/badge/version-2.3.7rc1-blue.svg)
42
42
 
43
43
  ## Introduction
44
44
 
@@ -1,6 +1,6 @@
1
1
  # e6data Python Connector
2
2
 
3
- ![version](https://img.shields.io/badge/version-2.3.6-blue.svg)
3
+ ![version](https://img.shields.io/badge/version-2.3.7rc1-blue.svg)
4
4
 
5
5
  ## Introduction
6
6
 
@@ -312,10 +312,9 @@ class Connection(object):
312
312
  port: int,
313
313
  username: str,
314
314
  password: str,
315
- scheme: str = 'e6data',
316
315
  catalog: str = None,
317
316
  database: str = None,
318
- cluster_uuid: str = None,
317
+ cluster_name: str = None,
319
318
  secure: bool = False,
320
319
  auto_resume: bool = True,
321
320
  grpc_options: dict = None,
@@ -331,14 +330,12 @@ class Connection(object):
331
330
  Your e6data Email ID
332
331
  password: str
333
332
  Access Token generated in the e6data console
334
- scheme: str
335
- e6data
336
333
  catalog: str
337
334
  Catalog name
338
335
  database: str
339
336
  Database to perform the query on
340
- cluster_uuid: str
341
- Cluster's uuid
337
+ cluster_name: str
338
+ Cluster's name
342
339
  secure: bool, Optional
343
340
  Flag to use a secure channel for data transfer
344
341
  auto_resume: bool, Optional
@@ -358,7 +355,7 @@ class Connection(object):
358
355
  self.__username = username
359
356
  self.__password = password
360
357
  self.database = database
361
- self.cluster_uuid = cluster_uuid
358
+ self.cluster_name = cluster_name
362
359
  self._session_id = None
363
360
  self._host = host
364
361
  self._port = port
@@ -508,7 +505,7 @@ class Connection(object):
508
505
  try:
509
506
  authenticate_response = self._client.authenticate(
510
507
  authenticate_request,
511
- metadata=_get_grpc_header(cluster=self.cluster_uuid, strategy=active_strategy)
508
+ metadata=_get_grpc_header(cluster=self.cluster_name, strategy=active_strategy)
512
509
  )
513
510
  self._session_id = authenticate_response.sessionId
514
511
  if not self._session_id:
@@ -545,7 +542,7 @@ class Connection(object):
545
542
  try:
546
543
  authenticate_response = self._client.authenticate(
547
544
  authenticate_request,
548
- metadata=_get_grpc_header(cluster=self.cluster_uuid, strategy=strategy)
545
+ metadata=_get_grpc_header(cluster=self.cluster_name, strategy=strategy)
549
546
  )
550
547
  self._session_id = authenticate_response.sessionId
551
548
  if self._session_id:
@@ -584,7 +581,7 @@ class Connection(object):
584
581
  user=self.__username,
585
582
  password=self.__password,
586
583
  secure_channel=self._secure_channel,
587
- cluster_uuid=self.cluster_uuid,
584
+ cluster_uuid=self.cluster_name,
588
585
  timeout=self.grpc_auto_resume_timeout_seconds
589
586
  ).resume()
590
587
  if status:
@@ -711,7 +708,7 @@ class Connection(object):
711
708
  )
712
709
  clear_response = self._client.clear(
713
710
  clear_request,
714
- metadata=_get_grpc_header(engine_ip=engine_ip, cluster=self.cluster_uuid, strategy=_get_active_strategy())
711
+ metadata=_get_grpc_header(engine_ip=engine_ip, cluster=self.cluster_name, strategy=_get_active_strategy())
715
712
  )
716
713
 
717
714
  # Check for new strategy in clear response
@@ -742,7 +739,7 @@ class Connection(object):
742
739
  )
743
740
  cancel_response = self._client.cancelQuery(
744
741
  cancel_query_request,
745
- metadata=_get_grpc_header(engine_ip=engine_ip, cluster=self.cluster_uuid, strategy=_get_active_strategy())
742
+ metadata=_get_grpc_header(engine_ip=engine_ip, cluster=self.cluster_name, strategy=_get_active_strategy())
746
743
  )
747
744
 
748
745
  # Check for new strategy in cancel response
@@ -766,7 +763,7 @@ class Connection(object):
766
763
  )
767
764
  dry_run_response = self._client.dryRun(
768
765
  dry_run_request,
769
- metadata=_get_grpc_header(cluster=self.cluster_uuid, strategy=_get_active_strategy())
766
+ metadata=_get_grpc_header(cluster=self.cluster_name, strategy=_get_active_strategy())
770
767
  )
771
768
  return dry_run_response.dryrunValue
772
769
 
@@ -788,7 +785,7 @@ class Connection(object):
788
785
  )
789
786
  get_table_response = self._client.getTablesV2(
790
787
  get_table_request,
791
- metadata=_get_grpc_header(cluster=self.cluster_uuid, strategy=_get_active_strategy())
788
+ metadata=_get_grpc_header(cluster=self.cluster_name, strategy=_get_active_strategy())
792
789
  )
793
790
 
794
791
  # Check for new strategy in get tables response
@@ -816,7 +813,7 @@ class Connection(object):
816
813
  )
817
814
  get_columns_response = self._client.getColumnsV2(
818
815
  get_columns_request,
819
- metadata=_get_grpc_header(cluster=self.cluster_uuid, strategy=_get_active_strategy())
816
+ metadata=_get_grpc_header(cluster=self.cluster_name, strategy=_get_active_strategy())
820
817
  )
821
818
 
822
819
  # Check for new strategy in get columns response
@@ -840,7 +837,7 @@ class Connection(object):
840
837
  )
841
838
  get_schema_response = self._client.getSchemaNamesV2(
842
839
  get_schema_request,
843
- metadata=_get_grpc_header(cluster=self.cluster_uuid, strategy=_get_active_strategy())
840
+ metadata=_get_grpc_header(cluster=self.cluster_name, strategy=_get_active_strategy())
844
841
  )
845
842
 
846
843
  # Check for new strategy in get schema names response
@@ -937,7 +934,7 @@ class Cursor(DBAPICursor):
937
934
  """
938
935
  # Use query-specific strategy if available, otherwise use active strategy
939
936
  strategy = _get_query_strategy(self._query_id) if self._query_id else _get_active_strategy()
940
- return _get_grpc_header(engine_ip=self._engine_ip, cluster=self.connection.cluster_uuid, strategy=strategy)
937
+ return _get_grpc_header(engine_ip=self._engine_ip, cluster=self.connection.cluster_name, strategy=strategy)
941
938
 
942
939
  @property
943
940
  def arraysize(self):
@@ -190,7 +190,7 @@ def _get_grpc_header(engine_ip=None, cluster=None, strategy=None):
190
190
  if engine_ip:
191
191
  metadata.append(('plannerip', engine_ip))
192
192
  if cluster:
193
- metadata.append(('cluster-uuid', cluster))
193
+ metadata.append(('cluster-name', cluster))
194
194
  if strategy:
195
195
  # Normalize strategy to lowercase
196
196
  normalized_strategy = strategy.lower() if isinstance(strategy, str) else strategy
@@ -1,6 +1,6 @@
1
1
  Metadata-Version: 2.2
2
2
  Name: e6data-python-connector
3
- Version: 2.3.6
3
+ Version: 2.3.7rc1
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: e6data, Inc.
@@ -38,7 +38,7 @@ Dynamic: summary
38
38
 
39
39
  # e6data Python Connector
40
40
 
41
- ![version](https://img.shields.io/badge/version-2.3.6-blue.svg)
41
+ ![version](https://img.shields.io/badge/version-2.3.7rc1-blue.svg)
42
42
 
43
43
  ## Introduction
44
44
 
@@ -12,7 +12,7 @@
12
12
 
13
13
  import setuptools
14
14
 
15
- VERSION = (2, 3, 6,)
15
+ VERSION = (2, 3, 7, 'rc1')
16
16
 
17
17
 
18
18
  def get_long_desc():