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

IGNITE-19212 ODBC: Implement basic query execution #2284

Merged
merged 22 commits into from Jul 10, 2023

Conversation

isapego
Copy link
Contributor

@isapego isapego commented Jul 4, 2023

  • Ported basic query execution functionality from Ignite 2;
  • Ported tests;
  • Adapted to use new protocol;

@isapego isapego requested a review from ptupitsyn July 4, 2023 09:16
@isapego isapego self-assigned this Jul 4, 2023
@@ -154,15 +154,15 @@ class result_set_impl : public std::enable_shared_from_this<result_set_impl> {
*
* @return @c true if there are more pages with results and @c false otherwise.
*/
[[nodiscard]] IGNITE_API bool has_more_pages() { return m_resource_id.has_value() && m_has_more_pages; }
[[nodiscard]] bool has_more_pages() { return m_resource_id.has_value() && m_has_more_pages; }
Copy link
Contributor

Choose a reason for hiding this comment

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

Is IGNITE_API removed because this is _imp.h?

Copy link
Contributor Author

Choose a reason for hiding this comment

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

Yeah, those methods should not be in API

modules/platforms/cpp/ignite/odbc/query/cursor.h Outdated Show resolved Hide resolved
@isapego isapego merged commit 37651e2 into apache:main Jul 10, 2023
1 check was pending
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
2 participants