-
Notifications
You must be signed in to change notification settings - Fork 45
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
[CBRD-25302] added a shell test case for runtime error of TO_DATE(…, ..., 'en_US') #2003
Conversation
"04_04_03_04_bfn_type_to_char.sql"에 새로 추가 된 TO_CHAR() 테스트 내용이 첫번째 인수가 NUMBER 계열만 있습니다. |
좋은 의견 감사합니다. 말씀해주신대로 TO_DATETIME() 및 TO_DATE() 를 TO_CHAR() 함수안에 사용하여 DATE 계열을 확인하도록 수정하였습니다. DATE ex) DATETIME ex) |
Refer to http://jira.cubrid.org/browse/CBRD-25302
Note: As of now, the cci answers for the following prepare statement:
prepare st from 'select TO_TIMESTAMP(?, ?, ?) from dual'; execute st using '01/11/1999 18:41:53', 'MM/DD/YYYY HH24:MI:SS', 'en_US'; drop prepare st;
differs from that of JDBC.
We need to verify if this is a CTP bug or a bug in the engine output (the former is more likely):
cci answer (answers/04_04_03_04_bfn_type_to_timestamp.answer_cci):
===================================================
to_timestamp( ?:0 , ?:1 , ?:2 )
1999-01-11 18:41:53
===================================================
jdbc answer (answers/04_04_03_04_bfn_type_to_timestamp.answer):
===================================================
to_timestamp( ?:0 , ?:1 , ?:2 )
1999-01-11 18:41:53.0
===================================================