Closed steven-ponessa closed 3 years ago
This issue has been automatically marked as stale because it has not had recent activity. It will be closed if no further activity occurs. Thank you for your contributions.
This issue has been closed due to continued inactivity. Thank you for your understanding. If you believe this to be in error, please contact one of the code owners, listed in the CODEOWNERS
file at the top-level of this repository.
Steps to reproduce
I am trying to define a model that is based on the PersistedModel to access a table in DB2, call it
MY_SCHEMA.MY_TABLE
.I created the model
MY_TABLE
, based on PersistedModel, with a Data Source (datasources.json
) where the definition includes the attribute"schema": "MY_SCHEMA"
. The data source also contains the useridmy_userid
, used for the connection.Current Behavior
When I try to call the API for this model, it tries to access the table
my_userid.MY_TABLE
.Expected Behavior
It should access
MY_SCHEMA.MY_TABLE
.Link to reproduction sandbox
The repo containing this is a test repository that contains database connection information, I can not make it generally available.
Additional information
Related Issues
See Reporting Issues for more tips on writing good issues