tfduck-bsd 0.19.1__tar.gz → 0.19.2__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.

Potentially problematic release.


This version of tfduck-bsd might be problematic. Click here for more details.

Files changed (50) hide show
  1. {tfduck-bsd-0.19.1/tfduck_bsd.egg-info → tfduck-bsd-0.19.2}/PKG-INFO +1 -1
  2. {tfduck-bsd-0.19.1 → tfduck-bsd-0.19.2}/setup.py +1 -1
  3. tfduck-bsd-0.19.2/tfduck/__init__.py +1 -0
  4. {tfduck-bsd-0.19.1 → tfduck-bsd-0.19.2}/tfduck/tga/tga.py +10 -3
  5. {tfduck-bsd-0.19.1 → tfduck-bsd-0.19.2/tfduck_bsd.egg-info}/PKG-INFO +1 -1
  6. tfduck-bsd-0.19.1/tfduck/__init__.py +0 -1
  7. {tfduck-bsd-0.19.1 → tfduck-bsd-0.19.2}/LICENSE +0 -0
  8. {tfduck-bsd-0.19.1 → tfduck-bsd-0.19.2}/README.md +0 -0
  9. {tfduck-bsd-0.19.1 → tfduck-bsd-0.19.2}/bin/tfduck +0 -0
  10. {tfduck-bsd-0.19.1 → tfduck-bsd-0.19.2}/setup.cfg +0 -0
  11. {tfduck-bsd-0.19.1 → tfduck-bsd-0.19.2}/tfduck/bdp_sdk_py/__init__.py +0 -0
  12. {tfduck-bsd-0.19.1 → tfduck-bsd-0.19.2}/tfduck/bdp_sdk_py/config/__init__.py +0 -0
  13. {tfduck-bsd-0.19.1 → tfduck-bsd-0.19.2}/tfduck/bdp_sdk_py/config/bdpmanager.py +0 -0
  14. {tfduck-bsd-0.19.1 → tfduck-bsd-0.19.2}/tfduck/bdp_sdk_py/config/table_config.py +0 -0
  15. {tfduck-bsd-0.19.1 → tfduck-bsd-0.19.2}/tfduck/bdp_sdk_py/example.py +0 -0
  16. {tfduck-bsd-0.19.1 → tfduck-bsd-0.19.2}/tfduck/bdp_sdk_py/opends/__init__.py +0 -0
  17. {tfduck-bsd-0.19.1 → tfduck-bsd-0.19.2}/tfduck/bdp_sdk_py/opends/opends.py +0 -0
  18. {tfduck-bsd-0.19.1 → tfduck-bsd-0.19.2}/tfduck/bdp_sdk_py/opends/sdk.py +0 -0
  19. {tfduck-bsd-0.19.1 → tfduck-bsd-0.19.2}/tfduck/common/__init__.py +0 -0
  20. {tfduck-bsd-0.19.1 → tfduck-bsd-0.19.2}/tfduck/common/defines.py +0 -0
  21. {tfduck-bsd-0.19.1 → tfduck-bsd-0.19.2}/tfduck/common/defines_clean.py +0 -0
  22. {tfduck-bsd-0.19.1 → tfduck-bsd-0.19.2}/tfduck/common/extendEncoder.py +0 -0
  23. {tfduck-bsd-0.19.1 → tfduck-bsd-0.19.2}/tfduck/main.py +0 -0
  24. {tfduck-bsd-0.19.1 → tfduck-bsd-0.19.2}/tfduck/oss/__init__.py +0 -0
  25. {tfduck-bsd-0.19.1 → tfduck-bsd-0.19.2}/tfduck/oss/oss.py +0 -0
  26. {tfduck-bsd-0.19.1 → tfduck-bsd-0.19.2}/tfduck/pyspark_k8s/__init__.py +0 -0
  27. {tfduck-bsd-0.19.1 → tfduck-bsd-0.19.2}/tfduck/pyspark_k8s/k8s_manage.py +0 -0
  28. {tfduck-bsd-0.19.1 → tfduck-bsd-0.19.2}/tfduck/pyspark_k8s/spark_manage.py +0 -0
  29. {tfduck-bsd-0.19.1 → tfduck-bsd-0.19.2}/tfduck/s3/__init__.py +0 -0
  30. {tfduck-bsd-0.19.1 → tfduck-bsd-0.19.2}/tfduck/s3/s3oper.py +0 -0
  31. {tfduck-bsd-0.19.1 → tfduck-bsd-0.19.2}/tfduck/sagemaker/__init__.py +0 -0
  32. {tfduck-bsd-0.19.1 → tfduck-bsd-0.19.2}/tfduck/sagemaker/saoper.py +0 -0
  33. {tfduck-bsd-0.19.1 → tfduck-bsd-0.19.2}/tfduck/serverless_k8s/__init__.py +0 -0
  34. {tfduck-bsd-0.19.1 → tfduck-bsd-0.19.2}/tfduck/serverless_k8s/k8s_manage.py +0 -0
  35. {tfduck-bsd-0.19.1 → tfduck-bsd-0.19.2}/tfduck/serverless_k8s/k8s_task.py +0 -0
  36. {tfduck-bsd-0.19.1 → tfduck-bsd-0.19.2}/tfduck/tga/__init__.py +0 -0
  37. {tfduck-bsd-0.19.1 → tfduck-bsd-0.19.2}/tfduck/tga/base_tga.py +0 -0
  38. {tfduck-bsd-0.19.1 → tfduck-bsd-0.19.2}/tfduck/tga/predict_sql_ltv.py +0 -0
  39. {tfduck-bsd-0.19.1 → tfduck-bsd-0.19.2}/tfduck/tga/predict_sql_retain.py +0 -0
  40. {tfduck-bsd-0.19.1 → tfduck-bsd-0.19.2}/tfduck/tga/predict_sql_yh.py +0 -0
  41. {tfduck-bsd-0.19.1 → tfduck-bsd-0.19.2}/tfduck/tga/tga_test.py +0 -0
  42. {tfduck-bsd-0.19.1 → tfduck-bsd-0.19.2}/tfduck/tga/train_sql_ltv.py +0 -0
  43. {tfduck-bsd-0.19.1 → tfduck-bsd-0.19.2}/tfduck/tga/train_sql_retain.py +0 -0
  44. {tfduck-bsd-0.19.1 → tfduck-bsd-0.19.2}/tfduck/tga/train_sql_yh.py +0 -0
  45. {tfduck-bsd-0.19.1 → tfduck-bsd-0.19.2}/tfduck/thinkdata/__init__.py +0 -0
  46. {tfduck-bsd-0.19.1 → tfduck-bsd-0.19.2}/tfduck/thinkdata/query.py +0 -0
  47. {tfduck-bsd-0.19.1 → tfduck-bsd-0.19.2}/tfduck_bsd.egg-info/SOURCES.txt +0 -0
  48. {tfduck-bsd-0.19.1 → tfduck-bsd-0.19.2}/tfduck_bsd.egg-info/dependency_links.txt +0 -0
  49. {tfduck-bsd-0.19.1 → tfduck-bsd-0.19.2}/tfduck_bsd.egg-info/requires.txt +0 -0
  50. {tfduck-bsd-0.19.1 → tfduck-bsd-0.19.2}/tfduck_bsd.egg-info/top_level.txt +0 -0
@@ -1,6 +1,6 @@
1
1
  Metadata-Version: 2.1
2
2
  Name: tfduck-bsd
3
- Version: 0.19.1
3
+ Version: 0.19.2
4
4
  Summary: A small example package
5
5
  Home-page: UNKNOWN
6
6
  Author: yuanxiao
@@ -8,7 +8,7 @@ with open("README.md", "r") as fh:
8
8
 
9
9
  setuptools.setup(
10
10
  name="tfduck-bsd",
11
- version="0.19.1",
11
+ version="0.19.2",
12
12
  author="yuanxiao",
13
13
  author_email="yuan6785@163.com",
14
14
  description="A small example package",
@@ -0,0 +1 @@
1
+ __version__="0.19.2"
@@ -230,6 +230,7 @@ class ThinkDataQuery(BaseTga):
230
230
  # break
231
231
  if 1:
232
232
  time.sleep(retry_wait)
233
+ BMOBJ.clog(ctx, f"retry {i}")
233
234
  continue
234
235
  if gol_e is not None:
235
236
  raise gol_e
@@ -446,6 +447,7 @@ class ThinkDataQuery(BaseTga):
446
447
  print_size=100000,
447
448
  conn_timeout=30,
448
449
  tga_data_timeout=600,
450
+ retry_wait=1,
449
451
  ):
450
452
  '''
451
453
  @des:presto直连方式读取-----重试的方式----当get_data_csv接口出问题,则启用这个接口
@@ -475,11 +477,16 @@ class ThinkDataQuery(BaseTga):
475
477
  gol_e = e
476
478
  BMOBJ.remove_file(unique_path)
477
479
  BMOBJ.remove_folder(unique_path)
478
- if str(e).find("Read timed out") != -1:
480
+ # modify by yx 2024-05-08---加强出错重试---
481
+ # if str(e).find("Read timed out") != -1:
482
+ # BMOBJ.clog(ctx, f'retry {i}')
483
+ # continue
484
+ # else:
485
+ # break
486
+ if 1:
487
+ time.sleep(retry_wait)
479
488
  BMOBJ.clog(ctx, f"retry {i}")
480
489
  continue
481
- else:
482
- break
483
490
  if gol_e is not None:
484
491
  raise gol_e
485
492
 
@@ -1,6 +1,6 @@
1
1
  Metadata-Version: 2.1
2
2
  Name: tfduck-bsd
3
- Version: 0.19.1
3
+ Version: 0.19.2
4
4
  Summary: A small example package
5
5
  Home-page: UNKNOWN
6
6
  Author: yuanxiao
@@ -1 +0,0 @@
1
- __version__="0.19.1"
File without changes
File without changes
File without changes
File without changes
File without changes