Skip to content

Commit

Permalink
Avoid normalising identifiers.
Browse files Browse the repository at this point in the history
This is awfully surprising to new users, and I think it's a bad thing to do even
if people more familiar with SQL DB engines won't be too surprised about it.
  • Loading branch information
Dietr1ch committed Jan 11, 2025
1 parent 98cc277 commit 74b339e
Showing 1 changed file with 5 additions and 1 deletion.
6 changes: 5 additions & 1 deletion src/bin/main.rs
Original file line number Diff line number Diff line change
Expand Up @@ -108,7 +108,11 @@ async fn main() {
}

async fn execute_command(cmd: Command) -> Result<(), Error> {
let config = SessionConfig::new().with_information_schema(true);
let config = SessionConfig::new()
// Configuration Settings
// https://datafusion.apache.org/user-guide/configs.html
.set_bool("datafusion.sql_parser.enable_ident_normalization", false)
.with_information_schema(true);
let ctx = SessionContext::new_with_config(config);
match cmd {
Command::View { filename, limit } => {
Expand Down

0 comments on commit 74b339e

Please sign in to comment.