You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
Describe the bug
When trying to create a new table, the method searches whether the table is already in the catalog. Here, if the table name is a subset of a table name that is already in the catalog the table creation fails.
To Reproduce
Steps to reproduce the behavior:
Create table "test123"
Create table "test"
-> no new table is created and the function returns none - nothing happens
Expected behavior
Table creation should work for all table names that do not exactly match a table already in the catalog.
We would expect more meaningful returns: return at least "true" or "false" values and even better, logging the reason why a table creation fails / throw exception.
Screenshots
ibmcloudsql/catalog_table.py
line 288
The text was updated successfully, but these errors were encountered:
Describe the bug
When trying to create a new table, the method searches whether the table is already in the catalog. Here, if the table name is a subset of a table name that is already in the catalog the table creation fails.
To Reproduce
Steps to reproduce the behavior:
-> no new table is created and the function returns none - nothing happens
Expected behavior
Table creation should work for all table names that do not exactly match a table already in the catalog.
We would expect more meaningful returns: return at least "true" or "false" values and even better, logging the reason why a table creation fails / throw exception.
Screenshots
ibmcloudsql/catalog_table.py
line 288
The text was updated successfully, but these errors were encountered: