|
@@ -12,14 +12,14 @@ inline TRowPattern ConvertPattern(const TExprNode::TPtr& pattern, TExprContext &
|
|
|
for (const auto& factor: term->Children()) {
|
|
|
YQL_ENSURE(factor->ChildrenSize() == 6, "Expect 6 args");
|
|
|
result.back().push_back(TRowPatternFactor{
|
|
|
- factor->ChildRef(0)->IsAtom() ?
|
|
|
- TRowPatternPrimary(TString(factor->ChildRef(0)->Content())) :
|
|
|
- ConvertPattern(factor->ChildRef(0), ctx, nestingLevel + 1),
|
|
|
- FromString<ui64>(factor->ChildRef(1)->Content()),
|
|
|
- FromString<ui64>(factor->ChildRef(2)->Content()),
|
|
|
- FromString<bool>(factor->ChildRef(3)->Content()),
|
|
|
- FromString<bool>(factor->ChildRef(4)->Content()),
|
|
|
- FromString<bool>(factor->ChildRef(5)->Content())
|
|
|
+ factor->Child(0)->IsAtom() ?
|
|
|
+ TRowPatternPrimary(TString(factor->Child(0)->Content())) :
|
|
|
+ ConvertPattern(factor->Child(0), ctx, nestingLevel + 1),
|
|
|
+ FromString<ui64>(factor->Child(1)->Content()),
|
|
|
+ FromString<ui64>(factor->Child(2)->Content()),
|
|
|
+ FromString<bool>(factor->Child(3)->Content()),
|
|
|
+ FromString<bool>(factor->Child(4)->Content()),
|
|
|
+ FromString<bool>(factor->Child(5)->Content())
|
|
|
});
|
|
|
}
|
|
|
}
|