You are viewing a plain text version of this content. The canonical link for it is here.
Posted to user@flink.apache.org by 姜鑫 <ji...@gmail.com> on 2022/04/01 03:14:16 UTC

Re: Wrong format when passing arguments with space

Hi Kevin,

I noticed that the two quotas in your time string looks different. Please confirm that it is a typo or not.

Best,
Xin 


> 2022年3月28日 上午11:58,Kevin Lee <ke...@gmail.com> 写道:
> 
> Flink version : 1.13
> 
> Bug:
> When I pass an argument with space by single quota.
> The main function get this argument with a double quota
> 
> example:
> ./bin/flink run -c com.lmk.QuotaTest --rate 10 --time ''2022-03-28 11:53:21"
> 
> The main function get parameters:
> 
> 1-----rate
> 2---10
> 3-----time
> 4---"2022-03-28 11:53:21"
> 
> 
> I think flink shell should remove the double quota in "2022-03-28 11:53:21"
> 
> 
> Hope to get your reply asap