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

Add test for QueryBuilderArgs.sqlQueryWithLimitOne #486

Open
wants to merge 1 commit into
base: master
Choose a base branch
from

Conversation

lacinoire
Copy link

Hey 😊
I want to contribute the following test:

Test that actual.sqlQueryWithLimitOne() is equal to "SELECT * FROM (SELECT * FROM COFFEES WHERE SIZE > 10) as user_sql_query WHERE 1=1 LIMIT 1" when sqlQueryWithLimitOne is called.
This tests the method QueryBuilderArgs.sqlQueryWithLimitOne.
This test is based on the test shouldConfigurePartitionColumnAndLimitForSqlFile.

Curious to hear what you think!

Also, is the description I provided of the test helping you to answer to this pull request? Why (not)?

(I wrote this test as part of a research study at TU Delft. Find out more)

Checklist for PR author(s)

  • Changes are covered by unit tests (no major decrease in code coverage %) and/or integration tests.
  • Ensure code formating (use mvn com.coveo:fmt-maven-plugin:format org.codehaus.mojo:license-maven-plugin:update-file-header)
  • Document any relevant additions/changes in the appropriate spot in javadocs/docs/README.

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.

1 participant