Looks fine to me, but of course you're free to try a different compiler of your choice.
Stefan
-------- Original message --------From: "Sharma, Sreejith"
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 "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
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)
To: users-list@monetdb.org
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
_______________________________________________ users-list mailing list users-list@monetdb.org https://clicktime.symantec.com/a/1/EiR5ebgK8iUa4CLKJS5IhZJEZAKRFGZRDFU FUCIYntY=?d=l99sUyvGli3efslX3N2ZiOXRT2oUDQGPF4w16I0hM9zUMoOkJQMri6AAcO e4XlOqB4NFs5YhzH2NIIET0LyAMDvzRQkCYnLv2cWSJsLXuGRkmOTx5BxDA1nwzncmE0Ex YksGCv1OTBY5h8YekFgUFxCvagkJjjUM6qSdc8J_3jJdMcNfFBT-6B5sCtZZWTBqGFRvVr mq4XFYO_7DYsI9LdIJf7p8tqhBL-xSVWB3pCxqFx46Iyjz8nidH-BXBjg-pRI2Gk56GQ4p kiPFSFlud_PVfn48XxozGVFit5p6x7F-AVEgKrooyJUyAchXTTYPKW5qN60JUu-5toDlGZ U0tcE6B8a_-BAZmcVxJiZTehQx5mL1hAm0sBK2BdVeLD5BkXQ_JG8gnBigTg0N4E9I6b5C geHSGmxUBIKMr_4WO21MsBtAqElF9oRpXg%3D%3D&u=https%3A%2F%2Fwww.monetdb.o rg%2Fmailman%2Flistinfo%2Fusers-list
-- | Stefan.Manegold@CWI.nl | DB Architectures (DA) | | www.CWI.nl/~manegold/ | Science Park 123 (L321) | | +31 (0)20 592-4212 | 1098 XG Amsterdam (NL) | _______________________________________________ users-list mailing list users-list@monetdb.org https://clicktime.symantec.com/a/1/EiR5ebgK8iUa4CLKJS5IhZJEZAKRFGZRDFUFUCIYntY=?d=l99sUyvGli3efslX3N2ZiOXRT2oUDQGPF4w16I0hM9zUMoOkJQMri6AAcOe4XlOqB4NFs5YhzH2NIIET0LyAMDvzRQkCYnLv2cWSJsLXuGRkmOTx5BxDA1nwzncmE0ExYksGCv1OTBY5h8YekFgUFxCvagkJjjUM6qSdc8J_3jJdMcNfFBT-6B5sCtZZWTBqGFRvVrmq4XFYO_7DYsI9LdIJf7p8tqhBL-xSVWB3pCxqFx46Iyjz8nidH-BXBjg-pRI2Gk56GQ4pkiPFSFlud_PVfn48XxozGVFit5p6x7F-AVEgKrooyJUyAchXTTYPKW5qN60JUu-5toDlGZU0tcE6B8a_-BAZmcVxJiZTehQx5mL1hAm0sBK2BdVeLD5BkXQ_JG8gnBigTg0N4E9I6b5CgeHSGmxUBIKMr_4WO21MsBtAqElF9oRpXg%3D%3D&u=https%3A%2F%2Fwww.monetdb.org%2Fmailman%2Flistinfo%2Fusers-list _______________________________________________ users-list mailing list users-list@monetdb.org https://www.monetdb.org/mailman/listinfo/users-list