You are viewing a plain text version of this content. The canonical link for it is here.
Posted to commits@dolphinscheduler.apache.org by GitBox <gi...@apache.org> on 2022/08/13 01:13:23 UTC

[GitHub] [dolphinscheduler] pinkhello commented on pull request #11438: [fixed-11437]: date parse pattern match error

pinkhello commented on PR #11438:
URL: https://github.com/apache/dolphinscheduler/pull/11438#issuecomment-1213624484

   > ```java
   > Map<String, String> params = new HashMap<>();
   >         String sql = "select JSON_EXTRACT(json_val, CONCAT('$[aaa', id - 1, '].input1')) from test";
   >         String sqlScript = ParameterUtils.convertParameterPlaceholders(sql, params);
   >         Assert.assertEquals("select JSON_EXTRACT(json_val, CONCAT('$[aaa', id - 1, '].input1')) from test",
   >                 sqlScript);
   > ```
   
   DATETIME FORMAT:
   `yyyyMMddHHmmss`
   `yyyy-MM-dd HH:mm:ss`
   `yyyy-MM-dd'T'HH:mm:ss`
   `yyyy MM dd HH mm ss`
   `yyyy/MM/dd HH mm ss`
   ......
   `\$\[([^\$\]]+)]` don't check format


-- 
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: commits-unsubscribe@dolphinscheduler.apache.org

For queries about this service, please contact Infrastructure at:
users@infra.apache.org