maropu commented on issue #27024: [SPARK-29854]lpad and rpad built in function 
should throw Error or Exception for invalid length value
URL: https://github.com/apache/spark/pull/27024#issuecomment-569399531
 
 
   I just meant not the lpad behaivour but the type coercion behaivour;
   ```
   hive> SELECT '1' + 1;
   2.0
   ```
   If you want to fix this, I think we need to update the implicit cast logics 
instead of the lpad logic.

----------------------------------------------------------------
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:
[email protected]


With regards,
Apache Git Services

---------------------------------------------------------------------
To unsubscribe, e-mail: [email protected]
For additional commands, e-mail: [email protected]

Reply via email to