Skip to content

Commit

Permalink
Enable logging
Browse files Browse the repository at this point in the history
  • Loading branch information
alamb committed Oct 4, 2022
1 parent a33a41a commit 3edc1cd
Showing 1 changed file with 6 additions and 0 deletions.
6 changes: 6 additions & 0 deletions datafusion/optimizer/tests/integration-test.rs
Expand Up @@ -29,6 +29,12 @@ use std::any::Any;
use std::collections::HashMap;
use std::sync::Arc;

#[cfg(test)]
#[ctor::ctor]
fn init() {
let _ = env_logger::try_init();
}

#[test]
fn case_when() -> Result<()> {
let sql = "SELECT CASE WHEN col_int32 > 0 THEN 1 ELSE 0 END FROM test";
Expand Down

0 comments on commit 3edc1cd

Please sign in to comment.