0

For an SQL query:

select * from t where R

we'll first optimize the ast built from this SQL, and get a logical plan, like Projection -- > Selection -- > t

Is it possible to eliminate the PROJECTION part?

techraf
  • 64,883
  • 27
  • 193
  • 198
HuaiyuXu
  • 1
  • 2

1 Answers1

0

As you can see from the What are projection and selection? SO topic, projection

means choosing which columns (or expressions) the query shall return

Therefore, this step can hardly be skipped.

Community
  • 1
  • 1
Shadow
  • 33,525
  • 10
  • 51
  • 64