bobbyz007 opened a new issue, #22762:
URL: https://github.com/apache/shardingsphere/issues/22762

   I configured shadow algorithm according to the example:
   ```
   
spring.shardingsphere.rules.shadow.shadow-algorithms.user-id-insert-match-algorithm.type=VALUE_MATCH
   
spring.shardingsphere.rules.shadow.shadow-algorithms.user-id-insert-match-algorithm.props.operation=insert
   
spring.shardingsphere.rules.shadow.shadow-algorithms.user-id-insert-match-algorithm.props.column=user_type
   
spring.shardingsphere.rules.shadow.shadow-algorithms.user-id-insert-match-algorithm.props.value=1
   ```
   but it does not have any effect on batch insert clause like:
   ```sql
   insert into t_user (user_id, user_type, username, pwd)
       values
       <foreach collection="list" item="item" index="index" separator=",">
         (#{item.userId,jdbcType=INTEGER}, #{item.userType,jdbcType=INTEGER}, 
#{item.userName,jdbcType=VARCHAR},
         #{item.pwd,jdbcType=VARCHAR})
       </foreach>
   ```
   so does the shadow feature not support batch insert originally or am i 
missing something.


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