[MCOL-270] MEDIUMINT data type not supported Created: 2016-08-18 Updated: 2019-09-12 Resolved: 2019-09-12 |
|
| Status: | Closed |
| Project: | MariaDB ColumnStore |
| Component/s: | N/A |
| Affects Version/s: | None |
| Fix Version/s: | 1.4.0 |
| Type: | New Feature | Priority: | Minor |
| Reporter: | Andrew Hutchings (Inactive) | Assignee: | Bharath Bokka (Inactive) |
| Resolution: | Fixed | Votes: | 2 |
| Labels: | contribution, relnote | ||
| Epic Link: | ColumnStore Compatibility Improvements |
| Sprint: | 2019-06 |
| Description |
|
Not supported in Columnstore |
| Comments |
| Comment by Andrew Hutchings (Inactive) [ 2019-01-15 ] | ||||||||||||||||||||||||||||
|
Community contribution merged. We need tests written in the regression suite for this. elena.kotsinova, dleeyh who should be assigned this? | ||||||||||||||||||||||||||||
| Comment by Bharath Bokka (Inactive) [ 2019-09-12 ] | ||||||||||||||||||||||||||||
|
MEDIUMINT data type is now supported on 1.4.0-1. Git version info- Following are the examples of tests on MEDIUMINT datatype: MariaDB [mytest]> show create table t2 ;
------
------ MariaDB [mytest]> MariaDB [mytest]> insert into t2 values (16777215); MariaDB [test]> insert into t2 values(-1); MariaDB [mytest]> insert into t2 values (-8388609); MariaDB [mytest]> select * from t2;
----------
---------- MariaDB [test]> create table t(col1 mediumint unsigned) engine=columnstore; MariaDB [test]> show create table t;
------
------ MariaDB [test]> insert into t values(); MariaDB [test]> insert into t values(''); MariaDB [test]> insert into t values(16777215); MariaDB [test]> insert into t values(16777216); MariaDB [test]> insert into t values(-1); MariaDB [test]> insert into t values(0); MariaDB [test]> insert into t values(1); MariaDB [test]> select * from t;
----------
----------
----------
---------- MariaDB [test]> select avg(col1) from t;
--------------
-------------- MariaDB [test]> select * from t2 where col1<0 order by col1 desc;
----------
---------- The datatype works as expected. |