From 8ee3ca915b23628dd3a561c3d131469c402b7dac Mon Sep 17 00:00:00 2001 From: Yam ZhengLim Date: Fri, 30 Sep 2022 22:14:42 +0800 Subject: [PATCH] debug mysql connector --- .gitignore | 4 +++- README.md | 1 + config/EXCHANGE_EXTRACT_SQL.json | 1 + .../exchange_extract_function.cpython-39.pyc | Bin 1698 -> 1698 bytes requirements.txt | 2 +- 5 files changed, 6 insertions(+), 2 deletions(-) diff --git a/.gitignore b/.gitignore index c198d2b..7aa8e17 100644 --- a/.gitignore +++ b/.gitignore @@ -1,2 +1,4 @@ testing_sql.txt -internal_masking_doc/ \ No newline at end of file +internal_masking_doc/ +config/local*.json +testing.sql \ No newline at end of file diff --git a/README.md b/README.md index c7ce83a..be67067 100644 --- a/README.md +++ b/README.md @@ -26,6 +26,7 @@ ###### Crontab log: grep CRON /var/log/syslog ###### Python log: grep 'mycmd' /var/log/syslog ###### Remove file cmd: rm -rf +###### git clone https://gitlab.com/CIEFWorldwideSdnBhd/data-management.git ``` ###### Example:- EXCHANGE_CONFIG.json diff --git a/config/EXCHANGE_EXTRACT_SQL.json b/config/EXCHANGE_EXTRACT_SQL.json index 3966e2d..2dee529 100644 --- a/config/EXCHANGE_EXTRACT_SQL.json +++ b/config/EXCHANGE_EXTRACT_SQL.json @@ -18,3 +18,4 @@ "wallets" : "SELECT *, now() AS '_source_loaded_at' FROM wallets;" } + diff --git a/exchange/extract/__pycache__/exchange_extract_function.cpython-39.pyc b/exchange/extract/__pycache__/exchange_extract_function.cpython-39.pyc index fb015d9b1a22a6248f912f3a17395200ccf47449..47cadd0f0572040c2ec355e54eb9568c6c74a12d 100644 GIT binary patch delta 26 gcmZ3)yNH)Nk(ZZ?0SMxMm~G^q#>nWrco8Ej08(29UH||9 delta 26 gcmZ3)yNH)Nk(ZZ?0SNAFW7)_(jgc{V@ghc608|zRhX4Qo diff --git a/requirements.txt b/requirements.txt index 2b6cbf0..15604fe 100644 --- a/requirements.txt +++ b/requirements.txt @@ -1,2 +1,2 @@ -mysql-connector-python==8.0.30 +mysql-connector-python==8.0.29 google-cloud-storage==2.5.0 \ No newline at end of file