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: support mssql data source #54

Merged
merged 16 commits into from
Jan 17, 2025
Merged
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension


Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
29 changes: 18 additions & 11 deletions .github/workflows/ci.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -33,6 +33,13 @@ jobs:
ORACLE_SID: XE
ports:
- 49161:1521
mssql:
image : mcr.microsoft.com/azure-sql-edge:latest
env:
ACCEPT_EULA: Y
MSSQL_SA_PASSWORD: "Password1234!"
ports:
- 1433:1433

steps:
- name: Checkout
Expand Down Expand Up @@ -62,17 +69,17 @@ jobs:
rm instantclient-basic-linux.x64-21.4.0.0.0dbru.zip
rm instantclient-sqlplus-linux.x64-21.4.0.0.0dbru.zip

- name: Create Oracle User
env:
TEST_DATABEND_DSN: "http://databend:databend@localhost:8000"
LD_LIBRARY_PATH: /opt/oracle/instantclient_21_4:$LD_LIBRARY_PATH
PATH: /opt/oracle/instantclient_21_4:$LD_LIBRARY_PATH:$PATH
run: |
sqlplus system/oracle@localhost:49161/XE << EOF
CREATE USER a IDENTIFIED BY 123 DEFAULT TABLESPACE USERS;
GRANT DBA TO a;
EXIT
EOF
# - name: Create Oracle User
# env:
# TEST_DATABEND_DSN: "http://databend:databend@localhost:8000"
# LD_LIBRARY_PATH: /opt/oracle/instantclient_21_4:$LD_LIBRARY_PATH
# PATH: /opt/oracle/instantclient_21_4:$LD_LIBRARY_PATH:$PATH
# run: |
# sqlplus system/oracle@localhost:49161/XE << EOF
# CREATE USER a IDENTIFIED BY 123 DEFAULT TABLESPACE USERS;
# GRANT DBA TO a;
# EXIT
# EOF

- name: Test
env:
Expand Down
Loading
Loading