teragrep / pth_03

Data Processing Language (DPL) parser
GNU Affero General Public License v3.0
0 stars 5 forks source link

Join command subsearch does not produce transformStatement without searchTransformation #14

Open eemhu opened 10 months ago

eemhu commented 10 months ago

Describe the bug

index=a | join xyz [ | teragrep exec hdfs load test ]

does not produce transformStatement, only subsearchTransformStatement.

index=a | join xyz [ search index=b | teragrep exec hdfs load test ]

will produce transformStatement.

Expected behavior Both instances should generate a parse tree with transformStatement so the translation layer can process them the same way as a normal search.

How to Reproduce Reproduce by using the commands above and generating a parse tree.

Additional context pth-03 version 2.3.1

kortemik commented 10 months ago

see also https://github.com/teragrep/pth_10/issues/178