Skip to content

Changes by applying your tool on Azure MySQL.#2

Open
mwallet wants to merge 32 commits into
ggarri:masterfrom
OptimaData:master
Open

Changes by applying your tool on Azure MySQL.#2
mwallet wants to merge 32 commits into
ggarri:masterfrom
OptimaData:master

Conversation

@mwallet
Copy link
Copy Markdown

@mwallet mwallet commented Apr 25, 2019

No description provided.

Copy link
Copy Markdown
Owner

@ggarri ggarri left a comment

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

LGTM, waiting for confirmation regarding some specifics on the code added

Comment thread bin/migrate.sh Outdated
echo "Done ($SECONDS)"

SECONDS=0
if [ ${DB_NAME} = "blpcore" ]
Copy link
Copy Markdown
Owner

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Would you mind to explain what you are trying to achieve with this? As far as I infer you are doing some content parsing on the generated export. In case that is the case you should have used the mysql_raw_dump.json rules which are meant to customize the way raw column data is exported from mysql

Copy link
Copy Markdown
Author

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

This commit is very case specific, I shouldn't have suggested it.

Martijn Wallet and others added 3 commits July 1, 2019 14:27
Fixes this error with PostgreSQL 12.5
Collecting psycopg2cffi==2.7.4
  Using cached psycopg2cffi-2.7.4.tar.gz (62 kB)
    ERROR: Command errored out with exit status 1:
     command: /usr/bin/python -c 'import sys, setuptools, tokenize; sys.argv[0] = '"'"'/tmp/pip-install-i8hAs8/psycopg2cffi/setup.py'"'"'; __file__='"'"'/tmp/pip-install-i8hAs8/psycopg2cffi/setup.py'"'"';f=getattr(tokenize, '"'"'open'"'"', open)(__file__);code=f.read().replace('"'"'\r\n'"'"', '"'"'\n'"'"');f.close();exec(compile(code, __file__, '"'"'exec'"'"'))' egg_info --egg-base /tmp/pip-pip-egg-info-y101_D
         cwd: /tmp/pip-install-i8hAs8/psycopg2cffi/
    Complete output (7 lines):
    Error: could not determine PostgreSQL version from '12.5'
    ================================================================================
    
    Found libpq at:
     -> /usr/lib/x86_64-linux-gnu/libpq.so
    
    ================================================================================
    ----------------------------------------
ERROR: Command errored out with exit status 1: python setup.py egg_info Check the logs for full command output.
Update requirements for psycopg2cffi
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

3 participants