Re: [PR] Fix regression caused by changes in Display for DataType - display (`List(non-null Int64)` instead of `List(nullable Int64)` [arrow-rs]
alamb commented on PR #8890: URL: https://github.com/apache/arrow-rs/pull/8890#issuecomment-3559962592 🎉 -- 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: [email protected] For queries about this service, please contact Infrastructure at: [email protected]
Re: [PR] Fix regression caused by changes in Display for DataType - display (`List(non-null Int64)` instead of `List(nullable Int64)` [arrow-rs]
alamb merged PR #8890: URL: https://github.com/apache/arrow-rs/pull/8890 -- 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: [email protected] For queries about this service, please contact Infrastructure at: [email protected]
Re: [PR] Fix regression caused by changes in Display for DataType - display (`List(non-null Int64)` instead of `List(nullable Int64)` [arrow-rs]
alamb commented on PR #8890: URL: https://github.com/apache/arrow-rs/pull/8890#issuecomment-3559915343  -- 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: [email protected] For queries about this service, please contact Infrastructure at: [email protected]
Re: [PR] Fix regression caused by changes in Display for DataType - display (`List(non-null Int64)` instead of `List(nullable Int64)` [arrow-rs]
etseidl commented on PR #8890: URL: https://github.com/apache/arrow-rs/pull/8890#issuecomment-3559885066 I'll merge once CI finishes -- 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: [email protected] For queries about this service, please contact Infrastructure at: [email protected]
Re: [PR] Fix regression caused by changes in Display for DataType - display (`List(non-null Int64)` instead of `List(nullable Int64)` [arrow-rs]
alamb commented on code in PR #8890:
URL: https://github.com/apache/arrow-rs/pull/8890#discussion_r2547530301
##
arrow-schema/src/datatype_parse.rs:
##
@@ -547,11 +547,15 @@ impl<'a> Parser<'a> {
))
}
-/// return and consume if the next token is `Token::Nullable`
+/// consume the next token and return `false` if the field is `nonnull`.
fn parse_opt_nullable(&mut self) -> bool {
-self.tokenizer
-.next_if(|next| matches!(next, Ok(Token::Nullable)))
-.is_some()
+let tok = self
+.tokenizer
+.next_if(|next| matches!(next, Ok(Token::NonNull |
Token::Nullable)));
+match tok {
+Some(Ok(Token::NonNull)) => false,
+_ => true,
+}
Review Comment:
I don't think we have released anything with `nullable` in it
--
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: [email protected]
For queries about this service, please contact Infrastructure at:
[email protected]
