NEAREST_BY_JOIN foutvoorwaarde

SQLSTATE: 42604

Ongeldige dichtstbijzijnde join.

CROSS_JOIN_NOT_ENABLED

Nearest-by join wordt intern geïmplementeerd als een begrensd kruisproduct en wordt daarom afgewezen wanneer spark.sql.crossJoin.enabled = false. Stel spark.sql.crossJoin.enabled = true in om dit toe te staan, of herschrijf de query zonder nearest-by.

EXACT_WITH_NONDETERMINISTIC_EXPRESSION

EXACT nabijheidsjoin is niet compatibel met de niet-deterministische rangschikkingsexpressie <expression>. Gebruik APPROXof vervang de expressie door een deterministische expressie.

NON_ORDERABLE_RANKING_EXPRESSION

De rangschikkingsuitdrukking <expression> van het type <type> is niet sorteerbaar. Geef een expressie die een sorteerbaar type retourneert, zoals een numerieke afstand, bijvoorbeeld abs(a.col - b.col), of een numerieke similariteitsscore.

NUM_RESULTS_OUT_OF_RANGE

Het aantal resultaten <numResults> moet tussen <min> en <max>. Werk de letterlijke waarde in APPROX NEAREST <numResults> BY ... (of EXACT NEAREST <numResults> BY ...) bij om binnen dat bereik te vallen.

STREAMING_NOT_SUPPORTED

Nearest-by join wordt niet ondersteund voor streaming DataFrames/Datasets.

UNSUPPORTED_DIRECTION

Niet-ondersteunde dichtstbijzijnde joinrichting '<direction>'. Ondersteunde join-richtingen op basis van nabijheid omvatten: <supported>.

UNSUPPORTED_JOIN_TYPE

Niet-ondersteund dichtstbijzijnde jointype <joinType>. Ondersteunde typen: <supported>.

NIET-ONDERSTEUNDE_MODUS

Niet-ondersteunde dichtstbijzijnde joinmodus '<mode>'. Ondersteunde modi zijn: <supported>.