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

Remove unused benchmark and test scripts; Update SDK version #424

Merged
merged 3 commits into from
Jan 5, 2024

Conversation

loloxwg
Copy link
Member

@loloxwg loloxwg commented Jan 5, 2024

What problem does this PR solve?

Add corresponding issue link with summary if exists -->

Issue link:

What is changed and how it works?

Code changes

  • Has Code change
  • Has CI related scripts change

Check List

Tests

  • Unit test
  • Integration test
  • Manual test (knn performance test)
  • No code

Side effects

  • Performance regression: Consumes more CPU
  • Performance regression: Consumes more Memory
  • Breaking backward compatibility

Note for reviewer

Sorry, something went wrong.

Unused benchmark scripts and test files have been removed from the repository. This cleanup helps maintain the focus on currently relevant scripts and avoids potential confusion from the presence of obsolete or irrelevant code.
Refactored sqllogictest.py to better handle errors by using the subprocess module and printing error messages when commands fail. Additionally, updated test_basic.py to add more precise testing conditions and adjust the directory for csv data file in the testing framework.

Verified

This commit was created on GitHub.com and signed with GitHub’s verified signature. The key has expired.
This commit not only simplifies the error handling in the file `sqllogictest.py` by eliminating redundant print statements but also increases the version of our project in the `pyproject.toml` file. Additionally, the instructions and command syntax have been updated in the benchmark documentation to use the new script names, specifying the optional parameter value for better clarity and accuracy.
@yingfeng yingfeng added the ci PR can be test label Jan 5, 2024
@loloxwg
Copy link
Member Author

loloxwg commented Jan 5, 2024

@mergify queue

Copy link

mergify bot commented Jan 5, 2024

queue

❌ Command disallowed due to command restrictions in the Mergify configuration.

  • sender-permission>=write

Sorry, something went wrong.

@yuzhichang
Copy link
Member

@mergify queue

Copy link

mergify bot commented Jan 5, 2024

queue

✅ The pull request has been merged automatically

The pull request has been merged automatically at bc89d40

@mergify mergify bot merged commit bc89d40 into infiniflow:main Jan 5, 2024
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
ci PR can be test
Projects
None yet
Development

Successfully merging this pull request may close these issues.

None yet

3 participants