Skip to content

Commit 4bd4563

Browse files
committed
Fix regression in PQL, _any_ does not seem to be supported anymore
* The regression was introduced when PQLManager.apply() was switched from the legacy tokenize_query → parse → build pipeline to the new AST-based apply_ast() pipeline.
1 parent b93e4d7 commit 4bd4563

1 file changed

Lines changed: 2 additions & 0 deletions

File tree

cli/polyaxon/_pql/manager.py

Lines changed: 2 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -366,6 +366,8 @@ def _build_ast_q(
366366
trigger_distinct = False
367367

368368
if isinstance(node, ExpressionNode):
369+
if node.operation.strip() == "_any_":
370+
return None, False
369371
return cls._build_expression_q(node.field, node.operation, request)
370372

371373
elif isinstance(node, AndNode):

0 commit comments

Comments
 (0)