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
Currently we project all the columns from a table in the projection. We can project SELECT t.* for generate shorter SQL.
Notes to implementer:
Best place to do would be SQL Gen. Method GenerateProjection. We can detect that all the projection expressions are column expression and coming from same table then we can use table.* directly.
Overriding method will allow provider to change the "optimization". e.g. postgres does not project "xmin" column out of the table, SELECT * in such cases, need to list all the columns.
The text was updated successfully, but these errors were encountered:
Overriding method will allow provider to change the "optimization". e.g. postgres does not project "xmin" column out of the table, SELECT * in such cases, need to list all the columns.
Thanks for remembering PG :) PG can actually also do SELECT xmin, t.* so this is useful even when we need xmin.
Currently we project all the columns from a table in the projection. We can project
SELECT t.*
for generate shorter SQL.Notes to implementer:
GenerateProjection
. We can detect that all the projection expressions are column expression and coming from same table then we can use table.* directly.SELECT *
in such cases, need to list all the columns.The text was updated successfully, but these errors were encountered: