mirror of https://github.com/citusdata/citus.git
move columnar test files
parent
b1de1ffb6f
commit
a055b829ee
|
@ -1,20 +0,0 @@
|
||||||
--
|
|
||||||
-- Test the CREATE statements related to cstore.
|
|
||||||
--
|
|
||||||
-- Create uncompressed table
|
|
||||||
CREATE TABLE contestant (handle TEXT, birthdate DATE, rating INT,
|
|
||||||
percentile FLOAT, country CHAR(3), achievements TEXT[])
|
|
||||||
USING cstore_tableam;
|
|
||||||
-- Create compressed table with automatically determined file path
|
|
||||||
-- COMPRESSED
|
|
||||||
CREATE TABLE contestant_compressed (handle TEXT, birthdate DATE, rating INT,
|
|
||||||
percentile FLOAT, country CHAR(3), achievements TEXT[])
|
|
||||||
USING cstore_tableam;
|
|
||||||
-- Test that querying an empty table works
|
|
||||||
ANALYZE contestant;
|
|
||||||
SELECT count(*) FROM contestant;
|
|
||||||
count
|
|
||||||
-------
|
|
||||||
0
|
|
||||||
(1 row)
|
|
||||||
|
|
Loading…
Reference in New Issue