vertica

does anyone know the format of an odbc connection string for vertica?

筅森魡賤 提交于 2019-11-29 09:03:21
问题 I'm using the following: DRIVER={Vertica ODBC Driver 4.1}; SERVER=lnxtabdb01.xxxx.com; PORT=5433; DATABASE=vertica; USER=dbadmin; PASSWORD=vertica; OPTION=3; i'm getting this error and I just wanted to make sure that my connection string was cool before I check other possible issues. error: EnvironmentError: System.Data.Odbc.OdbcException (0x80131937): ERROR [28000] FATAL: no Vertica user name specified in startup packet UPDATE: For now i'm just using a System Data Source Name in Windows

Concat GROUP BY in Vertica SQL

橙三吉。 提交于 2019-11-28 12:29:44
I need to get a comma separated list of ids as a field for a messy third party api :s This is a simplified version of what I am trying to achieve. | id | name | |====|======| | 01 | greg | | 02 | paul | | 03 | greg | | 04 | greg | | 05 | paul | SELECT name, {some concentration function} AS ids FROM table GROUP BY name Returning | name | ids | |======|============| | greg | 01, 03, 04 | | paul | 02, 05 | I know MySQL has the CONCAT_GROUP function and I was hoping to solve this problem without installing more functions because of the environment. Maybe I can solve this problem using an OVER

Connect R and Vertica using RODBC

痴心易碎 提交于 2019-11-28 11:24:30
This is my first time connecting to Vertica. I have already connected to a MySQL database sucessfully by using RODBC library. I have the database setup in vertica and I installed the windows 64-bit ODBC driver from https://my.vertica.com/download-community-edition/ When I tried to connect to vertica using R, I get the below error: channel = odbcDriverConnect(connection = "Server=myserver.edu;Database=mydb;User=mydb;Password=password") Warning messages: 1: In odbcDriverConnect(connection = "Server=myserver.edu;Database=mydb;User=mydb;Password=password") : [RODBC] ERROR: state IM002, code 0,

Connect R and Vertica using RODBC

邮差的信 提交于 2019-11-27 19:21:12
问题 This is my first time connecting to Vertica. I have already connected to a MySQL database sucessfully by using RODBC library. I have the database setup in vertica and I installed the windows 64-bit ODBC driver from https://my.vertica.com/download-community-edition/ When I tried to connect to vertica using R, I get the below error: channel = odbcDriverConnect(connection = "Server=myserver.edu;Database=mydb;User=mydb;Password=password") Warning messages: 1: In odbcDriverConnect(connection =

Concat GROUP BY in Vertica SQL

 ̄綄美尐妖づ 提交于 2019-11-27 07:02:53
问题 I need to get a comma separated list of ids as a field for a messy third party api :s This is a simplified version of what I am trying to achieve. | id | name | |====|======| | 01 | greg | | 02 | paul | | 03 | greg | | 04 | greg | | 05 | paul | SELECT name, {some concentration function} AS ids FROM table GROUP BY name Returning | name | ids | |======|============| | greg | 01, 03, 04 | | paul | 02, 05 | I know MySQL has the CONCAT_GROUP function and I was hoping to solve this problem without