caiconghui edited a comment on pull request #3898:
URL: https://github.com/apache/incubator-doris/pull/3898#issuecomment-646661966


   @yangzhg Hi, I think the result of processing bool value  for stream load 
and insert stmt should keep   consistent. 
   For now, like insert into xx values(1), result=true, insert into xx 
values(0) result=false, insert into xxx values("false") result=true  insert 
into xx values(false) result=false  insert into xx values("0") result=true, 
insert into xx values(true) result=true. 
   This is because insert stmt can analyze the true data type for insert value, 
so like 1 2 3, will use int_cast_to_bool, even can analyze boolen type. but for 
stream load, we lost the data type information. we don't know the real data 
type of the value, we treat all column values as string, so I think may be 
stream load should be processed specially to keep consistent with insert stmt. 
maybe need more discussion.


----------------------------------------------------------------
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:
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