Networks-Learning / stackexchange-dump-to-postgres

Python scripts to import StackExchange data dump into Postgres DB.
MIT License
83 stars 29 forks source link

`moveTableToSchema` is executed regardless of the input of the user #18

Closed rodrigomorales1 closed 3 years ago

rodrigomorales1 commented 3 years ago

Regardless of the user inputting any character, the function moveTableToSchema is executed, the only condition is that the schema specified through the --schema-name argument is different than public (see relevant code below)

https://github.com/Networks-Learning/stackexchange-dump-to-postgres/blob/49d8358a83bb573c63c2715b122afb2fca98376c/load_into_pg.py#L400-L408

rodrigomorales1 commented 3 years ago

With #21, moveTableToSchema is no longer needed because all operations are done in the specified schema.