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

Fixing remaining issues of odbc metadata queries #94

Merged
merged 23 commits into from
May 25, 2020
Merged
Show file tree
Hide file tree
Changes from all commits
Commits
Show all changes
23 commits
Select commit Hold shift + click to select a range
f9a5014
Started with reimplementing the metadata queries with the ODBC metada…
tkilias May 12, 2020
6620857
Implement all basic metadata functions except get_foreign_keys.
tkilias May 13, 2020
3162bf6
Finish get_foreign_keys and add comparison tests between odbc functio…
tkilias May 14, 2020
d4b1132
Add support for session to odbc connection discovery and implemented
tkilias May 14, 2020
5fa6022
Add and improve tests and fix some bugs in the metadata functions
tkilias May 15, 2020
e028f7e
Add tests and fix base.py to ensure same behaviour between ODBC Funct…
tkilias May 18, 2020
10ff30a
Add deadlock test for get_columns
tkilias May 18, 2020
48f45c2
add debug output to compare get_schema_names test
tkilias May 20, 2020
4e4ae43
Add COMMIT to CREATE TEST_SCHEMA_2 to force snapshot
tkilias May 22, 2020
36b60a1
Only create TEST_SCHEMA's and not the default schema TEST during test…
tkilias May 22, 2020
5920398
add sleep to possibly wait for checkpoint
tkilias May 22, 2020
484ed4d
Add DB restart to ensure snapshot represents setup
tkilias May 22, 2020
fe5ab2c
Test only test/test_get_metadata_functions.py and see if it still doe…
tkilias May 22, 2020
83df1d1
Add timeout to docker stop
tkilias May 22, 2020
fcfa01d
Fix get_schema_names by not using odbc function SQLTables, because th…
tkilias May 22, 2020
83b56b2
Cleanup github action after attempts to find problem with get_schema_…
tkilias May 22, 2020
d442da0
Fix has_table and extract schema resolution from methods.
tkilias May 22, 2020
52d38bf
Adjust test behavior in test_deadlock, becacuse get_columns doesn't c…
tkilias May 22, 2020
04a7b8e
Fix odbc discovery for python 2.7
tkilias May 25, 2020
de43a45
Github actions deactivate fail-fast
tkilias May 25, 2020
cf406a0
Fix schema discovery for python 2.7
tkilias May 25, 2020
cd776cb
Fix failing at test_reflect_lowercase_forced_tables and extracted tra…
tkilias May 25, 2020
1288192
Skip test/test_deadlock.py for turbodbc
tkilias May 25, 2020
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
15 changes: 9 additions & 6 deletions .github/workflows/main.yml
Original file line number Diff line number Diff line change
Expand Up @@ -12,6 +12,7 @@ jobs:
test:
runs-on: ubuntu-latest
strategy:
fail-fast: false
matrix:
python: [3.6, 2.7]
connector:
Expand Down Expand Up @@ -57,12 +58,14 @@ jobs:
run: git clone https://github.com/exasol/integration-test-docker-environment.git
working-directory: ..

- name: Add TEST_SCHEMA to test DDL
run: echo "CREATE SCHEMA TEST_SCHEMA;" >> tests/test/enginedb_small/schema.sql
working-directory: ../integration-test-docker-environment

- name: Add TEST_SCHEMA_2 to test DDL
run: echo "CREATE SCHEMA TEST_SCHEMA_2;" >> tests/test/enginedb_small/schema.sql
- name: Add TEST_SCHEMA and TEST_SCHEMA_" to test DDL
run: |
echo 'CREATE SCHEMA TEST;' > tests/test/enginedb_small/import.sql;
echo 'CREATE SCHEMA TEST_SCHEMA;' >> tests/test/enginedb_small/import.sql;
echo 'CREATE SCHEMA TEST_SCHEMA_2;' >> tests/test/enginedb_small/import.sql;
echo 'SELECT * FROM SYS.EXA_SCHEMAS;' >> tests/test/enginedb_small/import.sql;
echo 'COMMIT;' >> tests/test/enginedb_small/import.sql;
cat tests/test/enginedb_small/import.sql;
working-directory: ../integration-test-docker-environment

- name: Spawn EXASOL environemnt
Expand Down
Loading