-
Notifications
You must be signed in to change notification settings - Fork 322
feat: add parse method genOutputSchema and make parse methods static #703
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
Conversation
| logger.error("executeSQL fail: {}", status.getMsg()); | ||
| } | ||
| status.delete(); | ||
| status = null; |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
@dl239 Why didi we use status = null after status.delete()? Did you try to deal with memory leaking?
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
I have not tested whether it has impact on memory release if it is not set to null. In theory, it does not need to be set to null because status.delete() can release the memory alloced in C++.
Closes #689