[GitHub] [arrow-rs] tustvold commented on a diff in pull request #3570: Remove unwrap on datetime cast for CSV writer

2023-01-21 Thread via GitHub
tustvold commented on code in PR #3570: URL: https://github.com/apache/arrow-rs/pull/3570#discussion_r1083269456 ## arrow-csv/src/writer.rs: ## @@ -88,6 +88,25 @@ where lexical_to_string(c.value(i)) } +fn invalid_cast_error(dt: String, col_index: usize, row_index: usize)

[GitHub] [arrow-rs] tustvold commented on a diff in pull request #3570: Remove unwrap on datetime cast for CSV writer

2023-01-20 Thread GitBox
tustvold commented on code in PR #3570: URL: https://github.com/apache/arrow-rs/pull/3570#discussion_r1082820993 ## arrow-csv/src/writer.rs: ## @@ -88,6 +88,35 @@ where lexical_to_string(c.value(i)) } +fn invalid_cast_error(dt: String, col_index: usize, row_index: usize)

[GitHub] [arrow-rs] tustvold commented on a diff in pull request #3570: Remove unwrap on datetime cast for CSV writer

2023-01-20 Thread GitBox
tustvold commented on code in PR #3570: URL: https://github.com/apache/arrow-rs/pull/3570#discussion_r1082281926 ## arrow-csv/src/writer.rs: ## @@ -88,6 +88,35 @@ where lexical_to_string(c.value(i)) } +fn invalid_cast_error(dt: String, col_index: usize, row_index: usize)