Skip to content

Commit

Permalink
fix build due to ClickHouse/ClickHouse#61502
Browse files Browse the repository at this point in the history
  • Loading branch information
baibaichen committed Mar 18, 2024
1 parent ab3ef47 commit 1c6605e
Showing 1 changed file with 2 additions and 1 deletion.
3 changes: 2 additions & 1 deletion cpp-ch/local-engine/Functions/SparkFunctionGetJsonObject.h
Original file line number Diff line number Diff line change
Expand Up @@ -267,7 +267,8 @@ class FlattenJSONStringOnRequiredFunction : public DB::IFunction
const char * query_end = required_fields.back().c_str() + required_fields.back().size();
DB::Tokens tokens(query_begin, query_end);
UInt32 max_parser_depth = static_cast<UInt32>(context->getSettingsRef().max_parser_depth);
DB::IParser::Pos token_iterator(tokens, max_parser_depth);
UInt32 max_parser_backtracks = static_cast<UInt32>(context->getSettingsRef().max_parser_backtracks);
DB::IParser::Pos token_iterator(tokens, max_parser_depth, max_parser_backtracks);
DB::ASTPtr json_path_ast;
DB::ParserJSONPath path_parser;
DB::Expected expected;
Expand Down

0 comments on commit 1c6605e

Please sign in to comment.