Skip to content
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

[TOOLS-4684] Apply Oracle PL/SQL Procedure Parser to CMT #247

Merged
merged 8 commits into from
Dec 16, 2024

Conversation

Srltas
Copy link
Contributor

@Srltas Srltas commented Dec 11, 2024

http://jira.cubrid.org/browse/TOOLS-4684

Purpose

  • Oracle PL/SQL Procedure parser를 CMT에 통합니다.
  • CMT에서 PL/SQL Procedure의 Header, Body 분리 및 데이터 타입 변환을 하기 위함입니다.

Implementation
N/A

Remarks
Oracle PL/SQL Procedure Parser - TOOLS-4683

@Srltas Srltas self-assigned this Dec 11, 2024
@Srltas Srltas marked this pull request as ready for review December 12, 2024 01:56
@Srltas Srltas merged commit 10c4204 into CUBRID:release/oracle_procedure_migration Dec 16, 2024
3 checks passed
@Srltas Srltas deleted the TOOLS-4684 branch December 16, 2024 05:32
}

@Override
public void enterRoutine_definition(PloParser.Routine_definitionContext ctx) {
Copy link
Contributor

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Function에 underscore를 추가한 이유를 알 수 있을까요?
java 메소드이기때문에 제거하는 것이 좋지 않을까 합니다.

Copy link
Contributor Author

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

해당 소스 코드는 현익님께서 만드신 코드라 C 언어 스타일로 작성된 부분이 있는거 같습니다.
저도 이 부분은 Java 코드 스타일과는 맞지 않다고 생각해 수정하도록 하겠습니다.

}

@Override
public boolean equals(Object o) {
Copy link
Contributor

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

반복문이 아닌 경우 o라는 변수보다는 obj로 표현하는 것이 더 좋지 않을까요?

Copy link
Contributor Author

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

저도 코드에서 명확한 변수명을 사용하는 것이 더 좋다고 생각합니다.
enterRoutine_definition를 수정하면서 이 부분도 수정하도록 하겠습니다.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

5 participants