CalvinKirs opened a new pull request, #58606:
URL: https://github.com/apache/doris/pull/58606

   ### Problem
   
   ````
   copy file failed: 
software.amazon.awssdk.services.s3.model.NoSuchKeyException: The specified key 
does not exist. (Service: S3, Status Code: 404,
   
   ```
   Inserting into non-partitioned object storage tables fails because the BE 
(Backend) treats non-partitioned and partitioned tables differently. 
Partitioned tables always append a folder suffix for each partition, and all 
data is organized by partition folders. Non-partitioned tables do not require 
partition information, but it was being set, causing insert failures.
   
   ### Solution
   - Skip setting partition information for non-partitioned tables in the BE.
   - Maintain current behavior for partitioned tables, including folder suffix 
handling.
   
   ### Result
   - Inserts into non-partitioned object storage tables succeed.
   - Partitioned tables continue to work as expected.
   
   


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