Skip to content
Merged
Show file tree
Hide file tree
Changes from 2 commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
Original file line number Diff line number Diff line change
Expand Up @@ -19,7 +19,16 @@
import java.util.List;
import java.util.Objects;

// unfortunately we can't use UnresolvedNamedExpression
/**
* An unresolved attribute. We build these while walking the syntax
* tree and then resolve them into other {@link Attribute} subclasses during
* analysis.
* <p>
* For example, ff they reference the data directly from lucene they'll be
Copy link
Contributor

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

if

* {@link FieldAttribute}s. If they reference the results of another calculation
* they will be {@link ReferenceAttribute}s.
* </p>
*/
public class UnresolvedAttribute extends Attribute implements Unresolvable {
private final boolean customMessage;
private final String unresolvedMsg;
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -7,6 +7,7 @@
package org.elasticsearch.xpack.esql.expression.function;

import org.elasticsearch.common.io.stream.StreamOutput;
import org.elasticsearch.xpack.esql.analysis.Analyzer;
import org.elasticsearch.xpack.esql.core.capabilities.Unresolvable;
import org.elasticsearch.xpack.esql.core.capabilities.UnresolvedException;
import org.elasticsearch.xpack.esql.core.expression.Expression;
Expand All @@ -24,6 +25,11 @@
import java.util.Objects;
import java.util.Set;

/**
* An unresolved function call. We build these while walking the syntax
* tree and then resolve them into other {@link Function} subclasses during
* {@link Analyzer analysis}.
*/
public class UnresolvedFunction extends Function implements Unresolvable {

private final String name;
Expand Down