Class Verifier
java.lang.Object
org.elasticsearch.xpack.esql.analysis.Verifier
This class is part of the planner. Responsible for failing impossible queries with a human-readable error message. In particular, this
step does type resolution and fails queries based on invalid type expressions.
-
Constructor Summary
ConstructorsConstructorDescriptionVerifier(Metrics metrics, XPackLicenseState licenseState) Verifier(Metrics metrics, XPackLicenseState licenseState, List<BiConsumer<LogicalPlan, Failures>> extraCheckers) -
Method Summary
-
Constructor Details
-
Verifier
-
Verifier
public Verifier(Metrics metrics, XPackLicenseState licenseState, List<BiConsumer<LogicalPlan, Failures>> extraCheckers)
-
-
Method Details
-
licenseState
-
validateBinaryComparison
Limit QL's comparisons to types we support. This should agree withEsqlBinaryComparison's checkCompatibility method- Returns:
- null if the given binary comparison has valid input types, otherwise a failure message suitable to return to the user.
-