dilipbiswal commented on pull request #27578:
URL: https://github.com/apache/spark/pull/27578#issuecomment-626527328


   @Gschiavon Thanks for working on it. Isn't this a breaking change ? The 
cases that used to work before with start failing now ?
   
   **Before**
   ```
   spark-sql> create table inserttest(c1 int, c2 int);
   Time taken: 0.663 seconds
   spark-sql> create table inserttest1(a1 int, a2 int);
   Time taken: 0.067 seconds
   spark-sql> insert into inserttest1 values (1, 2);
   Time taken: 1.786 seconds
   spark-sql> insert into inserttest select * from inserttest1;
   Time taken: 0.432 seconds
   spark-sql> select * from inserttest;
   1    2
   ```
   **After**
   ```
   spark-sql> create table inserttest(c1 int, c2 int);
   Time taken: 0.341 seconds
   spark-sql> create table inserttest1(a1 int, a2 int);
   Time taken: 0.066 seconds
   spark-sql> insert into inserttest select * from inserttest1;
   Error in query: cannot resolve 'a1' given input columns: [c1, c2];
   ```
   
   Not sure, if we can make this change as it is. What do you think @maropu 


----------------------------------------------------------------
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.

For queries about this service, please contact Infrastructure at:
[email protected]



---------------------------------------------------------------------
To unsubscribe, e-mail: [email protected]
For additional commands, e-mail: [email protected]

Reply via email to