1
0
mirror of https://github.com/mariadb-corporation/mariadb-columnstore-engine.git synced 2025-08-29 03:22:01 +03:00
Files
mariadb-columnstore-engine/mysql-test/columnstore/devregression/t/mcs7121_regression_bug3783.test
Daniel Lee 4c9d6e39ac Dlee mtr restructure (#2494)
* Restructured test suites and added autopilot and extended suites

* Updated autopilot with correct branch - develop

* Moved setup test case to a 'setup' directory, for consistency

* Fixed a path issue

* Updated some tests cases to keep up with development

Co-authored-by: root <root@rocky8.localdomain>
2022-08-09 21:20:56 +03:00

23 lines
772 B
Plaintext

# -------------------------------------------------------------- #
# Test case migrated from regression test suite: bug3783.sql
#
# Author: Daniel Lee, daniel.lee@mariadb.com
# -------------------------------------------------------------- #
#
--source ../include/have_columnstore.inc
#
USE tpch1;
#
drop table if exists bug3783;
set max_length_for_sort_data = 8192;
create table bug3783 (id int, name varchar(1000))engine=columnstore;
insert into bug3783 values (1,'yionfsdayfeiwajg'),(2,'gretsuyhejkstj jkete');
select id, hex(name) from bug3783 order by 1,2;
select id, group_concat(name) from bug3783 group by 1 order by 1;
select id, min(repeat(name,3)) from bug3783 group by 1 order by 1;
select id, repeat(name,3) from bug3783 order by 1,2;
drop table bug3783;
#