You are viewing a plain text version of this content. The canonical link for it is here.
Posted to issues@kvrocks.apache.org by GitBox <gi...@apache.org> on 2022/09/10 12:02:19 UTC

[GitHub] [incubator-kvrocks] git-hulk commented on issue #819: Move TCL test unit/type/set to Go case

git-hulk commented on issue #819:
URL: https://github.com/apache/incubator-kvrocks/issues/819#issuecomment-1242714619

   > > Hi. I'm not very familiar with go. How to use go to pass the value exceeding Int64 in int ?Do we just need to pass it in the form of a string(I found that kvrocks should not implement large numbers, and automatically convert this to a string)?
   > > ```
   > >     test "SADD an integer larger than 64 bits" {
   > >         create_set myset {213244124402402314402033402}
   > >         #assert_encoding hashtable myset
   > >         assert_equal 1 [r sismember myset 213244124402402314402033402]
   > >         assert_equal {1} [r smismember myset 213244124402402314402033402]
   > >     }
   > > ```
   > 
   > I think maybe there is no difference between string and integer here, i.e. you can use string here. cc @git-hulk
   
   Yes, exactly.


-- 
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: issues-unsubscribe@kvrocks.apache.org

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