dbt-sqlserver icon indicating copy to clipboard operation
dbt-sqlserver copied to clipboard

Fix concat macro when fields list is of length 1.

Open jlkravitz opened this issue 2 years ago • 11 comments

This pull request fixes the issue described here.

Should this macro handle the case where fields|length == 0, or is that case handled upstream?

jlkravitz avatar Sep 11 '23 15:09 jlkravitz

Option: you could also do: CONCAT('', field_list)

ericmuijsvanoord avatar Sep 15 '23 09:09 ericmuijsvanoord

Option: you could also do: CONCAT('', field_list)

I like that @ericmuijsvanoord – updated the PR!

jlkravitz avatar Sep 15 '23 12:09 jlkravitz

Hi @ericmuijsvanoord whats the process for getting this merged?

jlkravitz avatar Jan 15 '24 16:01 jlkravitz

See this pull request: https://github.com/dbt-msft/dbt-sqlserver/pull/461 You need to attach a maintainer which can trigger the tests. However, in the current state, it is best to wait until the pull request 461 is passed. This fully revamps the adapter, based of dbt-fabric.

ericmuijsvanoord avatar Jan 16 '24 07:01 ericmuijsvanoord

@jlkravitz any movement here? This is still causing issues with dbt-utils as you outlined in the OP.

astocks avatar Apr 23 '24 19:04 astocks

Nothing that I have heard!

Sent from iPhone

On Tue, Apr 23, 2024 at 3:37 PM Adam Stocks @.***> wrote:

@jlkravitz https://github.com/jlkravitz any movement here? This is still causing issues with dbt-utils as you outlined in the OP.

— Reply to this email directly, view it on GitHub https://github.com/dbt-msft/dbt-sqlserver/pull/447#issuecomment-2073283968, or unsubscribe https://github.com/notifications/unsubscribe-auth/AAWWZK6O52XRBC2243DOVCTY62Z7VAVCNFSM6AAAAAA4TRO3TOVHI2DSMVQWIX3LMV43OSLTON2WKQ3PNVWWK3TUHMZDANZTGI4DGOJWHA . You are receiving this because you were mentioned.Message ID: @.***>

jlkravitz avatar Apr 24 '24 21:04 jlkravitz

I don't think I can help with this, but there are conflicts that have to be resolved first (GitHub message).

ericmuijsvanoord avatar Apr 25 '24 06:04 ericmuijsvanoord

I don't think I can help with this, but there are conflicts that have to be resolved first (GitHub message).

I can try to pick this up and get the tests to pass. Should I open a new PR? @ericmuijsvanoord

astocks avatar Apr 26 '24 14:04 astocks

@astocks : im not a maintainer I think. I'm not able to start the tests. Reach out to one of the maintainers.

ericmuijsvanoord avatar Apr 30 '24 09:04 ericmuijsvanoord