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/09/24 02:23:49 UTC

[GitHub] [shardingsphere] tuichenchuxin opened a new issue #12666: Zookeeper persist meta data column dataType is missing.

tuichenchuxin opened a new issue #12666:
URL: https://github.com/apache/shardingsphere/issues/12666


   In `SchemaYamlSwapper` method `swapYamlColumn`
   ```
       private YamlColumnMetaData swapYamlColumn(final ColumnMetaData column) {
           YamlColumnMetaData result = new YamlColumnMetaData();
           result.setName(column.getName());
           result.setCaseSensitive(column.isCaseSensitive());
           result.setGenerated(column.isGenerated());
           result.setPrimaryKey(column.isPrimaryKey());
           result.setDataType(result.getDataType());
           result.setDataTypeName(result.getDataTypeName());
           return result;
   ```
   dataType should be got from column. And dataTypeName seems useLess, because `columnMetaData` don't have this field.


-- 
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: notifications-unsubscribe@shardingsphere.apache.org

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



[GitHub] [shardingsphere] menghaoranss closed issue #12666: Zookeeper persist meta data column dataType is missing.

Posted by GitBox <gi...@apache.org>.
menghaoranss closed issue #12666:
URL: https://github.com/apache/shardingsphere/issues/12666


   


-- 
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: notifications-unsubscribe@shardingsphere.apache.org

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