You are viewing a plain text version of this content. The canonical link for it is here.
Posted to github@arrow.apache.org by GitBox <gi...@apache.org> on 2021/04/26 13:32:01 UTC
[GitHub] [arrow-datafusion] alamb opened a new issue #184: Crash on parsing sql query with Cyrillic letters
alamb opened a new issue #184:
URL: https://github.com/apache/arrow-datafusion/issues/184
*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]
--
This is an automated message from the Apache Git Service.
To respond to the message, please log on to GitHub and use the
URL above to go to the specific comment.
For queries about this service, please contact Infrastructure at:
users@infra.apache.org