We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
1 parent 2c3e991 commit 4d29bccCopy full SHA for 4d29bcc
rust/cubesql/cubesql/src/compile/engine/df/wrapper.rs
@@ -416,10 +416,7 @@ impl Remapper {
416
LazyLock::new(|| Regex::new(r"[^a-zA-Z0-9_]").unwrap());
417
418
let alias = start_from;
419
- let mut truncated_alias = NON_ID_REGEX
420
- .replace_all(&alias, "_")
421
- .trim_start_matches("_")
422
- .to_lowercase();
+ let mut truncated_alias = NON_ID_REGEX.replace_all(&alias, "_").to_lowercase();
423
truncated_alias.truncate(16);
424
let mut alias = truncated_alias.clone();
425
for i in 1..10000 {
0 commit comments