You are viewing a plain text version of this content. The canonical link for it is here.
Posted to github@datafusion.apache.org by "goldmedal (via GitHub)" <gi...@apache.org> on 2024/09/04 16:41:15 UTC

[I] The file with non-standard newline character can't be read when sqllogictests testing [datafusion]

goldmedal opened a new issue, #12328:
URL: https://github.com/apache/datafusion/issues/12328

   ### Describe the bug
   
   As the discussion in https://github.com/apache/datafusion/pull/12263#discussion_r1742412198, this behavior seems a bug. If the input file with non-standard newline (e.g. CR), we will get the object store error
   ```
   DataFusion error: Object Store error: Generic LocalFileSystem error: Requested range was invalid
   ```
   
   ### To Reproduce
   
   Provide a file using `CR` as the newline character, then use this file in sqllogcitests.
   
   ### Expected behavior
   
   https://github.com/apache/datafusion/pull/12263 implement the custom terminator for the csv format. If the terminator is correct, the record should be read well. Otherwise, the error message should like
   ```
   Arrow error: Csv error: incorrect number of fields for line 1, expected 2 got more than 2
   ```
   
   ### Additional context
   
   _No response_


-- 
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.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: [I] The file with non-standard newline character can't be read when sqllogictests testing [datafusion]

Posted by "korowa (via GitHub)" <gi...@apache.org>.
korowa closed issue #12328: The file with non-standard newline character can't be read when sqllogictests testing
URL: https://github.com/apache/datafusion/issues/12328


-- 
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