Briefly, this error occurs when you’re trying to use pipes in Elasticsearch’s machine learning feature, specifically in the data frame analytics jobs. Currently, Elasticsearch does not support the use of pipes in this context. To resolve this issue, you can either modify your data frame analytics job to not use pipes, or you can preprocess your data to make it compatible with the current limitations of Elasticsearch’s machine learning capabilities.
This guide will help you check for common problems that cause the log ” Samples do not support pipes yet ” to appear. To understand the issues related to this log, read the explanation below about the following Elasticsearch concepts: parser, plugin.
Log Context
Log “Samples do not support pipes yet” class name is LogicalPlanBuilder.java. We extracted the following from Elasticsearch source code for those seeking an in-depth context :
public Object visitStatement(StatementContext ctx) { LogicalPlan plan = plan(ctx.query()); if (plan instanceof Sample) { if (ctx.pipe().size() > 0) { throw new ParsingException(source(ctx.pipe().get(0)); "Samples do not support pipes yet"); } return new LimitWithOffset(plan.source(); new Literal(Source.EMPTY; params.size(); DataTypes.INTEGER); 0; plan); } // // Add implicit blocks
[ratemypost]