The world's fastest open query engine for sub-second analytics both on and off the data lakehouse. With the flexibility to support nearly any scenario, StarRocks provides best-in-class performance for multi-dimensional analytics, real-time analytics, and ad-hoc queries. A Linux Foundation project.
Steps to reproduce the behavior (Required)
CREATE TABLE
lineitem
(l_shipdate
date NOT NULL COMMENT "",l_orderkey
int(11) NOT NULL COMMENT "",l_linenumber
int(11) NOT NULL COMMENT "",l_partkey
int(11) NOT NULL COMMENT "",l_suppkey
int(11) NOT NULL COMMENT "",l_quantity
decimal64(15, 2) NOT NULL COMMENT "",l_extendedprice
decimal64(15, 2) NOT NULL COMMENT "",l_discount
decimal64(15, 2) NOT NULL COMMENT "",l_tax
decimal64(15, 2) NOT NULL COMMENT "",l_returnflag
varchar(1) NOT NULL COMMENT "",l_linestatus
varchar(1) NOT NULL COMMENT "",l_commitdate
date NOT NULL COMMENT "",l_receiptdate
date NOT NULL COMMENT "",l_shipinstruct
varchar(25) NOT NULL COMMENT "",l_shipmode
varchar(10) NOT NULL COMMENT "",l_comment
varchar(44) NOT NULL COMMENT "" ) ENGINE=OLAP DUPLICATE KEY(l_shipdate
,l_orderkey
) COMMENT "OLAP" DISTRIBUTED BY HASH(l_orderkey
) BUCKETS 96 PROPERTIES ( "replication_num" = "1", "colocate_with" = "tpch2", "in_memory" = "false", "storage_format" = "DEFAULT", "enable_persistent_index" = "false" );select count(a.L_ORDERKEY),count(a.L_COMMENT) from (select L_ORDERKEY, L_COMMENT from lineitem order by L_COMMENT asc limit 50000, 100000) as a;
Expected behavior (Required)
Query returns correctly
Real behavior (Required)
StarRocks version (Required)
select current_version()
MAIN-RELEASE-f40a78d