chang-wd opened a new issue, #9681:
URL: https://github.com/apache/seatunnel/issues/9681

   ### Search before asking
   
   - [x] I had searched in the 
[issues](https://github.com/apache/seatunnel/issues?q=is%3Aissue+label%3A%22bug%22)
 and found no similar issues.
   
   
   ### What happened
   
   When reading ORC files containing a struct type column, HdfsFileSource 
ignores the case sensitivity of internal string fields within the struct. As a 
result, the original content of these string fields is not correctly parsed, 
leading to altered or incorrect values in the output.
   
   source: "cond_keys":{'MD5': '5035eb942416f6c41ea48adabb7654de'}
   output: "cond_keys":{"MD5":null}
   
   sample orc file
   
[mock_data.orc.zip](https://github.com/user-attachments/files/21679019/mock_data.orc.zip)
   
   ### SeaTunnel Version
   
   2.3.7
   
   ### SeaTunnel Config
   
   ```conf
   env {
     # You can set flink configuration here
     execution.parallelism = 1
     job.mode = "BATCH"
   }
   
   source {
     LocalFile {
       path = "./mock_data.orc"
       file_format_type = "orc"
       result_table_name = "fake"
     }
   }
   
   sink {
     Http {
       url = "http://127.0.0.1:8080/api/print";
       headers = {
         "Content-Type" = "application/json"
       }
       # Optional: retry configuration
       # retry = 3
       # retry_backoff_multiplier_ms = 1000
       # retry_backoff_max_ms = 10000
     }
   }
   ```
   
   ### Running Command
   
   ```shell
   just run with " -e local"
   ```
   
   ### Error Exception
   
   ```log
   no error
   ```
   
   ### Zeta or Flink or Spark Version
   
   local mode
   
   ### Java or Scala Version
   
   openjdk version "11.0.17" 2022-10-18 LTS
   OpenJDK Runtime Environment Zulu11.60+19-CA (build 11.0.17+8-LTS)
   OpenJDK 64-Bit Server VM Zulu11.60+19-CA (build 11.0.17+8-LTS, mixed mode)
   
   
   ### Screenshots
   
   <img width="263" height="18" alt="Image" 
src="https://github.com/user-attachments/assets/e6b33edd-f295-4054-917c-9bd10a8c769f";
 />
   
   ### Are you willing to submit PR?
   
   - [x] Yes I am willing to submit a PR!
   
   ### Code of Conduct
   
   - [x] I agree to follow this project's [Code of 
Conduct](https://www.apache.org/foundation/policies/conduct)
   


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