Search found 11 matches

by yang
Wed Jul 25, 2012 3:07 am
Forum: Vertica SQL
Topic: with statement
Replies: 1
Views: 4981

with statement

Is there anything like the `with` statement available in Vertica? (I.e. like subqueries but reusable, avoiding creating temp tables.)
by yang
Mon Jul 09, 2012 8:15 pm
Forum: Vertica Data Load
Topic: How to load a simple CSV?
Replies: 22
Views: 56152

Re: How to load a simple CSV?

In short I expect the same result as if I loaded it into PostgreSQL - that the first cell contains (in C escaped string literal syntax) "a\"b", and that the second cell contains "c\nd". Also be careful with the "smart" double quotes - if you're just copying from this forum then you need to replace t...
by yang
Thu Jul 05, 2012 9:29 am
Forum: ODBC
Topic: isql works, not python: NoSQLGetPrivateProfileString error
Replies: 4
Views: 15555

Re: isql works, not python: NoSQLGetPrivateProfileString err

I did actually already see that but configuring vertica.ini/VERTICAINI doesn't appear to be doing anything for me.

Edit: Actually it does work. I wasn't exporting my environment variable correctly.
by yang
Thu Jul 05, 2012 9:24 am
Forum: Vertica SQL
Topic: Simple hash function?
Replies: 4
Views: 11582

Re: Simple hash function?

Thanks. I searched the docs but didn't see this. I was also looking under the wrong section (string functions) - for some reason it's considered a mathematical function, alongside sin and sqrt.
by yang
Thu Jul 05, 2012 4:23 am
Forum: Python
Topic: Connecting to Vertica
Replies: 2
Views: 23041

Re: Connecting to Vertica

Jim, what are you using for your connection string? (See my related question at viewtopic.php?f=21&t=287)
by yang
Thu Jul 05, 2012 4:21 am
Forum: ODBC
Topic: isql works, not python: NoSQLGetPrivateProfileString error
Replies: 4
Views: 15555

isql works, not python: NoSQLGetPrivateProfileString error

Anyone know why this might be happening? $ cat ~/.odbc.ini [ODBC Data Sources] VerticaDSN = "bigbang" [bigbang] Driver = /opt/vertica/lib64/libverticaodbc.so Database = bigbang Servername = localhost UID = dbadmin PWD = ... Port = 5433 $ LD_LIBRARY_PATH=/opt/vertica/lib64:/opt/vertica/lib64/libverti...

Go to advanced search