alenfive opened a new issue, #13325:
URL: https://github.com/apache/doris/issues/13325

   ### Search before asking
   
   - [X] I had searched in the 
[issues](https://github.com/apache/incubator-doris/issues?q=is%3Aissue) and 
found no similar issues.
   
   
   ### Version
   
   0.15.0-rc04
   
   ### What's Wrong?
   
   ```
   CREATE TABLE `tb1` (
     `user_id` String NULL COMMENT ""
   ) ENGINE=OLAP
   DUPLICATE KEY(`user_id`)
   COMMENT "OLAP"
   DISTRIBUTED BY HASH(`user_id`) BUCKETS 8
   PROPERTIES (
   "replication_allocation" = "tag.location.default: 1",
   "in_memory" = "false",
   "storage_format" = "V2"
   );
   
   ```
   `insert into tb1(user_id) values("100"),("8423105223472332825")`
   
   表设计定义user_id字段为字符类型,对20位的bigint (雪花算法生成的ID)查询不加引号,数据无法得取正确的返回
   
   执行操作:
   `select * from tb1 where user_id=100`
   正确返回
   
   执行操作:
   `select * from tb1 where user_id=8423105223472332825`
   无数据返回
   
   
   
   
   
   ### What You Expected?
   
   类型自动转换,支持bigint类型数据
   
   ### How to Reproduce?
   
   _No response_
   
   ### Anything Else?
   
   _No response_
   
   ### Are you willing to submit PR?
   
   - [X] Yes I am willing to submit a PR!
   
   ### Code of Conduct
   
   - [X] I agree to follow this project's [Code of 
Conduct](https://www.apache.org/foundation/policies/conduct)
   


-- 
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: commits-unsubscr...@doris.apache.org.apache.org

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


---------------------------------------------------------------------
To unsubscribe, e-mail: commits-unsubscr...@doris.apache.org
For additional commands, e-mail: commits-h...@doris.apache.org

Reply via email to