juntaozhang opened a new issue, #7165:
URL: https://github.com/apache/paimon/issues/7165

   ### Search before asking
   
   - [x] I searched in the [issues](https://github.com/apache/paimon/issues) 
and found nothing similar.
   
   
   ### Paimon version
   
   master
   
   ### Compute Engine
   
   spark
   
   ### Minimal reproduce step
   
   ```sql
   CREATE TABLE t (
     k INT,
     v STRING,
     pt INT
   ) PARTITIONED BY (pt)
   TBLPROPERTIES (
     'primary-key' = 'k, pt',
     'bucket' = '-2',
     'changelog-producer' = 'input',
     'postpone.batch-write-fixed-bucket' = 'tru
   );
   
   INSERT INTO t SELECT /*+ REPARTITION(1) */
   id AS k,
   CAST(id AS STRING) AS v,
   0 AS pt
   FROM range (0, 1000);
   ```
   
   ### What doesn't meet your expectations?
   
   ```text
   
/private/var/folders/8w/3j0ns1bd6xjf_9n5_h2dyjt80000gn/T/spark-ea85dbbf-8c8e-4ead-a52a-1499e6355c6b/test.db/t/pt=2/bucket-0
   ├── changelog-69d7e2ea-fd95-4e61-95c6-c8e8c20d7722-0.parquet
   └── data-b3beb330-cd3d-4e4d-840d-21261b38b25f-0.parquet
   ```
   
   ### Anything else?
   
   _No response_
   
   ### Are you willing to submit a PR?
   
   - [x] I'm willing to submit a PR!


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

Reply via email to