mirror of
https://github.com/mariadb-corporation/mariadb-columnstore-engine.git
synced 2025-04-20 09:07:44 +03:00
* 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>
23 lines
598 B
Plaintext
23 lines
598 B
Plaintext
#
|
|
# Test case migrated from regression test suite:
|
|
# ./mysql/queries/100GB/dataValidation/dataval.004.sql
|
|
#
|
|
# Author: Susil, susil.behera@mariadb.com
|
|
#
|
|
|
|
-- source ../include/have_columnstore.inc
|
|
|
|
USE tpch1;
|
|
|
|
# Validate 359,654 of the 600 million rows - roughly 1 out of every 1670.
|
|
# Working with the functions currently available.
|
|
|
|
select * from lineitem
|
|
where
|
|
round(l_orderkey,-4) + 1024 = l_orderkey or
|
|
round(l_orderkey,-4) + 2048 = l_orderkey or
|
|
round(l_orderkey,-4) + 4096 = l_orderkey or
|
|
round(l_orderkey,-4) + 6144 = l_orderkey or
|
|
round(l_orderkey,-4) + 8192 = l_orderkey
|
|
order by 1, 2;
|