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

Allow schema renaming for internal state tables #1053

Open
sylvaingirardbe opened this issue Mar 13, 2024 · 1 comment
Open

Allow schema renaming for internal state tables #1053

sylvaingirardbe opened this issue Mar 13, 2024 · 1 comment
Labels
enhancement New feature or request
Milestone

Comments

@sylvaingirardbe
Copy link

Problem
We have a logic app with SQL trigger and a function with a SQL trigger running against the same database. Both use the internal state tables. The problem is that they seem to be having different requirements regarding the schema. The SQL trigger on the function adds a not nullable LastAccessTime column which is not used by the SQL trigger on the logic app, making it fail. We now manually changed the column to be nullable. However that's not something that you'd want to do.

Solution
A solution to this problem would be to allow for a configurable schema name on the SQL trigger for functions.

Describe alternatives you've considered
We mitigated the problem by making the LastAccessTime column nullable.

@chlafreniere chlafreniere added the enhancement New feature or request label Mar 19, 2024
@chlafreniere chlafreniere added this to the Backlog milestone Mar 19, 2024
@chlafreniere
Copy link
Contributor

Thanks @sylvaingirardbe. We've put this request to add configuration for schema names on our backlog.

As for why there was a mismatch for the LastAccessTime column between SQL Trigger in Logic Apps vs. SQL Trigger in Function Apps, that's because the version of the SQL Trigger used in Logic Apps is slightly older, and an update to the latest version of the SQL Trigger is in progress by the Logic Apps team. I don't have an ETA available at this time other than to say that it's in progress - deployments are done by the Logic Apps folks themselves.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
enhancement New feature or request
Projects
None yet
Development

No branches or pull requests

2 participants