chenws1012 commented on issue #24535: URL: https://github.com/apache/shardingsphere/issues/24535#issuecomment-1469126728
> Hi @chenws1012 , I tested on proxy (code from master branch). Add column and query on proxy, it works. > > ``` > mysql> alter table t_order add column c1 int after status; > Query OK, 0 rows affected (2.44 sec) > > mysql> select count(1) from t_order; > +----------+ > | count(1) | > +----------+ > | 3020 | > +----------+ > 1 row in set (0.03 sec) > ``` > > From the steps, the step 2 is `add new column to a table on database`. Could you try to add column via `ShardingSphereDataSource` but not underlying database? Thanks! Try with `select * form t_order;` , and I use the way of integrating sharding-jdbc jar into the project. -- 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]
