srielau commented on PR #59188: URL: https://github.com/apache/spark/pull/59188#issuecomment-5998272101
On the wide-CHAR CSV tokenization cost: this PR treats CHAR documents as STRING after CAST, so a space delimiter on `CHAR(n)` can expand into up to `n` tokens (bounded by `maxColumns`, default 20480). That is an accepted consequence of the no-rtrim contract rather than something to special-case in the parser here. A wide-input CSV benchmark or `maxColumns` mitigation can be a follow-up if this shows up in practice. -- 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] --------------------------------------------------------------------- To unsubscribe, e-mail: [email protected] For additional commands, e-mail: [email protected]
