msathis edited a comment on issue #488:
URL:
https://github.com/apache/arrow-datafusion/issues/488#issuecomment-857597900
@Dandandan Got it. Earlier I was trying with literal list syntax. Something
like
```
#[tokio::test]
async fn test_in_expression() -> Result<()> {
let mut ctx = create_ctx()?;
register_aggregate_simple_csv(&mut ctx)?;
let sql = "SELECT COUNT(1) from aggregate_simple where c3 IN('true')";
let actual = execute(&mut ctx, sql).await;
let r1 = actual[0][0].parse::<String>().unwrap();
assert_eq!("true", r1);
Ok(())
}
```
Even `InList` doesn't seem to support `Utf8` data types. So i wrongly
assumed it was the issue to fix. Not it's all clear 👍
--
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:
[email protected]