-
Notifications
You must be signed in to change notification settings - Fork 52
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
Fix semantic issues in cast function #280
Conversation
@zhejiangxiaomai This PR will cause DateTimeFunctionsTest.dateFunctionVarchar and DateTimeFunctionsTest.timeZoneHour failed in main_rebase_526. We should not catch exceptions in the public methods of Presto and Spark. Presto defaults to ANSI mode and needs to throw exceptions. |
Regarding semantic issues for common functions, we have a discussion in velox upstream: facebookincubator#4876. |
relative pr: Allow decimal in casting string to int oap-project#215 Add mapping from named_struct to row_constructor oap-project#214 Fix semantic issues in cast function oap-project#280
relative pr: Allow decimal in casting string to int oap-project#215 Add mapping from named_struct to row_constructor oap-project#214 Fix semantic issues in cast function oap-project#280
relative pr: Allow decimal in casting string to int oap-project#215 Add mapping from named_struct to row_constructor oap-project#214 Fix semantic issues in cast function oap-project#280
relative pr: Allow decimal in casting string to int oap-project#215 Add mapping from named_struct to row_constructor oap-project#214 Fix semantic issues in cast function oap-project#280
relative pr: Allow decimal in casting string to int oap-project#215 Add mapping from named_struct to row_constructor oap-project#214 Fix semantic issues in cast function oap-project#280
relative pr: Allow decimal in casting string to int oap-project#215 Add mapping from named_struct to row_constructor oap-project#214 Fix semantic issues in cast function oap-project#280
relative pr: Allow decimal in casting string to int oap-project#215 Add mapping from named_struct to row_constructor oap-project#214 Fix semantic issues in cast function oap-project#280
relative pr: Allow decimal in casting string to int oap-project#215 Add mapping from named_struct to row_constructor oap-project#214 Fix semantic issues in cast function oap-project#280
This PR directly changes the code for cast function. In the future, we plan to separate the impl. for common function to respectively adapt to spark/presto semantic.