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

Enable prepared statement product tests for Presto JDBC driver #10870

Closed
wants to merge 1 commit into from
Closed

Enable prepared statement product tests for Presto JDBC driver #10870

wants to merge 1 commit into from

Conversation

electrum
Copy link
Contributor

No description provided.

Copy link
Contributor

@kokosing kokosing left a comment

Choose a reason for hiding this comment

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

As I understand this depends on #10869.

assertThat(QueryResult.forResultSet(statement.executeQuery(executeSql + "NULL")))
.hasNoRows();
assertThat(QueryResult.forResultSet(statement.executeQuery(executeSql + 2)))
.hasNoRows();
}

@Test(groups = {JDBC, SIMBA_JDBC})
Copy link
Contributor

Choose a reason for hiding this comment

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

I think this tests no longer needs to be in both groups. I would remove SIMBA_JDBC and keep only JDBC.

Their use case is to run tempto with all JDBC tests but these that are SIMBA_JDBC (or PRESTO_JDBC depending on used driver). As I understand here we expect both drivers to be compatible.

Copy link
Contributor

Choose a reason for hiding this comment

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

@kokosing when testing simba, do we run sth like -g JDBC -x PRESTO_JDBC or -g SIMBA_JDBC ?

Copy link
Contributor

Choose a reason for hiding this comment

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

-g ldap,jdbc,simba_jdbc -x presto_jdbc,mysql,quarantine

Copy link
Contributor

Choose a reason for hiding this comment

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

or
-g smoke,simba_jdbc,jdbc -x presto_jdbc,ldap,mysql,quarantine

Generally rule is the same

@facebook-github-bot
Copy link
Collaborator

Thank you for your pull request. We require contributors to sign our Contributor License Agreement, and yours has expired.

Before we can review or merge your code, we need you to email [email protected] with your details so we can update your status.

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.

4 participants