Jefffrey commented on PR #17520:
URL: https://github.com/apache/datafusion/pull/17520#issuecomment-3280308420

   I wasn't aware we allowed `SELECT FROM t1 WHERE ...` syntax, omitting 
columns entirely. I checked out your branch and observed this behaviour which 
doesn't seem consistent:
   
   ```sql
   > select from t1;
   +---+---+
   | a | b |
   +---+---+
   | 1 | 2 |
   +---+---+
   1 row(s) fetched.
   Elapsed 0.007 seconds.
   
   > select from t1 where 1=0;
   0 row(s) fetched.
   Elapsed 0.006 seconds.
   ```
   
   - Using the same `t1` table as from the added slt test
   
   So `SELECT FROM t1` would return all columns but adding a `WHERE` clause now 
omits all columns? Is this intended?


-- 
This is an automated message from the Apache Git Service.
To respond to the message, please log on to GitHub and use the
URL above to go to the specific comment.

To unsubscribe, e-mail: github-unsubscr...@datafusion.apache.org

For queries about this service, please contact Infrastructure at:
us...@infra.apache.org


---------------------------------------------------------------------
To unsubscribe, e-mail: github-unsubscr...@datafusion.apache.org
For additional commands, e-mail: github-h...@datafusion.apache.org

Reply via email to