fengyunhe edited a comment on issue #5274:
URL: https://github.com/apache/shardingsphere/issues/5274#issuecomment-618171846


   I use "arthas" watch runing code ,and i add a new  column name such as 
mobile :
   ```
   watch org.apache.shardingsphere.core.metadata.table.TableMetaData getColumns 
"{params,returnObj,throwExp}" -x 6 -f
   
   ```
   return object is :
   ```
   @SynchronizedMap[
           @String[id]:@ColumnMetaData[
               name=@String[id],
               dataType=@String[BIGINT],
               primaryKey=@Boolean[true],
           ],
           @String[user_id]:@ColumnMetaData[
               name=@String[user_id],
               dataType=@String[INT],
               primaryKey=@Boolean[false],
           ],
           @String[fee]:@ColumnMetaData[
               name=@String[fee],
               dataType=@String[DECIMAL],
               primaryKey=@Boolean[false],
           ],
           @String[create_time]:@ColumnMetaData[
               name=@String[create_time],
               dataType=@String[TIMESTAMP],
               primaryKey=@Boolean[false],
           ],
           @String[note]:@ColumnMetaData[
               name=@String[note],
               dataType=@String[VARCHAR],
               primaryKey=@Boolean[false],
           ],
           @String[address]:@ColumnMetaData[
               name=@String[address],
               dataType=@String[VARCHAR],
               primaryKey=@Boolean[false],
           ],
       ],
   
   ```
   but mobile column not in TableMetaData's columns, and isPrimaryKey function 
is calling with null 


----------------------------------------------------------------
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:
[email protected]


Reply via email to