From 47dd9a6e3793d04259b29db8abf29fa6fd289fa5 Mon Sep 17 00:00:00 2001 From: godp21 <godp21@inf.ufpr.br> Date: Wed, 6 Apr 2022 10:28:16 -0300 Subject: [PATCH] testing some logs --- database/actions.py | 1 - requirements.txt | 4 ++-- settings.py | 4 ++-- 3 files changed, 4 insertions(+), 5 deletions(-) diff --git a/database/actions.py b/database/actions.py index bdf0648..3b2cdcf 100644 --- a/database/actions.py +++ b/database/actions.py @@ -67,7 +67,6 @@ def insert(file_name, table, year, offset=2, delimiters=[';', '\\n', '"'], null= trans = connection.begin() ttable = temporary_data(connection, file_name, table, year, offset, delimiters, null) - write(ttable) table.insert_from_temporary(ttable, bind=connection) trans.commit() diff --git a/requirements.txt b/requirements.txt index c3861e1..01f5f83 100644 --- a/requirements.txt +++ b/requirements.txt @@ -10,7 +10,7 @@ lazy-object-proxy==1.4.1 manage.py==0.2.10 mccabe==0.6.1 numpy==1.16.3 -pandas==0.24.2 +pandas==0.25.0 pexpect==4.7.0 pickleshare==0.7.5 prompt-toolkit==2.0.9 @@ -26,7 +26,7 @@ pytz==2019.1 simplegeneric==0.8.1 six==1.12.0 SQLAlchemy==1.2.19 --e git://github.com/jvwinandy/sqlalchemy-monetdb.git@1.0.1#egg=sqlalchemy-monetdb +https://github.com/jvwinandy/sqlalchemy-monetdb/archive/master.zip traitlets==4.3.2 wcwidth==0.1.7 wrapt==1.11.1 diff --git a/settings.py b/settings.py index c18a6bd..17dfb63 100644 --- a/settings.py +++ b/settings.py @@ -30,10 +30,10 @@ DATABASE_USER_PASSWORD = 'monetdb' # Host to connect to. Bulk inserts won't work remotely unless you can specify an # absolute path in the server -DATABASE_HOST = 'localhost' +DATABASE_HOST = 'simcaqdb3.c3sl.ufpr.br' # Database to connect to -DATABASE = 'hotmapper_demo' +DATABASE = 'simcaq' # Column used to run aggregations and denormalizations YEAR_COLUMN = 'ano_censo' -- GitLab