LIMIT clause ordering without ORDER BY and prepared statement plan caching behavior
DuckDB's LIMIT clause returns rows in a non‑deterministic order when no ORDER BY clause is present, because the columnar vectorized execution engine does not guarantee stable ordering. Prepared statements cache a single logical plan, so subsequent executions reuse this plan regardless of parameter value changes, which can affect the optimizer's cardinality e