zy-kkk opened a new pull request, #27206:
URL: https://github.com/apache/doris/pull/27206

   ## Proposed changes
   
   Issue Number: close #xxx
   
   fix
   ```
   
/Users/zhongyongkang/LocalDoris/doris/be/src/vec/exprs/table_function/vexplode_numbers.cpp:67:21:
 error: no matching function for call to 'max'
           _cur_size = std::max(0L, _cur_size);
                       ^~~~~~~~
   /opt/homebrew/opt/llvm@16/bin/../include/c++/v1/__algorithm/max.h:40:1: 
note: candidate template ignored: deduced conflicting types for parameter '_Tp' 
('long' vs. 'int64_t' (aka 'long long'))
   max(const _Tp& __a, const _Tp& __b)
   ^
   /opt/homebrew/opt/llvm@16/bin/../include/c++/v1/__algorithm/max.h:51:1: 
note: candidate template ignored: could not match 'initializer_list<_Tp>' 
against 'long'
   max(initializer_list<_Tp> __t, _Compare __comp)
   ^
   /opt/homebrew/opt/llvm@16/bin/../include/c++/v1/__algorithm/max.h:60:1: 
note: candidate function template not viable: requires single argument '__t', 
but 2 arguments were provided
   max(initializer_list<_Tp> __t)
   ^
   /opt/homebrew/opt/llvm@16/bin/../include/c++/v1/__algorithm/max.h:31:1: 
note: candidate function template not viable: requires 3 arguments, but 2 were 
provided
   max(const _Tp& __a, const _Tp& __b, _Compare __comp)
   ^
   1 error generated.
   ```
   
   ## Further comments
   
   If this is a relatively large or complex change, kick off the discussion at 
[d...@doris.apache.org](mailto:d...@doris.apache.org) by explaining why you 
chose the solution you did and what alternatives you considered, etc...
   
   


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

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