Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Cannot write to kettlejobs/incremental-public-L_TVA/PAYS.ktr at ./sqlserver2pgsql.pl line 1136. #167

Open
hobbes opened this issue Sep 7, 2022 · 0 comments

Comments

@hobbes
Copy link

hobbes commented Sep 7, 2022

Hello,

I get these errors when I try to create the kettle jobs:

./sqlserver2pgsql.pl -b tables-before.sql -a tables-after.sql -u tables-unsure.sql -k kettlejobs -sd SOURCEDB -sh sqlserverip -su USERNAME -sw USERPW -pd postgresdb -ph localhost -pu user -pw pass -f tables.sql 
Warning: because of its length, the constraint name I_FOURNISSEUR_CONTESTATION$I_FOURNISSEURI_FOURNISSEUR_CONTESTATION is ignored and will be set by Postgres at execution time.
Warning: because of its length, the constraint name SSMA_CC$I_FOURNISSEUR_CONTESTATION$REF_FOURNISSEUR$disallow_zero_length is ignored and will be set by Postgres at execution time.
Warning: because of its length, the constraint name I_FOURNISSEUR_FOURNITURE$I_FOURNISSEUR_PRODUITI_FOURNISSEUR_FOURNITURE is ignored and will be set by Postgres at execution time.
Cannot write to kettlejobs/incremental-public-L_TVA/PAYS.ktr at ./sqlserver2pgsql.pl line 1136.


I guess that the constraint are not problematic, but the last one is scarier... it seems to stop the job creation...

ok, I understood it: there's a / in the table name, which is the directory separator in file paths... so I can deal with it myself, but maybe it's possible to add some logic there in the script.

Thanks a lot for your work, deeply appreciated.

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

No branches or pull requests

1 participant