[
https://issues.apache.org/jira/browse/ARROW-11731?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel
]
AlexNav73 updated ARROW-11731:
------------------------------
Description:
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]
was:
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]
> [Rust][DataFusion] Crash on parsing sql query with Cyrillic letters
> -------------------------------------------------------------------
>
> Key: ARROW-11731
> URL: https://issues.apache.org/jira/browse/ARROW-11731
> Project: Apache Arrow
> Issue Type: Bug
> Components: Rust - DataFusion
> Affects Versions: 4.0.0
> Reporter: AlexNav73
> Priority: Minor
> Attachments: StackTrace.txt
>
>
> 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]
--
This message was sent by Atlassian Jira
(v8.3.4#803005)