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

[CALCITE-2115] Remove not generated mongo doc, and remove useless test #4228

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

Conversation

tuichenchuxin
Copy link

  • Since the implementation of group distinct is implemented through mongo API, group, etc. are deleted in the statement.
  • sales_fact_1997, sales_fact_1998 has been removed from the database. So can't be found in schema. I think these test for sales_fact_1997, sales_fact_1998 can be removed.

https://issues.apache.org/jira/browse/CALCITE-2115

@tuichenchuxin tuichenchuxin force-pushed the main branch 2 times, most recently from 198f04c to 548c504 Compare March 7, 2025 05:50
@tuichenchuxin tuichenchuxin changed the title [CALCITE-2115] Fix MongoAdapterTest [CALCITE-2115] Remove not generated mongo doc, and remove useless test Mar 7, 2025
@caicancai
Copy link
Member

A very important question is, what version of MongoDB is Calcite based on? Do we need to explain it?

@tuichenchuxin
Copy link
Author

question is, what version of MongoDB is Calcite based on? Do we need to explain it?

Thank you for review.
I think we need to explain what version we can support. for example 4.2 + can be supported.
I think the latest version should be compatible with the old mongodb version. So we just need to confirm the minimum supported version.

@@ -284,37 +284,6 @@ private CalciteAssert.AssertThat assertModel(URL url) {
"CITY=LAWTON; LONGITUDE=null; LATITUDE=null; POP=45542; STATE=OK; ID=73505");
}

@Disabled("broken; [CALCITE-2115] is logged to fix it")
Copy link
Contributor

Choose a reason for hiding this comment

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

I don't understand why we directly deleted the test cases that couldn't run. A better approach should be to make them run as we want.

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.

3 participants