To match the documentation in blackbox/docs/admin/discovery.txt and
the version used in
es/upstream/plugins/discovery-azure-classic/build.gradle
We've no testing module. The log4j2.properties file within testing
wasn't used anywhere.
These are leftover from when we used junit-benchmarks
RandomizedContext isn't available in the JMH benchmarks, so
Randomness.get() failed
The ClusterService wasn't being setup correctly, due to that the
SQLExecutor got stuck updating the clusterState.
This test has dynamic schema updates - these require a synchronous
cluster state update which can be slow at times (especially in a test
environment where there might be X nodes launched)
This changes the assertion in the test so that i…
A change in 927b22cac331095ee0bea79feb5c8ed074a8df27 caused a regression
because the nodePageSizeHint wasn't preserved when normalizing a
RoutedCollectPhase. This caused the collect operation to collect way more
documents than necess…
Could fail with
Failed to auto-resolve psql publish port, multiple bound addresses [[::1]:5432, 127.0.0.1:5433] with distinct ports and none of them matched the publish address (/127.0.0.111).
This removes the ESGetTask and instead adds a PKLookupPhase & Operation
which ties into our execution infrastructure.
This way the "Get" specific code no longer has to take care of ORDER BY,
LIMIT, OFFSET. This is handled by other opera…
Makes the port binding dynamic so that a test can be launched multiple
times. Helps when trying to reproduce flakyness.
Parameter expressions inside ANY didn't work with postgres based clients
that do not send type hints. (asyncpg, pgx, … etc)
A statement like
SELECT * FROM t WHERE x = ANY(?)
would fail with the following error:
invalid arra...
Fixes:
running tests but failed to invoke RandomizedContext#getRandom
at org.elasticsearch.common.Randomness.get(Randomness.java:105)
at io.crate.testing.SQLExecutor.getPlannerContext(SQLExecutor.java:127)
at io.crate.analyze.Pr...
Currently the only usage is on the CollectPhase; so the jobId doesn't
have to be part of the ExecutionPhase interface
To support something like select values['p'] from information_schema.table_partitions
If the column doesn't exist it will return null instead of failing. In
addition there is also a implicit cast to string. This is necessary
because f…