Search found 3 matches
- Fri Oct 19, 2012 11:35 am
- Forum: Vertica SQL
- Topic: Automatic rollback transaction
- Replies: 1
- Views: 7958
Automatic rollback transaction
I have a long script, that loads several temp tables (so no commit happens here) using COPY, then performs joins and so on. In the end of the script I have a COMMIT statement. I want to implement logic, like: IF no_errors_happened() THEN COMMIT, else ROLLBACK; Is it possible somehow in Vertica 5.1? ...
- Fri Oct 05, 2012 1:23 pm
- Forum: Vertica Data Load
- Topic: COPY FROM LOCAL '/foo_bar.csv' in vsql v5.1.0-0 hangs.
- Replies: 2
- Views: 7401
Re: COPY FROM LOCAL '/foo_bar.csv' in vsql v5.1.0-0 hangs.
vsql and vertica are the same version. But I do copy over the network. So, it seems that the only solution for now is to use direct copy on vertica instance...
- Fri Oct 05, 2012 12:21 pm
- Forum: Vertica Data Load
- Topic: COPY FROM LOCAL '/foo_bar.csv' in vsql v5.1.0-0 hangs.
- Replies: 2
- Views: 7401
COPY FROM LOCAL '/foo_bar.csv' in vsql v5.1.0-0 hangs.
Hello! We have vertica 5.1 installed and use vsql v5.1.0-0. It works perfectly while loading big files like this: cat /foo_bar.csv | vsql ... -c "COPY .... FROM LOCAL STDIN" , but when we issue the similar command vsql ... -c "COPY .... FROM LOCAL '/foo_bar.csv'" , it hangs when size of file is over...