Skip to content

Adding correct file extension #16260

@Smotrov

Description

@Smotrov

Is your feature request related to a problem or challenge?

When storing data with some compression like here

    // Create CSV options with gzip compression
    let csv_options = CsvOptions {
        compression: CompressionTypeVariant::GZIP,
        ..Default::default()
    };
    result_df
        .write_csv(OUTPUT_PATH, write_options, Some(csv_options))
        .await
        .map_err(|e| {
            error!("Failed to write results to S3: {}", e);
            e
        })?;

stored files has only .csv compression but not .csv.gz which could be misleading later.

Describe the solution you'd like

Would be grate if it will be configurable or defaulted to used compression.

Describe alternatives you've considered

No response

Additional context

No response

Metadata

Metadata

Assignees

Labels

enhancementNew feature or request

Type

No type

Projects

No projects

Milestone

No milestone

Relationships

None yet

Development

No branches or pull requests

Issue actions