go - Does BigQuery support CSV files with CRLF (rn) line endings? - Stack Overflow

I'm using google.golangapibigqueryv2 package to import CSV files from GCS into BigQuery. The CS

I'm using google.golang/api/bigquery/v2 package to import CSV files from GCS into BigQuery. The CSV file is using CRLF (\r\n) as the line separator.

Can BigQuery correctly parse CSV files that use CRLF (\r\n)?

I've searched the docs but couldn't find a clear statement about this.

I'm using google.golang./api/bigquery/v2 package to import CSV files from GCS into BigQuery. The CSV file is using CRLF (\r\n) as the line separator.

Can BigQuery correctly parse CSV files that use CRLF (\r\n)?

I've searched the docs but couldn't find a clear statement about this.

Share Improve this question edited Mar 12 at 9:16 Tri Pham asked Mar 12 at 9:14 Tri PhamTri Pham 255 bronze badges
Add a comment  | 

1 Answer 1

Reset to default 1

\r\n should be just fine.

BQ doc refers to RFC 4180, which says:

  1. Each record is located on a separate line, delimited by a line break (CRLF).

The document in turn refers to RFC 2234, which defines:

CRLF = CR LF ; Internet standard newline

发布者:admin,转转请注明出处:http://www.yc00.com/questions/1744762553a4592257.html

相关推荐

发表回复

评论列表(0条)

  • 暂无评论

联系我们

400-800-8888

在线咨询: QQ交谈

邮件:admin@example.com

工作时间:周一至周五,9:30-18:30,节假日休息

关注微信