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.
- {tfduck-bsd-0.19.1/tfduck_bsd.egg-info → tfduck-bsd-0.19.2}/PKG-INFO +1 -1
- {tfduck-bsd-0.19.1 → tfduck-bsd-0.19.2}/setup.py +1 -1
- tfduck-bsd-0.19.2/tfduck/__init__.py +1 -0
- {tfduck-bsd-0.19.1 → tfduck-bsd-0.19.2}/tfduck/tga/tga.py +10 -3
- {tfduck-bsd-0.19.1 → tfduck-bsd-0.19.2/tfduck_bsd.egg-info}/PKG-INFO +1 -1
- tfduck-bsd-0.19.1/tfduck/__init__.py +0 -1
- {tfduck-bsd-0.19.1 → tfduck-bsd-0.19.2}/LICENSE +0 -0
- {tfduck-bsd-0.19.1 → tfduck-bsd-0.19.2}/README.md +0 -0
- {tfduck-bsd-0.19.1 → tfduck-bsd-0.19.2}/bin/tfduck +0 -0
- {tfduck-bsd-0.19.1 → tfduck-bsd-0.19.2}/setup.cfg +0 -0
- {tfduck-bsd-0.19.1 → tfduck-bsd-0.19.2}/tfduck/bdp_sdk_py/__init__.py +0 -0
- {tfduck-bsd-0.19.1 → tfduck-bsd-0.19.2}/tfduck/bdp_sdk_py/config/__init__.py +0 -0
- {tfduck-bsd-0.19.1 → tfduck-bsd-0.19.2}/tfduck/bdp_sdk_py/config/bdpmanager.py +0 -0
- {tfduck-bsd-0.19.1 → tfduck-bsd-0.19.2}/tfduck/bdp_sdk_py/config/table_config.py +0 -0
- {tfduck-bsd-0.19.1 → tfduck-bsd-0.19.2}/tfduck/bdp_sdk_py/example.py +0 -0
- {tfduck-bsd-0.19.1 → tfduck-bsd-0.19.2}/tfduck/bdp_sdk_py/opends/__init__.py +0 -0
- {tfduck-bsd-0.19.1 → tfduck-bsd-0.19.2}/tfduck/bdp_sdk_py/opends/opends.py +0 -0
- {tfduck-bsd-0.19.1 → tfduck-bsd-0.19.2}/tfduck/bdp_sdk_py/opends/sdk.py +0 -0
- {tfduck-bsd-0.19.1 → tfduck-bsd-0.19.2}/tfduck/common/__init__.py +0 -0
- {tfduck-bsd-0.19.1 → tfduck-bsd-0.19.2}/tfduck/common/defines.py +0 -0
- {tfduck-bsd-0.19.1 → tfduck-bsd-0.19.2}/tfduck/common/defines_clean.py +0 -0
- {tfduck-bsd-0.19.1 → tfduck-bsd-0.19.2}/tfduck/common/extendEncoder.py +0 -0
- {tfduck-bsd-0.19.1 → tfduck-bsd-0.19.2}/tfduck/main.py +0 -0
- {tfduck-bsd-0.19.1 → tfduck-bsd-0.19.2}/tfduck/oss/__init__.py +0 -0
- {tfduck-bsd-0.19.1 → tfduck-bsd-0.19.2}/tfduck/oss/oss.py +0 -0
- {tfduck-bsd-0.19.1 → tfduck-bsd-0.19.2}/tfduck/pyspark_k8s/__init__.py +0 -0
- {tfduck-bsd-0.19.1 → tfduck-bsd-0.19.2}/tfduck/pyspark_k8s/k8s_manage.py +0 -0
- {tfduck-bsd-0.19.1 → tfduck-bsd-0.19.2}/tfduck/pyspark_k8s/spark_manage.py +0 -0
- {tfduck-bsd-0.19.1 → tfduck-bsd-0.19.2}/tfduck/s3/__init__.py +0 -0
- {tfduck-bsd-0.19.1 → tfduck-bsd-0.19.2}/tfduck/s3/s3oper.py +0 -0
- {tfduck-bsd-0.19.1 → tfduck-bsd-0.19.2}/tfduck/sagemaker/__init__.py +0 -0
- {tfduck-bsd-0.19.1 → tfduck-bsd-0.19.2}/tfduck/sagemaker/saoper.py +0 -0
- {tfduck-bsd-0.19.1 → tfduck-bsd-0.19.2}/tfduck/serverless_k8s/__init__.py +0 -0
- {tfduck-bsd-0.19.1 → tfduck-bsd-0.19.2}/tfduck/serverless_k8s/k8s_manage.py +0 -0
- {tfduck-bsd-0.19.1 → tfduck-bsd-0.19.2}/tfduck/serverless_k8s/k8s_task.py +0 -0
- {tfduck-bsd-0.19.1 → tfduck-bsd-0.19.2}/tfduck/tga/__init__.py +0 -0
- {tfduck-bsd-0.19.1 → tfduck-bsd-0.19.2}/tfduck/tga/base_tga.py +0 -0
- {tfduck-bsd-0.19.1 → tfduck-bsd-0.19.2}/tfduck/tga/predict_sql_ltv.py +0 -0
- {tfduck-bsd-0.19.1 → tfduck-bsd-0.19.2}/tfduck/tga/predict_sql_retain.py +0 -0
- {tfduck-bsd-0.19.1 → tfduck-bsd-0.19.2}/tfduck/tga/predict_sql_yh.py +0 -0
- {tfduck-bsd-0.19.1 → tfduck-bsd-0.19.2}/tfduck/tga/tga_test.py +0 -0
- {tfduck-bsd-0.19.1 → tfduck-bsd-0.19.2}/tfduck/tga/train_sql_ltv.py +0 -0
- {tfduck-bsd-0.19.1 → tfduck-bsd-0.19.2}/tfduck/tga/train_sql_retain.py +0 -0
- {tfduck-bsd-0.19.1 → tfduck-bsd-0.19.2}/tfduck/tga/train_sql_yh.py +0 -0
- {tfduck-bsd-0.19.1 → tfduck-bsd-0.19.2}/tfduck/thinkdata/__init__.py +0 -0
- {tfduck-bsd-0.19.1 → tfduck-bsd-0.19.2}/tfduck/thinkdata/query.py +0 -0
- {tfduck-bsd-0.19.1 → tfduck-bsd-0.19.2}/tfduck_bsd.egg-info/SOURCES.txt +0 -0
- {tfduck-bsd-0.19.1 → tfduck-bsd-0.19.2}/tfduck_bsd.egg-info/dependency_links.txt +0 -0
- {tfduck-bsd-0.19.1 → tfduck-bsd-0.19.2}/tfduck_bsd.egg-info/requires.txt +0 -0
- {tfduck-bsd-0.19.1 → tfduck-bsd-0.19.2}/tfduck_bsd.egg-info/top_level.txt +0 -0
|
@@ -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
|
-
|
|
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 +0,0 @@
|
|
|
1
|
-
__version__="0.19.1"
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|