You are viewing a plain text version of this content. The canonical link for it is here.
Posted to notifications@shardingsphere.apache.org by GitBox <gi...@apache.org> on 2021/06/15 01:27:46 UTC

[GitHub] [shardingsphere] AyaUchida commented on issue #10716: loadColumnMetaData null pointer with geometry column

AyaUchida commented on issue #10716:
URL: https://github.com/apache/shardingsphere/issues/10716#issuecomment-861102001


   @zjcnb 
   Cause it's a old project,I used the spring namespace configuration like this
   
   `
   
       <readwrite-splitting:load-balance-algorithm id="loadbalanceAlgorith" type="RANDOM"/>
       <readwrite-splitting:rule id="masterslaveRule">
           <readwrite-splitting:data-source-rule id="msds" write-data-source-name="master-dataSource"
                                           read-data-source-names="slave-dataSource"
                                           load-balance-algorithm-ref="loadbalanceAlgorith"/>
       </readwrite-splitting:rule>
   
       <sharding:key-generate-algorithm id="uuidAlgorithm" type="UUID"/>
       <sharding:key-generate-strategy id="uuidKeyGenerator" column="id" algorithm-ref="uuidAlgorithm"/>
       <sharding:sharding-algorithm id="jyTableAlgorithm" type="INLINE">
           <props>
               <prop key="algorithm-expression">jy_year_$->{year_id}</prop>
           </props>
       </sharding:sharding-algorithm>
       <sharding:standard-strategy id="jyTableStrategy" sharding-column="year_id" algorithm-ref="jyTableAlgorithm"/>
       <sharding:rule id="shardingRule">
           <sharding:table-rules>
               <sharding:table-rule logic-table="jiaoyu"
                                    actual-data-nodes="msds.jy_year_$->{2015..2022}"
                                    table-strategy-ref="jyTableStrategy" key-generate-strategy-ref="uuidKeyGenerator"/>
           </sharding:table-rules>
       </sharding:rule>
       <shardingsphere:data-source id="shardingDataSource" data-source-names="master-dataSource,slave-dataSource"
                                   rule-refs="masterslaveRule,shardingRule">
           <props>
               <prop key="max-connections-size-per-query">16</prop>
           </props>
       </shardingsphere:data-source>
   `
   
   The table with data type Point is not a sharding table.
   
   Because I can't solve this problem, so I changed to use 4.1.1 instead of 5.0.0-RC1. For now it works well.


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

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