Hi Stefan,
Here are the details you had asked for. Any help here soon is appreciated.
What's the (SQL-)type of your column COLUMN_NAME? –
INTEGER
Which version of MonetDB are you using? –
MonetDB 5 server v11.27.9 "Jul2017-SP2" (64-bit, 128-bit integers)
Which version of the MonetDB ODBC driver are you using?
ODBC Driver - /usr/lib64/libMonetODBC.so (11.27.9 and tried 11.27.5 updated)
Which compiler did you use to compile MonetDB on which OS?
configure:5030: checking for C compiler version
configure:5039: gcc --version >&5
gcc (GCC) 4.4.7 20120313 (Red Hat 4.4.7-16)
#define PACKAGE_NAME "MonetDB"
| #define PACKAGE_TARNAME "MonetDB"
| #define PACKAGE_VERSION "11.27.9"
| #define PACKAGE_STRING "MonetDB 11.27.9"
| #define PACKAGE_BUGREPORT "https://bugs.monetdb.org/"
| #define PACKAGE_URL "https://www.monetdb.org/"
| #define PACKAGE "MonetDB"
| #define VERSION "11.27.9"
| #define HOST "x86_64-pc-linux-gnu"
| #define MONETDB_RELEASE "Jul2017-SP2"
What did configure say about what the largest supported integer type is?
hge_bits='128'
largest integer type: ${hge_bits} bits"
Regards,
Sreejith
From: users-list [mailto:users-list-bounces+sreejith.sharma=harman.com@monetdb.org]
On Behalf Of Stefan Manegold
Sent: Monday, January 01, 2018 7:05 AM
To: Communication channel for MonetDB users <users-list@monetdb.org>
Subject: [EXTERNAL] Re: MonetDB header Datatype Question
What's the (SQL-)type of your column COLUMN_NAME?
Which version of MonetDB are you using?
Which version of the MonetDB ODBC driver are you using?
Which compiler did you use to compile MonetDB on which OS?
What did configure say about what the largest supported integer type is?
-------- Original message --------
From: "Sharma, Sreejith" <Sreejith.Sharma@harman.com>
Date: 12/31/17 18:33 (GMT+01:00)
Subject: RE: MonetDB header Datatype Question
All,
Here is the specifics of error –
typeODBC: SQL_UNKNOWN_TYPE mDataType: HG_NULL_VALUE(hgColumnType) precision: 0 scale: 0 nullable:
true Column name: L6.
Regards,
Sreejith
From: Sharma, Sreejith
Sent: Sunday, December 31, 2017 11:21 AM
To: users-list@monetdb.org
Subject: MonetDB header Datatype Question
All,
I would like to know what is the MonetDB header datatype if no alias or column name provided? In my BI application, am getting an error while using SELECT SUM(DISTINCT COLUMN_NAME) FROM
TABLE_NAME. I see it works in 11.27.9 build when installed in CentOS. However, when i download the source tarball and recompile the code, this fox seems to be lost. Is there anywhere this can be identified? Or fixed?
Regards,
Sreejith