Skip to content
New issue

Have a question about this project? # for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “#”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? # to your account

Adding support for MariaDb as backend for EvaDB #1027

Merged
merged 9 commits into from
Sep 12, 2023
Merged

Adding support for MariaDb as backend for EvaDB #1027

merged 9 commits into from
Sep 12, 2023

Conversation

jineetd
Copy link
Contributor

@jineetd jineetd commented Sep 1, 2023

No description provided.

Copy link
Contributor

@github-actions github-actions bot left a comment

Choose a reason for hiding this comment

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

👋 Hello @jineetd, thanks for submitting a EVA DB PR 🙏 To allow your work to be integrated as seamlessly as possible, we advise you to:

  • ✅ Verify that your PR is up-to-date with georgia-tech-db/eva master branch. If your PR is behind you can update your code by clicking the 'Update branch' button or by running git pull and git merge master locally.
  • ✅ Verify that all EVA DB Continuous Integration (CI) checks are passing.
  • ✅ Reduce changes to the absolute minimum required for your bug fix or feature addition.

@xzdandy
Copy link
Collaborator

xzdandy commented Sep 1, 2023

Thanks for the contribution jineetd!

Could you add the following as described in https://evadb.readthedocs.io/en/stable/source/dev-guide/extend/new-data-source.html?

  1. requirements.txt
  2. documentation

@xzdandy xzdandy added the Feature Request ✨ New feature or request label Sep 2, 2023
@xzdandy xzdandy added this to the v0.3.4 milestone Sep 2, 2023
@xzdandy xzdandy added Integrations 🧩 Pull requests that update an integration and removed Feature Request ✨ New feature or request labels Sep 2, 2023
@xzdandy xzdandy modified the milestones: v0.3.4, v0.3.5 Sep 7, 2023
@jiashenC jiashenC requested review from jiashenC and xzdandy September 7, 2023 22:06

try:
query = f"SELECT column_name as 'name', data_type as 'dtype' FROM information_schema.columns WHERE table_name='{table_name}'"
columns_df = pd.read_sql_query(query, self.connection)
Copy link
Member

Choose a reason for hiding this comment

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

Copy link
Contributor Author

Choose a reason for hiding this comment

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

Added the mapping function

Copy link
Member

Choose a reason for hiding this comment

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

Thanks. Just double-check, does your integration pass when you run locally?


try:
query = f"SELECT column_name as 'name', data_type as 'dtype' FROM information_schema.columns WHERE table_name='{table_name}'"
columns_df = pd.read_sql_query(query, self.connection)
Copy link
Member

Choose a reason for hiding this comment

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

Thanks. Just double-check, does your integration pass when you run locally?

Copy link
Collaborator

@xzdandy xzdandy left a comment

Choose a reason for hiding this comment

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

LGTM.

@jiashenC jiashenC merged commit 8295a12 into georgia-tech-db:staging Sep 12, 2023
@xzdandy xzdandy mentioned this pull request Sep 12, 2023
2 tasks
# for free to join this conversation on GitHub. Already have an account? # to comment
Labels
Integrations 🧩 Pull requests that update an integration
Projects
None yet
Development

Successfully merging this pull request may close these issues.

3 participants