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

MSSQL Function STRING_AGG may not have a WITHIN GROUP clause #2778

Open
joserocha opened this issue Oct 7, 2024 · 1 comment
Open

MSSQL Function STRING_AGG may not have a WITHIN GROUP clause #2778

joserocha opened this issue Oct 7, 2024 · 1 comment
Labels
bug Something isn't working

Comments

@joserocha
Copy link

Bug description

I am using SQL Server 2012 Enterprise for my production setup right now. I'm trying to construct a huge dataset in my development enviroment similar to what I have in my production environment to test my applications with a larger load and check that there are no performance concerns on SQL Server 2022. However, I receive the following problem whenever I attempt to start the job::

Id Type Time Error
17 ActivityTaskScheduled 10/07/2024 02:44:00:143 PM
18 ActivityTaskStarted 10/07/2024 02:44:00:152 PM
19 ActivityTaskFailed 10/07/2024 02:44:00:367 PM {"message": "unable to build benthos sql sync source config responses: unable to retrieve database table constraints: mssql: The function 'STRING_AGG' may not have a WITHIN GROUP clause.", "retryState": "MaximumAttemptsReached"}

The STRING_AGG function only exists from SQL Server 2017 onwards, but I would like to explore the possibility of supporting SQL 2012.

How to reproduce

  1. Create two connections
  2. Create a job and try to sync any table
  3. Start the job

Environment

MSSQL 2012 Enterprise (source)
MSSQL 2022 Developer (destination)

Additional context

Thank you for your bug report – we love squashing them!

@joserocha joserocha added the bug Something isn't working label Oct 7, 2024
@evisdrenova
Copy link
Contributor

Thanks for reporting this @joserocha . We'll take a look and reply with any updates.

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