Skip to content

Commit

Permalink
clean header and remove a gtest
Browse files Browse the repository at this point in the history
  • Loading branch information
yokofly committed Jan 25, 2024
1 parent 9e989c7 commit a7f43ff
Show file tree
Hide file tree
Showing 3 changed files with 3 additions and 3 deletions.
1 change: 1 addition & 0 deletions src/Functions/keyvaluepair/impl/NeedleFactory.h
Original file line number Diff line number Diff line change
Expand Up @@ -3,6 +3,7 @@
#include <Functions/keyvaluepair/impl/Configuration.h>
#include <base/find_symbols.h>

#include <iterator>
#include <vector>

namespace DB
Expand Down
1 change: 0 additions & 1 deletion src/Functions/keyvaluepair/impl/StateHandler.h
Original file line number Diff line number Diff line change
Expand Up @@ -2,7 +2,6 @@

#include <string_view>

#include <iostream>

namespace DB
{
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -9,11 +9,11 @@
#include <Formats/FormatSettings.h>
#include <IO/WriteBufferFromString.h>

#include <ostream>
#include <gtest/gtest.h>
#include <initializer_list>
#include <Core/iostream_debug_helpers.h>


namespace
{
using namespace DB;
Expand All @@ -33,7 +33,7 @@ auto ToColumnMap(const auto & keys, const auto & values, const ColumnPtr offsets
std::string PrintMap(const auto & keys, const auto & values)
{
auto map_column = ToColumnMap(keys, values);
auto serialization = DataTypeFactory::instance().get("Map(String, String)")->getSerialization(ISerialization::Kind::DEFAULT);
auto serialization = DataTypeFactory::instance().get("map(string, string)")->getSerialization(ISerialization::Kind::DEFAULT);

WriteBufferFromOwnString buff;
serialization->serializeTextJSON(*map_column, 0, buff, FormatSettings{});
Expand Down

0 comments on commit a7f43ff

Please sign in to comment.