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

Error: Catalog Error: Scalar Function with name charindex does not exist! #53

Open
fdefalco opened this issue Jan 6, 2025 · 0 comments
Assignees
Labels
bug Something isn't working

Comments

@fdefalco
Copy link
Contributor

fdefalco commented Jan 6, 2025

When running against other database platforms the BuildAresCohortReport function can fail due to lack of compatibility with the charindex function being utilized.

https://github.com/OHDSI/AresIndexer/blob/develop/extras/BuildAresCohortReport.R#L377

Alternatives would be to pass query through SqlRender and add a dbms parameter to the function to provide more flexibility.

@fdefalco fdefalco added the bug Something isn't working label Jan 6, 2025
ganisimov pushed a commit that referenced this issue Jan 10, 2025
The issue relates to underlying storage in Andromeda package, which switches from SQLite to DuckDB. When using Andromeda with DuckDB results of queries through dplyr were not the same as when we use Andromeda with SQLite. These queries were updated to return same results.
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
bug Something isn't working
Projects
None yet
Development

No branches or pull requests

2 participants