feat(fabric): rewrite = ANY(ARRAY[...]) and = ANY((...)) to IN#182
feat(fabric): rewrite = ANY(ARRAY[...]) and = ANY((...)) to IN#182VaibhaveS wants to merge 7 commits into
Conversation
|
Thanks for the PR. The core rewrite is useful, and I verified that the advertised non-empty Fabric cases work:
I would not merge this as-is yet because there are two gaps:
Could you add regression tests for the two advertised forms and the empty-array case? If TSQL remains part of the intended scope, please include PostgreSQL → TSQL coverage as |
|
Updated. |
|
Thanks for the update. The core implementation looks sound to me: I verified the implementation behavior locally for both Fabric and T-SQL, including:
Before merging, this needs a small rebase/update against current One small test-quality request: please append the new cases to the existing regression files and use exact |
6e14cac to
be56d4b
Compare
be56d4b to
c38a988
Compare
I added |
…ARRAY_LENGTH passthrough
…fix Any name clash in .pyi; fix BigQuery ARRAY_LENGTH->pg passthrough
|
copilot iterated a bit for the CI/CD to pass... |
|
Thanks for the update. The
I would hold off on merging as-is because the PR now includes a couple of unrelated changes that look like correctness regressions:
I will strip the releavant portions of this PR and apply it locally, then close the PR. Thanks. |
pg_get_querydefin PostgreSQL emitsScalarArrayOpExprin two forms:Neither is valid in T-SQL / Microsoft Fabric. Both should be rewritten to:
col IN ('a', 'b', 'c')