You've already forked mariadb-columnstore-engine
mirror of
https://github.com/mariadb-corporation/mariadb-columnstore-engine.git
synced 2025-07-30 19:23:07 +03:00
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>
This commit is contained in:
@ -0,0 +1,36 @@
|
||||
USE tpch1;
|
||||
drop table if exists bug5289a;
|
||||
Warnings:
|
||||
Note 1051 Unknown table 'tpch1.bug5289a'
|
||||
drop table if exists bug5289b;
|
||||
Warnings:
|
||||
Note 1051 Unknown table 'tpch1.bug5289b'
|
||||
drop view if exists bug5289b_v;
|
||||
Warnings:
|
||||
Note 4092 Unknown VIEW: 'tpch1.bug5289b_v'
|
||||
create table bug5289a(
|
||||
a decimal(10,0),
|
||||
b varchar(30))
|
||||
engine=columnstore;
|
||||
create table bug5289b(
|
||||
a char(4),
|
||||
b varchar(30))
|
||||
engine=columnstore;
|
||||
insert into bug5289a values (1, 1), (2, 2), (3, 3), (4, 4);
|
||||
insert into bug5289b values ('1', '1'), ('3', '3'), ('5', '5');
|
||||
create or replace view bug5289_v as
|
||||
select cast(a as decimal(10,0)) as a, b from bug5289b;
|
||||
select 'q1', count(*) from bug5289a a,bug5289_v b where a.a = b.a;
|
||||
q1 count(*)
|
||||
q1 2
|
||||
select 'q2', count(*) from bug5289a a left join bug5289_v b on (a.a = b.a);
|
||||
q2 count(*)
|
||||
q2 4
|
||||
select 'q3', count(*) from bug5289a a, bug5289b b where a.a = cast(b.a as decimal(10,0));
|
||||
q3 count(*)
|
||||
q3 2
|
||||
drop table if exists bug5289a;
|
||||
drop table if exists bug5289b;
|
||||
drop view if exists bug5289b_v;
|
||||
Warnings:
|
||||
Note 4092 Unknown VIEW: 'tpch1.bug5289b_v'
|
Reference in New Issue
Block a user