You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
…hdown.sql under catalog pg failed (#4419)
### What changes were proposed in this pull request?
Fix the jdbc-postgresql/00004_query_pushdown.sql under catalog pg
failed. Because the explain result of the join query has random left and
right table.
### Why are the changes needed?
Fix: #3929
### Does this PR introduce _any_ user-facing change?
NO
### How was this patch tested?
Exist testers
…hdown.sql under catalog pg failed (#4434)
### What changes were proposed in this pull request?
Fix the jdbc-postgresql/00004_query_pushdown.sql under catalog pg
failed. Because the explain result of the join query has random left and
right table.
### Why are the changes needed?
Fix: #3929
### Does this PR introduce _any_ user-facing change?
NO
### How was this patch tested?
Exist testers
Co-authored-by: Yuhui <[email protected]>
Version
main branch
Describe what's wrong
pg:jdbc-postgresql/00004_query_pushdown.sql, FAIL, 7.305, Execute sql in the tester jdbc-postgresql/00004_query_pushdown.sql under catalog pg failed.
Error message and/or stacktrace
pg:jdbc-postgresql/00004_query_pushdown.sql, FAIL, 7.305, Execute sql in the tester jdbc-postgresql/00004_query_pushdown.sql under catalog pg failed.
Sql:
explain select customer.custkey, orders.orderkey from customer join orders on customer.custkey = orders.custkey order by orders.orderkey limit 10;
Expect:
"Trino version: %
%
TableScan[table = gt_postgresql:gt_db1.orders->Query[SELECT % INNER JOIN %] limit=10 columns=%]
%
"
Actual:
"Trino version: 435
Fragment 0 [SINGLE]
Output layout: [custkey, orderkey]
Output partitioning: SINGLE []
Output[columnNames = [custkey, orderkey]]
│ Layout: [custkey:bigint, orderkey:bigint]
│ Estimates: {rows: 10 (180B), cpu: 0, memory: 0B, network: 0B}
└─ TopN[count = 10, orderBy = [orderkey ASC NULLS LAST]]
│ Layout: [custkey:bigint, orderkey:bigint]
│ Estimates: {rows: 10 (180B), cpu: ?, memory: ?, network: ?}
└─ LocalExchange[partitioning = SINGLE]
│ Layout: [custkey:bigint, orderkey:bigint]
│ Estimates: {rows: ? (?), cpu: 0, memory: 0B, network: 0B}
└─ RemoteSource[sourceFragmentIds = [1]]
Layout: [custkey:bigint, orderkey:bigint]
Fragment 1 [SOURCE]
Output layout: [custkey, orderkey]
Output partitioning: SINGLE []
TableScan[table = gt_postgresql:gt_db1.customer->Query[SELECT l.""custkey"" AS ""custkey_0"", r.""orderkey"" AS ""orderkey_1"", r.""custkey"" AS ""custkey_2"" FROM (SELECT ""custkey"" FROM ""gt_db1"".""customer"") l INNER JOIN (SELECT ""orderkey"", ""custkey"" FROM ""gt_db1"".""orders"") r ON l.""custkey"" = r.""custkey""] sortOrder=[orderkey_1:bigint:int8 ASC NULLS LAST] limit=10 columns=[orderkey_1:bigint:int8, custkey_0:bigint:int8]]
Layout: [custkey:bigint, orderkey:bigint]
Estimates: {rows: ? (?), cpu: ?, memory: 0B, network: 0B}
orderkey := orderkey_1->orderkey_1:bigint:int8
custkey := custkey_0->custkey_0:bigint:int8
"
How to reproduce
https://github.com/datastrato/gravitino-test/actions/workflows/test-on-eks.yml
Additional context
No response
The text was updated successfully, but these errors were encountered: