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

feat: add CI for MySQL #1019

Merged
merged 5 commits into from
Sep 1, 2023
Merged

feat: add CI for MySQL #1019

merged 5 commits into from
Sep 1, 2023

Conversation

jiashenC
Copy link
Member

No description provided.

@jiashenC jiashenC mentioned this pull request Aug 31, 2023
@jiashenC jiashenC requested review from xzdandy and gaurav274 August 31, 2023 23:27
@jiashenC
Copy link
Member Author

I will move the CI to staging and master only once it is approved. For now, just make sure CI runs fine.

@jiashenC jiashenC mentioned this pull request Sep 1, 2023
2 tasks
@jiashenC jiashenC linked an issue Sep 1, 2023 that may be closed by this pull request
2 tasks
return mapping[mysql_type]
else:
raise Exception(
f"Unsupported column {mysql_type} encountered in the mysql table. Please raise a feature request!"
Copy link
Member

Choose a reason for hiding this comment

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

Can you also add the link to our Slack in this message (https://evadb.ai/community)?

Copy link
Member

Choose a reason for hiding this comment

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

Add self.connection = None in the base class. Else it throws property not found in some cases.

Copy link
Member Author

Choose a reason for hiding this comment

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

What do you mean by the link?

@@ -186,10 +186,6 @@ def test_should_run_query_in_mysql(self):
self._execute_native_query()
self._execute_evadb_query()

# Test error.
self._raise_error_on_multiple_creation()
Copy link
Member

Choose a reason for hiding this comment

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

Why are we removing it?

Copy link
Member Author

Choose a reason for hiding this comment

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

This test is actually invariant on which database engine we use. I currently just test on Postgres, so we should skip here.

return mapping[mysql_type]
else:
raise Exception(
f"Unsupported column {mysql_type} encountered in the mysql table. Please raise a feature request!"
Copy link
Member

Choose a reason for hiding this comment

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

Add self.connection = None in the base class. Else it throws property not found in some cases.

@jiashenC jiashenC requested a review from gaurav274 September 1, 2023 03:24
@jiashenC jiashenC merged commit f4e7b73 into staging Sep 1, 2023
@jiashenC jiashenC deleted the add-ci-for-mysql branch September 1, 2023 15:05
hershd23 pushed a commit to hershd23/evadb that referenced this pull request Sep 4, 2023
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.

MySQL Integration Bugs
4 participants