You are viewing a plain text version of this content. The canonical link for it is here.
Posted to commits@calcite.apache.org by GitBox <gi...@apache.org> on 2022/02/25 08:18:33 UTC

[GitHub] [calcite] hannerwang opened a new pull request #2731: [CALCITE-5023] JOIN whose inputs projecting same field names shouldn'…

hannerwang opened a new pull request #2731:
URL: https://github.com/apache/calcite/pull/2731


   …t generate SELECT STAR when converting rel to sql
   
   create table users(id int);
   create table depts(id int);
   select a.id, b.id as id0 from users1 a, depts1 b
   after converting the sql to rel then back rel to sql, we get 
   SELECT *
   FROM `default`.`users1`
   CROSS JOIN `default`.`depts1`
   
   but it can't be used in CTAS in some dialects such as mysql, spark sql.
   
   This change will affect other tests and I have modified their SELECT \* to SELECT fields.


-- 
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: commits-unsubscribe@calcite.apache.org

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