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 2020/11/09 03:32:43 UTC

[GitHub] [shardingsphere] duzhanfei commented on issue #8081: Can the shardingColumn for InlineShardingStrategy in The shardingProxy be a string (it's not a numeric string)?

duzhanfei commented on issue #8081:
URL: https://github.com/apache/shardingsphere/issues/8081#issuecomment-723733842


   thank you very much.
   
   
   
   At 2020-11-09 10:38:13, "Juan Pan(Trista)" <no...@github.com> wrote:
   
   There are many cases for shardingColumn, but generally my answer ti YES.
   ``
   /**
   
   Sharding value for precise.
   */
   @RequiredArgsConstructor
   @getter
   @tostring
   public final class PreciseShardingValue<T extends Comparable<?>> implements ShardingValue {
   
   private final String logicTableName;
   
   private final String columnName;
   
   private final T value; // Here it is T
   }
   
   —
   You are receiving this because you authored the thread.
   Reply to this email directly, view it on GitHub, or unsubscribe.


----------------------------------------------------------------
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:
users@infra.apache.org