Skip to content

Commit

Permalink
allow empty string for partitions. fixes 9768
Browse files Browse the repository at this point in the history
  • Loading branch information
nbc committed Nov 24, 2023
1 parent 78115aa commit 37b68d5
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion src/common/hive_partitioning.cpp
Expand Up @@ -65,7 +65,7 @@ static void ConvertKnownColRefToConstants(unique_ptr<Expression> &expr,
// - http(s)://domain(:port)/lala/kasdl/var1=value1/?not-a-var=not-a-value
// - folder/folder/folder/../var1=value1/etc/.//var2=value2
const string &HivePartitioning::RegexString() {
static string REGEX = "[\\/\\\\]([^\\/\\?\\\\]+)=([^\\/\\n\\?\\\\]+)";
static string REGEX = "[\\/\\\\]([^\\/\\?\\\\]+)=([^\\/\\n\\?\\\\]*)";
return REGEX;
}

Expand Down

0 comments on commit 37b68d5

Please sign in to comment.