Skip to content

Conversation

@kazantsev-maksim
Copy link
Contributor

@kazantsev-maksim kazantsev-maksim commented Dec 28, 2025

Which issue does this PR close?

  • N/A

Rationale for this change

Basic implementation of the spark to_csv function added - https://spark.apache.org/docs/latest/api/sql/index.html#to_csv

  1. Handling of complex types must be implemented in a future iteration.
  2. The processing of types such as DateType, TimestampType, TimestampNTZType, and BinaryType is currently inconsistent with Spark's behavior.

What changes are included in this PR?

How are these changes tested?

  1. Added unit tests
  2. Added benchmark tests

Benchmark results (need optimization):
to_csv_benchmark_result

@kazantsev-maksim kazantsev-maksim marked this pull request as draft December 28, 2025 13:38
@kazantsev-maksim kazantsev-maksim marked this pull request as ready for review January 9, 2026 10:56
CsvWriteOptions options = 2;
}

message CsvWriteOptions {
Copy link
Contributor Author

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

1 participant