-
Notifications
You must be signed in to change notification settings - Fork 3.5k
Open
Description
Description:
Using Pinot passthrough queries in Trino 479, column aliases e.g., 'No. of msg' are no longer recognized. The same query works in Trino 446.
SELECT *
FROM "SELECT user, SUM(msg) AS 'No. of msg'
FROM test
WHERE p_date >= ToDateTime(ago('P29D'),
concat(concat('yyyy-', UPPER('MM'),''),'-dd',''))
AND id IN ('xx')
GROUP BY 1
ORDER BY 2 DESC
LIMIT 300";
Expected behavior (Trino 446):
- Query executes successfully.
- Column alias 'No. of msg' is recognized/displayed.
Actual behavior (Trino 479):
- Fails with:
Query failed: column index for 'no. of msg' was not found
- Alias cannot be referenced; Trino ignores Pinot passthrough column names.
Environment:
- Trino 479 (failing)
- Trino 446 (working)
- Pinot connector
Severity: High — backward compatibility broken for Pinot passthrough queries relying on aliases.
Reactions are currently unavailable
Metadata
Metadata
Assignees
Labels
No labels