Hi,

Richard Guo <[email protected]> 于2026年11月7日周六 10:21写道:
>
> To fix, I think we can build the fields with expandNSItemVars()
> instead.  It yields the same Vars, but also marks them with
> markNullableIfNeeded(), as scanNSItemForColumn() does for a plain
> reference such as x.a.

Using expandNSItemVars() looks right to me: it adds the required
nullingrels and expands only the USING alias's columns, so the
truncation is no longer needed.

The patch looks good to me.

-- 
Thanks,
Tender Wang


Reply via email to