Skip to content

Commit 1e71bdf

Browse files
authored
Merge pull request ClickHouse#80654 from jh0x/jh-bas32-fix
Add correct introduced_in info to base32 functions
2 parents 0fadf99 + 5eaae85 commit 1e71bdf

File tree

4 files changed

+3
-3
lines changed

4 files changed

+3
-3
lines changed

src/Functions/base32Decode.cpp

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -28,6 +28,7 @@ Decode a [Base32](https://datatracker.ietf.org/doc/html/rfc4648) encoded string.
2828
{"empty_string", "SELECT base32Decode('')", ""},
2929
{"non_ascii", "SELECT hex(base32Decode('4W2HIXV4'))", "E5B4745EBC"},
3030
},
31+
.introduced_in = {25, 5},
3132
.category = FunctionDocumentation::Category::String});
3233
}
3334
}

src/Functions/base32Encode.cpp

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -26,6 +26,7 @@ Encode a string with [Base32](https://datatracker.ietf.org/doc/html/rfc4648) enc
2626
{"simple_encoding1", "SELECT base32Encode('a')", "ME======"},
2727
{"simple_encoding2", "SELECT base32Encode('Hello')", "JBSWY3DP"}
2828
},
29+
.introduced_in = {25, 5},
2930
.category = FunctionDocumentation::Category::String});
3031
}
3132
}

src/Functions/tryBase32Decode.cpp

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -30,6 +30,7 @@ Decode a [Base32](https://datatracker.ietf.org/doc/html/rfc4648) encoded string.
3030
{"empty_string", "SELECT tryBase32Decode('')", ""},
3131
{"non_base32_characters", "SELECT tryBase32Decode('12345')", ""},
3232
},
33+
.introduced_in = {25, 5},
3334
.category = FunctionDocumentation::Category::String});
3435
}
3536
}

tests/queries/0_stateless/02415_all_new_functions_must_have_version_information.reference

Lines changed: 0 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -123,8 +123,6 @@ atan
123123
atan2
124124
atanh
125125
bar
126-
base32Decode
127-
base32Encode
128126
base58Decode
129127
base58Encode
130128
basename
@@ -994,7 +992,6 @@ trimBoth
994992
trimLeft
995993
trimRight
996994
trunc
997-
tryBase32Decode
998995
tryBase58Decode
999996
tumble
1000997
tumbleEnd

0 commit comments

Comments
 (0)