<p dir="auto">The current exception is mess and lots of duplicated usage.<br>
It is necessary to refine and clear them.</p>
<blockquote>
<h2 dir="auto">Question</h2>
<p dir="auto">（default-data-source-name）table join （broadcast-table） error</p>
<h2 dir="auto">Content</h2>
<div class="snippet-clipboard-content notranslate position-relative overflow-auto" data-snippet-clipboard-copy-content="&lt;sharding:standard-strategy id=&quot;databaseStrategy&quot; sharding-column=&quot;buss_num&quot; precise-algorithm-ref=&quot;dbShardingRule&quot; /&gt;

&lt;sharding:data-source id=&quot;shadingDataSource&quot;&gt;
	&lt;sharding:props&gt;
		&lt;prop key=&quot;sql.show&quot;&gt;true&lt;/prop&gt;
	&lt;/sharding:props&gt;
	&lt;sharding:sharding-rule data-source-names=&quot;ds0,ds1&quot; default-data-source-name=&quot;ds0&quot;&gt;
		&lt;sharding:table-rules&gt;
			&lt;sharding:table-rule logic-table=&quot;user&quot; actual-data-nodes=&quot;ds$-&gt;{0..1}.user&quot;
			 database-strategy-ref=&quot;databaseStrategy&quot; /&gt;
			&lt;sharding:table-rule logic-table=&quot;classes&quot; actual-data-nodes=&quot;ds$-&gt;{0..1}.classes&quot;
			 database-strategy-ref=&quot;databaseStrategy&quot; /&gt;
			 &lt;sharding:table-rule logic-table=&quot;mark&quot; actual-data-nodes=&quot;ds$-&gt;{0..1}.mark&quot;
			 database-strategy-ref=&quot;databaseStrategy&quot; /&gt;
		&lt;/sharding:table-rules&gt;
		&lt;sharding:binding-table-rules&gt;
            &lt;sharding:binding-table-rule logic-tables=&quot;user,classes,mark&quot; /&gt;
        &lt;/sharding:binding-table-rules&gt;
		&lt;sharding:broadcast-table-rules &gt; 
			&lt;sharding:broadcast-table-rule table=&quot;school_config&quot;/&gt;
		&lt;/sharding:broadcast-table-rules&gt;
	&lt;/sharding:sharding-rule&gt;
&lt;/sharding:data-source&gt;

exception:
org.mybatis.spring.MyBatisSystemException: nested exception is org.apache.ibatis.exceptions.PersistenceException:

### Error updating database. Cause: org.apache.shardingsphere.core.exception.ShardingException: Cannot find table rule and default data source with logic tables: '[inter_user , school_config]'
### The error may involve com.inter_user .deleteImportData-Inline
### The error occurred while setting parameters
### SQL: delete from inter_user where date = ? and school IN (SELECT SLAVE_ID FROM school_config WHERE PARENT_ID = ?)
### Cause: org.apache.shardingsphere.core.exception.ShardingException: Cannot find table rule and default data source with logic tables: '[inter_user , school_config ]'
version：

org.apache.shardingsphere
sharding-jdbc-core
4.0.0-RC2

how to configure？can you tell me the question?thank you!"><pre class="notranslate"><code class="notranslate">&lt;sharding:standard-strategy id="databaseStrategy" sharding-column="buss_num" precise-algorithm-ref="dbShardingRule" /&gt;

&lt;sharding:data-source id="shadingDataSource"&gt;
	&lt;sharding:props&gt;
		&lt;prop key="sql.show"&gt;true&lt;/prop&gt;
	&lt;/sharding:props&gt;
	&lt;sharding:sharding-rule data-source-names="ds0,ds1" default-data-source-name="ds0"&gt;
		&lt;sharding:table-rules&gt;
			&lt;sharding:table-rule logic-table="user" actual-data-nodes="ds$-&gt;{0..1}.user"
			 database-strategy-ref="databaseStrategy" /&gt;
			&lt;sharding:table-rule logic-table="classes" actual-data-nodes="ds$-&gt;{0..1}.classes"
			 database-strategy-ref="databaseStrategy" /&gt;
			 &lt;sharding:table-rule logic-table="mark" actual-data-nodes="ds$-&gt;{0..1}.mark"
			 database-strategy-ref="databaseStrategy" /&gt;
		&lt;/sharding:table-rules&gt;
		&lt;sharding:binding-table-rules&gt;
            &lt;sharding:binding-table-rule logic-tables="user,classes,mark" /&gt;
        &lt;/sharding:binding-table-rules&gt;
		&lt;sharding:broadcast-table-rules &gt; 
			&lt;sharding:broadcast-table-rule table="school_config"/&gt;
		&lt;/sharding:broadcast-table-rules&gt;
	&lt;/sharding:sharding-rule&gt;
&lt;/sharding:data-source&gt;

exception:
org.mybatis.spring.MyBatisSystemException: nested exception is org.apache.ibatis.exceptions.PersistenceException:

### Error updating database. Cause: org.apache.shardingsphere.core.exception.ShardingException: Cannot find table rule and default data source with logic tables: '[inter_user , school_config]'
### The error may involve com.inter_user .deleteImportData-Inline
### The error occurred while setting parameters
### SQL: delete from inter_user where date = ? and school IN (SELECT SLAVE_ID FROM school_config WHERE PARENT_ID = ?)
### Cause: org.apache.shardingsphere.core.exception.ShardingException: Cannot find table rule and default data source with logic tables: '[inter_user , school_config ]'
version：

org.apache.shardingsphere
sharding-jdbc-core
4.0.0-RC2

how to configure？can you tell me the question?thank you!
</code></pre></div>
</blockquote>