okumin commented on PR #5421: URL: https://github.com/apache/hive/pull/5421#issuecomment-2337984319
I personally second @zratkai 's opinion. We have three options when the CAST function meets unreasonable inputs. 1. Produce unreasonable output 2. Produce NULL 3. Let it crush I think (3) is not Hive's option since it is known that Hive's CAST is very generous. A strict choice is inconsistent with CAST between other types. Comparing (1) and (2), I think (2) is more user-friendly. Thanks -- 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: gitbox-unsubscr...@hive.apache.org For queries about this service, please contact Infrastructure at: us...@infra.apache.org --------------------------------------------------------------------- To unsubscribe, e-mail: gitbox-unsubscr...@hive.apache.org For additional commands, e-mail: gitbox-h...@hive.apache.org