Skip to content

Commit 8377ee7

Browse files
committed
Avoid normalising identifiers.
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.
1 parent c512438 commit 8377ee7

File tree

1 file changed

+5
-1
lines changed

1 file changed

+5
-1
lines changed

src/bin/main.rs

+5-1
Original file line numberDiff line numberDiff line change
@@ -108,7 +108,11 @@ async fn main() {
108108
}
109109

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

0 commit comments

Comments
 (0)