ZWMdarker opened a new issue #13817:
URL: https://github.com/apache/shardingsphere/issues/13817


   Configuration is as follows:
   spring:
     shardingsphere:
       .......
       rules:
         sharding:
           binding-tables: t_file
           tables:
             t_file:
               database-strategy:
                 standard:
                   sharding-column: c_wjdx
                   sharding-algorithm-name: database_inline
               table-strategy:
                 standard:
                   sharding-column: c_bh
                   sharding-algorithm-name: table_inline
           sharding-algorithms:
             database_inline:
               type: INLINE
               props:
                 algorithm-expression: ds$->{c_wjdx % 2}
             table_inline:
               type: INLINE
               props:
                 algorithm-expression: t_file$->{c_bh % 3}
   When I started the project, it always gave me this error: 
java.lang.NullPointerException: Inline sharding algorithm expression cannot be 
null.
   But I've configured this property


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