Is your feature request related to a problem?
patterns command in V2 engine returns sample_logs field in aggregation result. After Calcite is enabled, the sample_logs is not included in V3 patterns command aggregation result.
User requested this field as a backward compatible feature enhancement.
What solution would you like?
Add sampling of original logs in PATTER_PARSER UDF for patterns aggregation mode.
What alternatives have you considered?
Do you have any additional context?