chenhaonan313 opened a new issue, #5164:
URL: https://github.com/apache/seatunnel/issues/5164

   ### 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
   
   The configuration file uses ${name} as a variable, and the -i parameter 
cannot be resolved by running the command
   
   ### SeaTunnel Version
   
   seatunnel  2.3.2
   
   
   ### SeaTunnel Config
   
   ```conf
   env {
     execution.parallelism = 2
     job.mode = "BATCH"
     checkpoint.interval = 10000
   }
   source{
   
       SftpFile {
       path = "/upload/"
       host = "192.168.130.33"
       port = 22
       user = sftpuser
       password = sftpuser
       file_format_type = "text"
       result_table_name = "fake2"
     }
   
   
   }
   
   sink {
   
   HdfsFile {
       source_table_name = "fake2"
       fs.defaultFS = "hdfs://192.168.130.95:9000"
       path = "/data/file/b/${file_name}"
       file_format_type = "text"
       custom_filename = true
       file_name_expression = "${transactionId}_${now}"
       filename_time_format = "yyyy.MM.dd"
       is_enable_transaction = true
       }
   }
   ```
   
   
   ### Running Command
   
   ```shell
   ./bin/start-seatunnel-flink-13-connector-v2.sh --config  ./config/example.sh 
-i file_name=abcdefg
   ```
   
   
   ### Error Exception
   
   ```log
   character in path at index 14: /data/file/b/${file_name}/
   ```
   
   
   ### Flink or Spark Version
   
   flink 1.12.7
   
   ### Java or Scala Version
   
   _No response_
   
   ### Screenshots
   
   
![image](https://github.com/apache/seatunnel/assets/79635793/21e3e676-e32a-4ce1-903a-aa0c115fcea0)
   
   
   ### 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