mirror of
https://github.com/ClickHouse/ClickHouse.git
synced 2024-12-03 13:02:00 +00:00
Kusto-phase2 : Fix the function base64_decode_tostring()
This commit is contained in:
parent
91e6d407cb
commit
8121f1087c
@ -13,14 +13,14 @@ bool Base64EncodeToString::convertImpl(String &out,IParser::Pos &pos)
|
|||||||
|
|
||||||
bool Base64EncodeFromGuid::convertImpl(String &out,IParser::Pos &pos)
|
bool Base64EncodeFromGuid::convertImpl(String &out,IParser::Pos &pos)
|
||||||
{
|
{
|
||||||
return directMapping(out,pos,"base64Decode");
|
String res = String(pos->begin,pos->end);
|
||||||
|
out = res;
|
||||||
|
return false;
|
||||||
}
|
}
|
||||||
|
|
||||||
bool Base64DecodeToString::convertImpl(String &out,IParser::Pos &pos)
|
bool Base64DecodeToString::convertImpl(String &out,IParser::Pos &pos)
|
||||||
{
|
{
|
||||||
String res = String(pos->begin,pos->end);
|
return directMapping(out,pos,"base64Decode");
|
||||||
out = res;
|
|
||||||
return false;
|
|
||||||
}
|
}
|
||||||
|
|
||||||
bool Base64DecodeToArray::convertImpl(String &out,IParser::Pos &pos)
|
bool Base64DecodeToArray::convertImpl(String &out,IParser::Pos &pos)
|
||||||
|
Loading…
Reference in New Issue
Block a user