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

[Good First Issue] 提供orcale数据源导入schema的适配-Provide adaptation for importing schema from Oracle data sources. #7

Open
iokk3732 opened this issue Apr 22, 2024 · 0 comments
Labels
difficulty-easy enhancement New feature or request good first issue Good for newcomers

Comments

@iokk3732
Copy link
Contributor

🚅Search before asking

描述问题在已经提交的ISSUE中不存在
I have searched for issues similar to this one.

🚅Description

1、你可以参考connector目录下的mysql.py文件来实现代码
2、需要你在data_agent/connector目录下创建用于实现同步orcale数据源的py代码文件(如: orcale.py)
3、并且在data_agent/agent/storage/entity/datasource.py文件中的Kind枚举类中添加用于标识orcale的枚举类型
4、最后需要在data_agent/cli/startup.py文件中找到sync方法,在其中添加适配orcale数据源的代码

  1. You can refer to the mysql.py file in the connector directory to implement the code.
  2. You need to create a Python file in the data_agent/connector directory to implement synchronization with Oracle data sources (e.g., oracle.py).
  3. Also, add an enumeration type for Oracle in the Kind enum class in the data_agent/agent/storage/entity/datasource.py file.
  4. Finally, you need to find the sync method in the data_agent/cli/startup.py file and add code there to adapt to the Oracle data source.

🏕Solution(optional)

🍰Detail(optional)

🍰Example(optional)

@iokk3732 iokk3732 added enhancement New feature or request good first issue Good for newcomers difficulty-easy labels Apr 22, 2024
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
difficulty-easy enhancement New feature or request good first issue Good for newcomers
Projects
None yet
Development

No branches or pull requests

1 participant