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

[BYOD] support for different SQL dialects (MySQL) #126

Open
alex-sun-kuo opened this issue Apr 15, 2023 · 1 comment
Open

[BYOD] support for different SQL dialects (MySQL) #126

alex-sun-kuo opened this issue Apr 15, 2023 · 1 comment

Comments

@alex-sun-kuo
Copy link
Collaborator

alex-sun-kuo commented Apr 15, 2023

Currently, the SQL statements for setting up table and enum metadata, for the language model, are written in PostgreSQL. We want to add support for MySQL as well.

The functions we currently use to generate metadata live in byod/api/app/setup/utils.py.
They are named

  • get_type_names()
  • get_table_names()
  • generate_table_metadata()
  • generate_type_metadata()

This was my attempt at generating table and enum metadata. It may be a little hacky. Feel free to give it your best shot.

@zhangbinhui
Copy link

[BYOD] support for different SQL dialects (ORACLE)

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

No branches or pull requests

2 participants