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

Test: add many e2e test #88

Merged
merged 5 commits into from
Oct 14, 2023
Merged

Test: add many e2e test #88

merged 5 commits into from
Oct 14, 2023

Conversation

KKould
Copy link
Member

@KKould KKould commented Oct 13, 2023

  • insert.slt
  • join_left_inner.slt
  • limit.slt
  • where.slt

tips:

  • fix limit operator:
    • When offset or limit appears in the limit clause, the other one will default to Some(0), causing some problems.
  • add github actions
    • e2e sqllogictest

Code changes

  • Has Rust code change
  • Has CI related scripts change

Check List

Tests

  • Unit test
  • Integration test
  • Manual test (add detailed scripts or steps below)
  • No code

Side effects

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

Note for reviewer

- insert.slt
- join_left_inner.slt
- limit.slt
- where.slt

tips: fix `limit` operator
@KKould KKould added bug Something isn't working invalid This doesn't seem right labels Oct 13, 2023
@KKould KKould requested review from lewiszlw and loloxwg October 13, 2023 13:02
@KKould KKould self-assigned this Oct 13, 2023
@@ -0,0 +1,33 @@
statement ok
create table t(id int primary key, v1 int null, v2 int null, v3 int null)
Copy link
Member

Choose a reason for hiding this comment

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

Could you use multi types here?

insert into y values (0, 1, 5), (1, 1, 6), (2, 2, 7);

query IIII
select a, b, c, d from x join y on a = c;
Copy link
Member

Choose a reason for hiding this comment

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

The file name is join_left_inner, why you test inner join here?

Copy link
Member Author

Choose a reason for hiding this comment

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

The file name is join_left_inner, why you test inner join here?

for risinglight
https://github.com/risinglightdb/risinglight/blob/main/tests/sql/join_left_inner.slt

@KKould KKould requested a review from lewiszlw October 14, 2023 10:06
@KKould KKould merged commit 5f498c0 into KipData:main Oct 14, 2023
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
bug Something isn't working invalid This doesn't seem right
Projects
None yet
Development

Successfully merging this pull request may close these issues.

3 participants