Open peixingzhe opened 1 year ago
Hi @peixingzhe
ShardingSphere currently does not support partition tables, and public
schema is used by default in PG.
Hi @peixingzhe ShardingSphere currently does not support partition tables, and
public
schema is used by default in PG.
But why can I query a single table(in custom schema and is a partitioned table) without specifying a schema when I put it in the first (ds_0
) data source?
I think it needs to be investigated. Hi @strongduanmu , do you have some info?
Bug Report
Which version of ShardingSphere did you use?
5.3.2
Which project did you use? ShardingSphere-JDBC or ShardingSphere-Proxy?
ShardingSphere-Proxy
Expected behavior
proxy routing data source error when I query single table.
Actual behavior
The proxy routes correctly to the data source where the single table exist.
Reason analyze (If you can)
I don't known.
Steps to reproduce the behavior, such as: SQL to execute, sharding rule configuration, when exception occur etc.
single table cofig
query a single table
proxy log
t_app_mon
is a partitioned table, I can't query this table directly, I have to query some partition of this table directly, and I have to prefix it with a schema.Example codes for reproduce this issue (such as a github link).