• Keine Ergebnisse gefunden

1 Organizational Questions

N/A
N/A
Protected

Academic year: 2022

Aktie "1 Organizational Questions"

Copied!
2
0
0

Wird geladen.... (Jetzt Volltext ansehen)

Volltext

(1)

UV Distributed Information Management Summer term 2021

Assignment 01 - Q&A

This document serves as reference for answers to (possibly rephrased) questions that are related to Assignment 01. The list of question-answer pairs will be extended with new questions (in case they pop up).

1 Organizational Questions

O1Do we have to submit the questionnaire as group or per student?

It suffices to submit the questionnaire once per group.

O2What should we do if a group member is neither reacting nor contributing?

Please send me an email with the name of the student. I will try to contact the student, and hopefully the group will then work out. In any case, the group members that contribute to the assignment will not be punished for inactive group members.

2 Technical Questions

T1 The psycopg2 package is installed (e.g., via pip) but Python reports a ModuleNotFoundError. What can I do?

This possibly means that thepsycopg2package was not installed for the specific Python version (binary) that you are using to execute the code. Try to uninstallpsycopg2usingpip uninstall psycopg2) and reinstall it using one of the following commands (depending on how you execute Python on your system):

python -m pip install psycopg2 py -m pip install psycopg2 python3 -m pip install psycopg2

T2When I execute the\COPYcommands of the assignment description, PostgreSQL does not find the files to import. How to find them?

(2)

For the \COPYcommands to work as provided in the assignment description, you have to either navigate into the folder with the files in thepsqlcommand-line tool or you provide the

\COPYcommands with the full path.

Assuming the files are located in folder/home/user/myfolder/, thepsqlcommand-line tool can navigate into this folder as follows:

\cd /home/user/myfolder/

Afterwards, the\COPYcommands should work as given in the assignment description.

However, you can also use the full path in the\COPYcommands as follows:

\COPY titles FROM /home/user/myfolder/titles.basics_no_header_array_format.tsv WITH DELIMITER E'\t';

\COPY names FROM /home/user/myfolder/name.basics_no_header_array_format.tsv WITH DELIMITER E'\t';

T3The\COPYcommand does not work in pgAdmin. What to do?

In general, we do not recommend to use pgAdmin, but thepsqlcommand-line tool (akaPSQL ShellorPSQL terminal) instead. Nonetheless, you can also import the data files with pgAdmin as follows (files are located in folder/home/user/myfolder/):

COPY titles FROM '/home/user/myfolder/titles.basics_no_header_array_format.tsv' WITH DELIMITER E'\t';

COPY names FROM '/home/user/myfolder/name.basics_no_header_array_format.tsv' WITH DELIMITER E'\t';

The main difference (syntactically) is the usage of the apostrophes in the path to the files.

Referenzen

ÄHNLICHE DOKUMENTE

First, (P2) does not imply that changes in the mental states of a person are always connected with neurological changes in his brains, but only that these psychological changes are

A deoxyribodipyrimidine photolyase family protein 559 showed highest induction in both origins after the 2 °C UVR treatment, 560 X-ray repair cross-complementing protein 6

The large-scale drift bodies deposited in the entire eastern Fram Strait are associated with 371  . the northbound West Spitsbergen Current in the southern part, and from the

To match the market stochasticity we introduce the new market-based price probability measure entirely determined by probabilities of random market time-series of the

Our combined geochemical data reveal for the 838 fi rst time depleted compositions in igneous samples from the Beata 839 Ridge besides common LIP-like and enriched

Our quantitative findings suggest that migrants prefer a remittance to arrive as cash than as groceries when stakes are high ($400), but not when they are low ($200).. This result

The need for business intelligence systems can be easily explained if we study the current economic context: to survive in today's competitive agricultural and economic conditions a

Additionally, missForest provides an OOB imputation error estimate which can be ex- tracted using the same $ notation as with the imputed data matrix:P.