wangyum commented on issue #9382:
URL: 
https://github.com/apache/incubator-gluten/issues/9382#issuecomment-2818815850

   @JkSelf Both are repartitioning, but writing to non-bucket table is much 
faster than writing to bucket table. We better support writing to bucket table:
   
   ```sql
   create table db.gluten_bucket using parquet
   using parquet
   CLUSTERED BY (id)
   INTO 5000 BUCKETS
   as
   SELECT * from db.table
   distribute by id;
   
   create table db.gluten_repartition using parquet
   using parquet
   as
   SELECT /*+ REPARTITION(5000, id) */ * from db.table;
   ```
   
   <img width="959" alt="Image" 
src="https://github.com/user-attachments/assets/48583bd8-b874-4614-a6f4-2611c808b34d";
 />


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