CREATE TABLE

CREATE TABLE

INSERT: 1500 rows

INSERT: 15000 rows

USE

"gt_db1"

"customer"

"custkey","bigint","",""
"name","varchar(25)","",""
"address","varchar(40)","",""
"nationkey","bigint","",""
"phone","varchar(15)","",""
"acctbal","decimal(12,2)","",""
"mktsegment","varchar(10)","",""
"comment","varchar(117)","",""

"Trino version: %
%
    └─ TableScan[table = gt_mysql1:gt_db1.customer->gt_db1.customer gt_mysql1.gt_db1.customer limit=10 columns=[custkey:bigint:bigint]]
           Layout: [custkey:bigint]
%
"

"Trino version: %
%
    └─ TableScan[table = gt_mysql1:gt_db1.customer->gt_db1.customer gt_mysql1.gt_db1.customer constraints=[ParameterizedExpression[expression=(""phone"") LIKE (?), parameters=[QueryParameter{jdbcType=Optional.empty, type=varchar(6), value=Optional[Slice{base=[B@%, baseOffset=0, length=6}]}]]] limit=10]
           Layout: [custkey:bigint, name:varchar(25), address:varchar(40), nationkey:bigint, phone:varchar(15), acctbal:decimal(12,2), mktsegment:varchar(10), comment:varchar(117)]
%
"

"Trino version: %
%
    └─ TableScan[table = gt_mysql1:gt_db1.orders->Query[SELECT sum(""totalprice"") AS ""_pfgnrtd_0"" FROM ""gt_mysql1"".""gt_db1"".""orders""] columns=[_pfgnrtd_0:decimal(38,2):decimal]]
           Layout: [_pfgnrtd:decimal(38,2)]
%
"

"Trino version: %
%
    └─ TableScan[table = gt_mysql1:gt_db1.orders->Query[SELECT ""orderdate"", sum(""totalprice"") AS ""_pfgnrtd_0"" FROM ""gt_mysql1"".""gt_db1"".""orders"" GROUP BY ""orderdate""] sortOrder=[orderdate:date:date ASC NULLS LAST] limit=10 columns=[orderdate:date:date, _pfgnrtd_0:decimal(38,2):decimal]]
           Layout: [orderdate:date, _pfgnrtd:decimal(38,2)]
%
"

"Trino version: %
%
    └─ TableScan[table = gt_mysql1:gt_db1.%->Query[SELECT % INNER JOIN %] limit=10 columns=%]]
%
"