ulysses-you commented on issue #4416:
URL: https://github.com/apache/kyuubi/issues/4416#issuecomment-1448009177

   thank you @lordk911 for the step. I can reproduce it now. It seems the issue 
is from Spark3.2.3. Spark3.2.1 and Spark3.3.x are fine.
   
   A reproducible step is with Spark3.2.3 but without Kyuubi:
   ```sql
   CREATE TABLE IF NOT EXISTS spark32_overwrite(amt1 int) STORED AS ORC;
   CREATE TABLE IF NOT EXISTS spark32_overwrite2(amt1 long) STORED AS ORC;
   
   INSERT OVERWRITE TABLE spark32_overwrite2 select 6000044164;
   
   set spark.sql.ansi.enabled=true;
   INSERT OVERWRITE TABLE spark32_overwrite select amt1 from (select cast(amt1 
as int) from spark32_overwrite2 distribute by amt1);
   ```


-- 
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: [email protected]

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