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
18 lines
531 B
Plaintext
18 lines
531 B
Plaintext
DROP DATABASE IF EXISTS mcol_4611;
|
|
CREATE DATABASE mcol_4611;
|
|
USE mcol_4611;
|
|
DROP TABLE IF EXISTS t1;
|
|
CREATE TABLE t1 (a DECIMAL(18,0)) ENGINE=ColumnStore;
|
|
INSERT INTO t1 VALUES (999999999999999999);
|
|
SELECT a MOD 10000 FROM t1;
|
|
a MOD 10000
|
|
9999
|
|
DROP TABLE IF EXISTS t1;
|
|
CREATE TABLE t1 (a DECIMAL(18,0)) ENGINE=ColumnStore;
|
|
INSERT INTO t1 VALUES (999999999999999999);
|
|
SELECT RAND(9999), RAND(a MOD 10000) FROM t1;
|
|
RAND(9999) RAND(a MOD 10000)
|
|
0.7361292641015065 0.7361292641015065
|
|
DROP TABLE IF EXISTS t1;
|
|
DROP DATABASE mcol_4611;
|