Closed stevenleggdfe closed 3 months ago
We are also seeing this error, with the underlying error being related to duplicate operation names:
Error: Duplicate canonical target detected. Canonical targets must be unique across tables, declarations, assertions, and operations: {...}
With the large list of changes i'm curious why this came as an incremented patch version rather than a minor version. We are pinning to 3.0.0 until we can address what is broken.
@cwashcraft where did you see that underlying error?
Thanks for the report! I've reproduced the original bug report.
I'll patch it and release a new version.
i'm curious why this came as an incremented patch version rather than a minor version
This is reasonable! We haven't been very consistent with our Semver usage, but we should be.
This is actually caused by an internal issue with our semantic versioning in the sandboxing of running Dataform. This is being fixed, but in the meantime, there isn't a fix that I can patch Dataform open source with - so just stick with 3.0.0 for now.
I see it when running dataform compile with the CLI
On Thu, Aug 8, 2024, 3:12 AM stevenleggdfe @.***> wrote:
@cwashcraft https://github.com/cwashcraft where did you see that underlying error?
— Reply to this email directly, view it on GitHub https://github.com/dataform-co/dataform/issues/1800#issuecomment-2275217228, or unsubscribe https://github.com/notifications/unsubscribe-auth/ADEYHEPFCMQ7XE4MIXN7YUDZQMR7HAVCNFSM6AAAAABMEJGB22VHI2DSMVQWIX3LMV43OSLTON2WKQ3PNVWWK3TUHMZDENZVGIYTOMRSHA . You are receiving this because you were mentioned.Message ID: @.***>
I see it when running dataform compile with the CLI … On Thu, Aug 8, 2024, 3:12 AM stevenleggdfe @.> wrote: @cwashcraft https://github.com/cwashcraft where did you see that underlying error? — Reply to this email directly, view it on GitHub <#1800 (comment)>, or unsubscribe https://github.com/notifications/unsubscribe-auth/ADEYHEPFCMQ7XE4MIXN7YUDZQMR7HAVCNFSM6AAAAABMEJGB22VHI2DSMVQWIX3LMV43OSLTON2WKQ3PNVWWK3TUHMZDENZVGIYTOMRSHA . You are receiving this because you were mentioned.Message ID: @.>
I do not! Can you give me a reproducible example please?
I see it when running dataform compile with the CLI … On Thu, Aug 8, 2024, 3:12 AM stevenleggdfe @.**> wrote: @cwashcraft https://github.com/cwashcraft where did you see that underlying error? — Reply to this email directly, view it on GitHub <#1800 (comment)>, or unsubscribe https://github.com/notifications/unsubscribe-auth/ADEYHEPFCMQ7XE4MIXN7YUDZQMR7HAVCNFSM6AAAAABMEJGB22VHI2DSMVQWIX3LMV43OSLTON2WKQ3PNVWWK3TUHMZDENZVGIYTOMRSHA . You are receiving this because you were mentioned.Message ID: @.**>
I do not! Can you give me a reproducible example please?
Sure, here is a simple example. Both action_1 and action_2 have a requirement on test.js...
With 3.0.0 this did not result in any error
With 3.0.1, the Google Dataform UI will complain about dataform.json
...an the CLI has this error about duplicate operation names
While obviously an issue with our code, this is a breaking change if using the ^ range specifier with semver.
Fix is in 3.0.2, please update! Thanks.
@Ekrekr fix works for me. Thank you for the speedy turnaround!
Fix is in 3.0.2, please update! Thanks.
@Ekrekr unfortunately the issue I mentioned is persisting with 3.0.2, although the error shown in the Google UI is different now
This is a different issue - have moved to a separate issue tracker https://github.com/dataform-co/dataform/issues/1803.
Steps to reproduce: