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/12 10:14:07 UTC

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

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

   I have find a lots error with the regex, and this PR seems doesn't fix all the problem.
   
   I just test with the below and get an exception.
   ```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);
   ```


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