Skip to content

Crash on parsing sql query with Cyrillic letters #184

@alamb

Description

@alamb

Note: migrated from original JIRA: https://issues.apache.org/jira/browse/ARROW-11731

Hello,

I'm using DataFusion to query data from my csv file. The file contains columns with Cyrillic letters and when I write query like this one, I get a crash.

Code sample:
{code}
let mut ctx = ExecutionContext::new();
let csv_file = CsvFile::try_new(args.input.as_path().to_str().unwrap(), CsvReadOptions::new())?;
ctx.register_table("transactions", Arc::new(csv_file));
let df = ctx.sql("SELECT "ДАТА" FROM transactions")?;
let results = df.collect().await?;
log::info!("result: {:?}", results);
{code}

Stack trace: [^StackTrace.txt]

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions