Joinutility seperatorLogin utility separator Infobright.com
   
 
ENUM: Unsupported data type?
Posted: 28 October 2008 08:09 AM   Ignore ]  
Jr. Member
RankRank
Total Posts:  75
Joined  2008-10-22

Hi,

I just realised that brighthouse doesnt seem to support enum-columns.:

mysql> create table test (tc1 enum(‘a’,‘b’) null );
ERROR 8 (HY000): Unsupported data type.

What other datatypes are not supported? Does this include SET, too?
What about other string / numeric data types, types of the spatial extension?

CVH

Signature 

Chris (cvh@LE),
Leipzig, Germany

Profile
 
Posted: 28 October 2008 08:25 AM   Ignore ]   [ # 1 ]  
Jr. Member
Avatar
RankRank
Total Posts:  87
Joined  2008-08-18

Hi Chris,

The data types supported by Infobright can be found in the wiki here:

http://www.infobright.org/wiki/Supported_Data_Types_and_Values/

Regards,

Profile
 
Posted: 28 October 2008 08:46 AM   Ignore ]   [ # 2 ]  
Sr. Member
Avatar
RankRankRankRank
Total Posts:  763
Joined  2008-08-18

Hi Chris,

From performance perspective, enum may be emulated by varchar(...) comment ‘lookup’ . It stores varchar values in dictionary and internally uses numbers.
But you cannot check validity of input values in this way.

Best regards,

Signature 
Profile
 
Posted: 28 October 2008 09:21 AM   Ignore ]   [ # 3 ]  
Jr. Member
RankRank
Total Posts:  75
Joined  2008-10-22

Thanks Jakub,

Exactly what I wanted to know. Thanx

Chris

Signature 

Chris (cvh@LE),
Leipzig, Germany

Profile