You are viewing a plain text version of this content. The canonical link for it is here.
Posted to github@datafusion.apache.org by "rluvaton (via GitHub)" <gi...@apache.org> on 2025/04/30 10:30:56 UTC

[PR] fix: correctly specify the nullability of `map_values` return type [datafusion]

rluvaton opened a new pull request, #15901:
URL: https://github.com/apache/datafusion/pull/15901

   ## Which issue does this PR close?
   
   N/A
   
   but related to:
   - #15662 
   
   ## Rationale for this change
   
   The map_values UDF does not specify correctly the nullability of the result list.
   
   when the input map array is nullable the output list is nullable, when the input map array values is nullable, the output list items are nullable 
   
   ## What changes are included in this PR?
   
   updated `map_values` to use `return_type_from_args`
   
   ## Are these changes tested?
   
   yes
   
   ## Are there any user-facing changes?
   yes


-- 
This is an automated message from the Apache Git Service.
To respond to the message, please log on to GitHub and use the
URL above to go to the specific comment.

To unsubscribe, e-mail: github-unsubscribe@datafusion.apache.org

For queries about this service, please contact Infrastructure at:
users@infra.apache.org


---------------------------------------------------------------------
To unsubscribe, e-mail: github-unsubscribe@datafusion.apache.org
For additional commands, e-mail: github-help@datafusion.apache.org


Re: [PR] fix: correctly specify the nullability of `map_values` return type [datafusion]

Posted by "rluvaton (via GitHub)" <gi...@apache.org>.
rluvaton commented on PR #15901:
URL: https://github.com/apache/datafusion/pull/15901#issuecomment-2841611976

   The broken tests failing on main as well


-- 
This is an automated message from the Apache Git Service.
To respond to the message, please log on to GitHub and use the
URL above to go to the specific comment.

To unsubscribe, e-mail: github-unsubscribe@datafusion.apache.org

For queries about this service, please contact Infrastructure at:
users@infra.apache.org


---------------------------------------------------------------------
To unsubscribe, e-mail: github-unsubscribe@datafusion.apache.org
For additional commands, e-mail: github-help@datafusion.apache.org


Re: [PR] fix: correctly specify the nullability of `map_values` return type [datafusion]

Posted by "alamb (via GitHub)" <gi...@apache.org>.
alamb commented on PR #15901:
URL: https://github.com/apache/datafusion/pull/15901#issuecomment-2842833333

   > Thanks, there is another failure in CI which is unrelated
   
   I re-started the failed CI check


-- 
This is an automated message from the Apache Git Service.
To respond to the message, please log on to GitHub and use the
URL above to go to the specific comment.

To unsubscribe, e-mail: github-unsubscribe@datafusion.apache.org

For queries about this service, please contact Infrastructure at:
users@infra.apache.org


---------------------------------------------------------------------
To unsubscribe, e-mail: github-unsubscribe@datafusion.apache.org
For additional commands, e-mail: github-help@datafusion.apache.org


Re: [PR] fix: correctly specify the nullability of `map_values` return type [datafusion]

Posted by "alamb (via GitHub)" <gi...@apache.org>.
alamb merged PR #15901:
URL: https://github.com/apache/datafusion/pull/15901


-- 
This is an automated message from the Apache Git Service.
To respond to the message, please log on to GitHub and use the
URL above to go to the specific comment.

To unsubscribe, e-mail: github-unsubscribe@datafusion.apache.org

For queries about this service, please contact Infrastructure at:
users@infra.apache.org


---------------------------------------------------------------------
To unsubscribe, e-mail: github-unsubscribe@datafusion.apache.org
For additional commands, e-mail: github-help@datafusion.apache.org


Re: [PR] fix: correctly specify the nullability of `map_values` return type [datafusion]

Posted by "rluvaton (via GitHub)" <gi...@apache.org>.
rluvaton commented on PR #15901:
URL: https://github.com/apache/datafusion/pull/15901#issuecomment-2842037364

   Thanks, there is another failure in CI which is unrelated 


-- 
This is an automated message from the Apache Git Service.
To respond to the message, please log on to GitHub and use the
URL above to go to the specific comment.

To unsubscribe, e-mail: github-unsubscribe@datafusion.apache.org

For queries about this service, please contact Infrastructure at:
users@infra.apache.org


---------------------------------------------------------------------
To unsubscribe, e-mail: github-unsubscribe@datafusion.apache.org
For additional commands, e-mail: github-help@datafusion.apache.org


Re: [PR] fix: correctly specify the nullability of `map_values` return type [datafusion]

Posted by "alamb (via GitHub)" <gi...@apache.org>.
alamb commented on PR #15901:
URL: https://github.com/apache/datafusion/pull/15901#issuecomment-2843888911

   Thanks again @rluvaton 


-- 
This is an automated message from the Apache Git Service.
To respond to the message, please log on to GitHub and use the
URL above to go to the specific comment.

To unsubscribe, e-mail: github-unsubscribe@datafusion.apache.org

For queries about this service, please contact Infrastructure at:
users@infra.apache.org


---------------------------------------------------------------------
To unsubscribe, e-mail: github-unsubscribe@datafusion.apache.org
For additional commands, e-mail: github-help@datafusion.apache.org


Re: [PR] fix: correctly specify the nullability of `map_values` return type [datafusion]

Posted by "alamb (via GitHub)" <gi...@apache.org>.
alamb commented on PR #15901:
URL: https://github.com/apache/datafusion/pull/15901#issuecomment-2841852161

   I merged this PR up from main to get the fix for CI failures


-- 
This is an automated message from the Apache Git Service.
To respond to the message, please log on to GitHub and use the
URL above to go to the specific comment.

To unsubscribe, e-mail: github-unsubscribe@datafusion.apache.org

For queries about this service, please contact Infrastructure at:
users@infra.apache.org


---------------------------------------------------------------------
To unsubscribe, e-mail: github-unsubscribe@datafusion.apache.org
For additional commands, e-mail: github-help@datafusion.apache.org