This is an automated email from the ASF dual-hosted git repository.
amashenkov pushed a change to branch ignite-21942
in repository https://gitbox.apache.org/repos/asf/ignite-3.git
omit fecf0b5f2c minor
omit a14e5b8c28 wip.
omit 0a3ac8d91a IGNITE-22184 Fix race in
ItClusterManagerTest#testJoinInvalidTag (#3719)
omit 231b61e467 IGNITE-21977 Sql. Extend test coverage for SQL feature
F661(Simple tables) (#3705)
omit dac9b46b74 IGNITE-21992 Fix remove-after-insert in Data Streamer
within the same batch (#3713)
omit 865c02bf0b IGNITE-21945 Sql. Cover SQL F855(Nested <order by clause>
in <query expression>) (#3708)
omit 636a03c4d1 IGNITE-19091 Sql. Fix
ItIgniteNodeRestartTest::testQueryCorrectnessAfterNodeRestart (#3712)
omit b5d5999871 Bump org.slf4j:slf4j-jdk14 from 2.0.12 to 2.0.13 (#3676)
omit 43c00984cf Bump com.github.spotbugs from 6.0.12 to 6.0.14 (#3707)
omit 3182188010 IGNITE-22175 Improve handling for RocksDb resources on
RocksDbKeyValueStorage (#3709)
omit 8aabfa8277 IGNITE-22156 Replace inheritance with delegation for
UpgradingRowAdapter class. (#3696)
omit 6de12ae35e IGNITE-22159: unmute tests (#3695)
omit e1012bf1b0 IGNITE-22163 Fix potential NPE in IndexManager (#3699)
omit 80ff031014 IGNITE-21300 Implement disaster recovery for secondary
indexes (#3698)
omit 054ef3e484 [IGNITE-21295] Implement REST API for manual raft group
configuration update (#3701)
omit 7f93d63d09 [IGNITE-21999] Merge partition free-lists into one (#3615)
omit 654a11a4a0 IGNITE-22128 Balancing partitions across stripes (#3690)
omit 0a46272fa6 [IGNITE-22091] Implement CLI for disaster recovery:
partition states (#3668)
omit ef50f41d93 IGNITE-21962 Fix client tests relying on specific product
version (#3693)
omit 78e1ae6fca IGNITE-21732: Sql. Split TableRowConverterImpl on two
different implementations (#3687)
omit cb34325ecc IGNITE-22064 General MapReduce API (#3665)
omit e034ed0e9b Bump com.netflix.nebula.ospackage from 11.8.1 to 11.9.0
(#3682)
omit b02882dd7a IGNITE-21908 Add metrics of distribution among stripes in
disruptor (#3645)
omit 8749e4da5a [IGNITE-22121] Change parameters for disaster recovery
partition states api (#3671)
omit d65970556f IGNITE-21731 Sql. Split TableRowConverter#toBinaryRow on
two methods (#3688)
omit 193173cc92 IGNITE-22147 Disabled
ItTxResourcesVacuumTest.testRecoveryAfterPersistentStateVacuumized (#3686)
omit f7c25c937d IGNITE-18275 Remove obsolete TODOs (#3685)
omit 66172ffc2c IGNITE-22086 Thin client: initialize observableTimestamp in
handshake (#3679)
omit 1aec35c848 Bump io.github.bonede:tree-sitter from 0.22.2 to 0.22.5
(#3661)
omit 4bab4fa9c6 IGNITE-21763 Adjust TxnResourceVacuumTask in order to
vacuum persistent txn state (#3591)
omit 76d95724c8 IGNITE-21859 Causality token stays 0 for default zone
(#3653)
omit 6705eb6f36 IGNITE-19762 Remove data region remnants from RocksDb
storage (#3677)
omit e20961ff4d IGNITE-21720 Sql. Implement hash join (#3608)
omit 1ee67f4cc9 Bump io.github.bonede:tree-sitter-json from 0.20.1 to
0.21.0 (#3664)
omit 6cb005b220 IGNITE-22039 Getting rid of InconsistentIndexStateException
for SortedIndexStorage#tolerantScan (#3674)
omit 2dcb552102 IGNITE-22097 JobContext is not closed when job execution
fails (#3656)
omit 0574391709 IGNITE-21953: Cover SQL E021-01(Character string types.
CHARACTER data type) feature by tests (#3660)
omit fbf070b41f IGNITE-22071 Async component stop (#3629)
omit bca08752e6 IGNITE-22113 Remove unused MetaStorageManagerImpl getAnd<>
methods (#3670)
omit bb7e31f6c7 IGNITE-21938 Sql. Cover SQL F041-07 feature by tests (#3642)
omit c78b3e9a69 IGNITE-22116 Include underlying exception when reporting
occupied port issue (#3667)
omit 675e2e8781 [IGNITE-21404] Do not wrap SqlException into
RuntimeException for PlannerHelper.optimize. (#3625)
omit d92f8b4ad3 Bump net.bytebuddy:byte-buddy from 1.14.12 to 1.14.14
(#3658)
omit f69cbcdd68 Bump org.openapi.generator from 7.4.0 to 7.5.0 (#3662)
omit 55bd75a065 Bump bouncycastle from 1.76 to 1.78.1 (#3663)
omit 126fc94467 Bump netty from 4.1.108.Final to 4.1.109.Final (#3657)
omit 2db00e109c Bump org.threeten:threetenbp from 1.6.8 to 1.6.9 (#3494)
omit da852ab811 Bump com.github.johnrengelman.shadow from 7.1.2 to 8.1.1
(#3397)
omit 4871350087 IGNITE-22105 Add busy lock to RocksDbClusterStateStorage
(#3659)
omit a3bd2e5b6d IGNITE-22095 Remove compute job jars from the repo (#3655)
omit b39659f90d IGNITE-22093: Sql. Rename PlannerPhase::HEP_DECORRELATE
(#3652)
omit 694f43b5be IGNITE-21850 Enable LogSinkTest (#3646)
omit cfea5baaf2 IGNITE-22075 GC doesn't wait for RO transactions (#3650)
omit d593e6487a IGNITE-21824 Revert workaround for jline bug (#3647)
omit 478ee5de9f Bump org.rocksdb:rocksdbjni from 8.11.3 to 9.1.1 (#3654)
omit 0f5618fde0 IGNITE-21435: Sql. Catalog DefaultValue should not depend
on Serializable. (#3627)
omit d3781844a7 IGNITE-21937 Sql. Cover SQL F041-05 feature by tests (#3643)
omit c57c1a8c38 IGNITE-22024 Fixed
ItSqlClientSynchronousApiTest#runtimeErrorInDmlCausesTransactionToFail (#3651)
omit 6dedb616b3 IGNITE-19681 Java thin: Add tx partition awareness (lazy tx
start) (#3640)
omit df39219094 IGNITE-21943: Cover SQL F561(Full value expressions)
feature by tests (#3641)
omit a3b26ac688 IGNITE-18647 Sql. Implement missed Statement and
StatementBuilder methods (#3626)
omit 21f940de18 IGNITE-21939 Sql. Cover SQL F302-02(INTERSECT [ALL] table
operator) feature by tests (#3636)
omit aa22af743d IGNITE-21940 Sql. Cover SQL F304 (EXCEPT ALL table
operator) feature by tests (#3635)
omit 25926b1a76 IGNITE-19949 Fix dynamic completer for same options (#3644)
omit 15a4383367 IGNITE-22083 Sql. Invalidate fragment mapping cache when
the mapped node has left the cluster (#3637)
omit 50d14e8fca IGNITE-21988 Don't allow reading from index storage if it
is in build state (#3561)
omit 7ac3f5ba1b IGNITE-21257 Introduce REST API for viewing partition
states (#3614)
omit 0978749e4e IGNITE-22062 RO transaction does not close cursor when
exception is thrown (#3620)
omit c6d135080a Bump com.github.spotbugs from 6.0.8 to 6.0.12 (#3638)
omit 9036b30bef IGNITE-22054 Fix ItMultipleLocksTest#test (#3632)
omit ced1035ffa IGNITE-21923: Cover SQL E051-09(Basic query specification,
Rename columns in the FROM clause) feature by tests (#3628)
omit 8bde02bffb Bump org.apache.calcite.avatica:avatica-core from 1.24.0 to
1.25.0 (#3624)
omit 2ba5a6def1 Bump archunit from 1.2.1 to 1.3.0 (#3623)
omit b43e81f171 IGNITE-21996 Sql. Improve test coverage for ALTER COLUMN
command (#3631)
omit 5a419c5dd9 IGNITE-21935: Cover SQL E153(Updatable queries with
subqueries) feature by tests (#3630)
omit ce4050397f IGNITE-22001 Throw specific exception if during
writeTableAssignmentsToMetastore process was interrupted (#3575)
omit 958b4a06fc IGNITE-22041 Correct inline size calculation for indexes
(#3622)
omit 66ef243b39 IGNITE-21928 Describe Catalog operation flow in README
(#3585)
omit 98a2a22830 IGNITE-22066 Fix memory leak in the DummyInternalTableImpl
(#3621)
omit 3cd90d4f59 IGNITE-19687 Add support for reassigning the default
distribution zone in Catalog (#3590)
omit 84c1712957 IGNITE-22053 Sql. Logic test without ordering compares with
ordered results (#3613)
omit bf7f2a9777 IGNITE-21963: fix incorrect serialization for some
BigDecimal values (#3599)
omit 8737d92818 IGNITE-22060: Enable sql logic tests for NOT NULL
constraint violation (#3618)
omit c69918e148 IGNITE-20516 Remove openapi.yaml from source code (#3581)
omit ad69dfd808 IGNITE-22055 Shut destruction executor down before closing
volatile regions (#3616)
omit e18c0a005f IGNITE-22027 Disable destruction_does_not_update_data
(#3617)
omit c1f9e5ea66 Bump asm from 9.6 to 9.7 (#3481)
omit 93165bd652 Bump uk.co.datumedge:hamcrest-json from 0.2 to 0.3 (#3587)
omit 46f09f5c15 IGNITE-22029 Change default configuration according to
default RAFT option (#3596)
omit 7306b533c0 IGNITE-22047 Ignore index destruction attempt if table
storage is closed/destroyed (#3609)
omit ac10fb020b IGNITE-22052 Disable flaky basic_authenticator_test (#3612)
omit 0f9f1df95e IGNITE-22015: Fix checking NOT NULL constraint for UPDATE,
MERGE, INSERT INTO ... FROM statements (#3583)
omit 09cd1d897d IGNITE-22042 Do not enlist operations in a FINISHING
transaction (#3604)
omit a3e8fd1266 IGNITE-21904 Mechanism to provide custom Event
implementations to register EventSerializer (#3606)
omit 6b0358f234 IGNITE-22033 Replace PlacementDriver#currentLease with
#getPrimaryReplica in ReadWriteTxContext#waitReadyToFinish (#3600)
omit 2534207d7b IGNITE-21921 Sql. Cover SQL E071-01 (Basic query
expressions, UNION DISTINCT table operator) feature by tests (#3559)
add d1831fd910 Add sorted aggregate push down rule
add d386dcd4e7 Add hash aggregate push down rule
add 22af226bf9 fixup! Add sorted aggregate push down rule
add 10d2551874 fixup! Add hash aggregate push down rule
add 5a03211446 Cleanup code.
add 3903730faf IGNITE-21921 Sql. Cover SQL E071-01 (Basic query
expressions, UNION DISTINCT table operator) feature by tests (#3559)
add 62a84c5ffb IGNITE-22033 Replace PlacementDriver#currentLease with
#getPrimaryReplica in ReadWriteTxContext#waitReadyToFinish (#3600)
add 1d7634274d IGNITE-21904 Mechanism to provide custom Event
implementations to register EventSerializer (#3606)
add 753cfe73fb IGNITE-22042 Do not enlist operations in a FINISHING
transaction (#3604)
add d65ee7c385 IGNITE-22015: Fix checking NOT NULL constraint for UPDATE,
MERGE, INSERT INTO ... FROM statements (#3583)
add 2dafc2f2eb IGNITE-22052 Disable flaky basic_authenticator_test (#3612)
add 5661967c7b IGNITE-22047 Ignore index destruction attempt if table
storage is closed/destroyed (#3609)
add 98d88553ce IGNITE-22029 Change default configuration according to
default RAFT option (#3596)
add 7be420ceeb Bump uk.co.datumedge:hamcrest-json from 0.2 to 0.3 (#3587)
add 4e49fa920e Bump asm from 9.6 to 9.7 (#3481)
add f28358e882 IGNITE-22027 Disable destruction_does_not_update_data
(#3617)
add 5e71ca0693 IGNITE-22055 Shut destruction executor down before closing
volatile regions (#3616)
add 57e25db520 IGNITE-20516 Remove openapi.yaml from source code (#3581)
add fb71f6e99a IGNITE-22060: Enable sql logic tests for NOT NULL
constraint violation (#3618)
add 1b81ab5677 IGNITE-21963: fix incorrect serialization for some
BigDecimal values (#3599)
add a5b0653423 IGNITE-22053 Sql. Logic test without ordering compares with
ordered results (#3613)
add 66d9ae7017 IGNITE-19687 Add support for reassigning the default
distribution zone in Catalog (#3590)
add c50a6054f5 IGNITE-22066 Fix memory leak in the DummyInternalTableImpl
(#3621)
add 61d79f537c IGNITE-21928 Describe Catalog operation flow in README
(#3585)
add 04e8e08558 IGNITE-22041 Correct inline size calculation for indexes
(#3622)
add 52092d4454 IGNITE-22001 Throw specific exception if during
writeTableAssignmentsToMetastore process was interrupted (#3575)
add 1b3a93b8d5 IGNITE-21935: Cover SQL E153(Updatable queries with
subqueries) feature by tests (#3630)
add 67bd644e9e IGNITE-21996 Sql. Improve test coverage for ALTER COLUMN
command (#3631)
add 0073a37069 Bump archunit from 1.2.1 to 1.3.0 (#3623)
add 5bac64757f Bump org.apache.calcite.avatica:avatica-core from 1.24.0 to
1.25.0 (#3624)
add a5961dac2f IGNITE-21923: Cover SQL E051-09(Basic query specification,
Rename columns in the FROM clause) feature by tests (#3628)
add 607fa2cb52 IGNITE-22054 Fix ItMultipleLocksTest#test (#3632)
add bee0aeb3cf Bump com.github.spotbugs from 6.0.8 to 6.0.12 (#3638)
add ccc7e87d62 IGNITE-22062 RO transaction does not close cursor when
exception is thrown (#3620)
add 4e894df0ae IGNITE-21257 Introduce REST API for viewing partition
states (#3614)
add aa4f4c615f IGNITE-21988 Don't allow reading from index storage if it
is in build state (#3561)
add a47284c9fe IGNITE-22083 Sql. Invalidate fragment mapping cache when
the mapped node has left the cluster (#3637)
add ce345a6297 IGNITE-19949 Fix dynamic completer for same options (#3644)
add f9fb63553d IGNITE-21940 Sql. Cover SQL F304 (EXCEPT ALL table
operator) feature by tests (#3635)
add dfc493dda8 IGNITE-21939 Sql. Cover SQL F302-02(INTERSECT [ALL] table
operator) feature by tests (#3636)
add 5a74f8cadd IGNITE-18647 Sql. Implement missed Statement and
StatementBuilder methods (#3626)
add 2416330a8d IGNITE-21943: Cover SQL F561(Full value expressions)
feature by tests (#3641)
add 3d996b4062 IGNITE-19681 Java thin: Add tx partition awareness (lazy tx
start) (#3640)
add ef5f9a61ba IGNITE-22024 Fixed
ItSqlClientSynchronousApiTest#runtimeErrorInDmlCausesTransactionToFail (#3651)
add 12a734c890 IGNITE-21937 Sql. Cover SQL F041-05 feature by tests (#3643)
add 77cef26ade IGNITE-21435: Sql. Catalog DefaultValue should not depend
on Serializable. (#3627)
add f950dd2f5c Bump org.rocksdb:rocksdbjni from 8.11.3 to 9.1.1 (#3654)
add 2f4684818c IGNITE-21824 Revert workaround for jline bug (#3647)
add 548e9e9b50 IGNITE-22075 GC doesn't wait for RO transactions (#3650)
add 7592b10137 IGNITE-21850 Enable LogSinkTest (#3646)
add e61946b88f IGNITE-22093: Sql. Rename PlannerPhase::HEP_DECORRELATE
(#3652)
add 1153c61888 IGNITE-22095 Remove compute job jars from the repo (#3655)
add e4da753dc1 IGNITE-22105 Add busy lock to RocksDbClusterStateStorage
(#3659)
add 54b1beb46d Bump com.github.johnrengelman.shadow from 7.1.2 to 8.1.1
(#3397)
add 2402ff97e8 Bump org.threeten:threetenbp from 1.6.8 to 1.6.9 (#3494)
add 0978e1e6df Bump netty from 4.1.108.Final to 4.1.109.Final (#3657)
add 2696c7dce1 Bump bouncycastle from 1.76 to 1.78.1 (#3663)
add 2eded4f762 Bump org.openapi.generator from 7.4.0 to 7.5.0 (#3662)
add 396981a953 Bump net.bytebuddy:byte-buddy from 1.14.12 to 1.14.14
(#3658)
add 69e4c21c60 [IGNITE-21404] Do not wrap SqlException into
RuntimeException for PlannerHelper.optimize. (#3625)
add 5d4abc8b2c IGNITE-22116 Include underlying exception when reporting
occupied port issue (#3667)
add b8d8939790 IGNITE-21938 Sql. Cover SQL F041-07 feature by tests (#3642)
add 57dc47d47e IGNITE-22113 Remove unused MetaStorageManagerImpl getAnd<>
methods (#3670)
add 82349834ac IGNITE-22071 Async component stop (#3629)
add dc7dc77897 IGNITE-21953: Cover SQL E021-01(Character string types.
CHARACTER data type) feature by tests (#3660)
add 856fb0c080 IGNITE-22097 JobContext is not closed when job execution
fails (#3656)
add bbf995f868 IGNITE-22039 Getting rid of InconsistentIndexStateException
for SortedIndexStorage#tolerantScan (#3674)
add f5a5c64905 Bump io.github.bonede:tree-sitter-json from 0.20.1 to
0.21.0 (#3664)
add 214a0ee0b5 IGNITE-21720 Sql. Implement hash join (#3608)
add 723fde0915 IGNITE-19762 Remove data region remnants from RocksDb
storage (#3677)
add ebf89c6c60 IGNITE-21859 Causality token stays 0 for default zone
(#3653)
add a0ff68cbff IGNITE-21763 Adjust TxnResourceVacuumTask in order to
vacuum persistent txn state (#3591)
add 70d6f94c4f Bump io.github.bonede:tree-sitter from 0.22.2 to 0.22.5
(#3661)
add 423bba6c29 IGNITE-22086 Thin client: initialize observableTimestamp in
handshake (#3679)
add af7c260189 IGNITE-18275 Remove obsolete TODOs (#3685)
add 0b2331b791 IGNITE-22147 Disabled
ItTxResourcesVacuumTest.testRecoveryAfterPersistentStateVacuumized (#3686)
add f9dda4a9b2 IGNITE-21731 Sql. Split TableRowConverter#toBinaryRow on
two methods (#3688)
add 1db7a2afaf [IGNITE-22121] Change parameters for disaster recovery
partition states api (#3671)
add 0ef4f0ce7d IGNITE-21908 Add metrics of distribution among stripes in
disruptor (#3645)
add 2b2fa3de86 Bump com.netflix.nebula.ospackage from 11.8.1 to 11.9.0
(#3682)
add 1409d453dd IGNITE-22064 General MapReduce API (#3665)
add e422c70e9f IGNITE-21732: Sql. Split TableRowConverterImpl on two
different implementations (#3687)
add 210af2bdb2 IGNITE-21962 Fix client tests relying on specific product
version (#3693)
add 74aea836b3 [IGNITE-22091] Implement CLI for disaster recovery:
partition states (#3668)
add 523b2ebf28 IGNITE-22128 Balancing partitions across stripes (#3690)
add 404afe35e5 [IGNITE-21999] Merge partition free-lists into one (#3615)
add 24c5a75cbf [IGNITE-21295] Implement REST API for manual raft group
configuration update (#3701)
add 74af728bb7 IGNITE-21300 Implement disaster recovery for secondary
indexes (#3698)
add 434b9654ff IGNITE-22163 Fix potential NPE in IndexManager (#3699)
add 72ecd1e0b8 IGNITE-22159: unmute tests (#3695)
add 9ea610e7f4 IGNITE-22156 Replace inheritance with delegation for
UpgradingRowAdapter class. (#3696)
add 55f0396134 IGNITE-22175 Improve handling for RocksDb resources on
RocksDbKeyValueStorage (#3709)
add 39ff595e6b Bump com.github.spotbugs from 6.0.12 to 6.0.14 (#3707)
add 3d5bba7c75 Bump org.slf4j:slf4j-jdk14 from 2.0.12 to 2.0.13 (#3676)
add 8abf003d2f IGNITE-19091 Sql. Fix
ItIgniteNodeRestartTest::testQueryCorrectnessAfterNodeRestart (#3712)
add 5df9f1738b IGNITE-21945 Sql. Cover SQL F855(Nested <order by clause>
in <query expression>) (#3708)
add 135230f9cb IGNITE-21992 Fix remove-after-insert in Data Streamer
within the same batch (#3713)
add 1ef1a65d47 IGNITE-21977 Sql. Extend test coverage for SQL feature
F661(Simple tables) (#3705)
add 470ac2db9d IGNITE-22184 Fix race in
ItClusterManagerTest#testJoinInvalidTag (#3719)
add cfc8192f51 wip.
add 7eabcaeec5 minor
This update added new revisions after undoing existing revisions.
That is to say, some revisions that were in the old version of the
branch are not in the new version. This situation occurs
when a user --force pushes a change and generates a repository
containing something like this:
* -- * -- B -- O -- O -- O (fecf0b5f2c)
\
N -- N -- N refs/heads/ignite-21942 (7eabcaeec5)
You should already have received notification emails for all of the O
revisions, and so the following emails describe only the N revisions
from the common base, B.
Any revisions marked "omit" are not gone; other references still
refer to them. Any revisions marked "discard" are gone forever.
No new revisions were added by this update.
Summary of changes:
.../internal/sql/engine/ItAggregatesTest.java | 4 +-
.../internal/sql/engine/prepare/PlannerPhase.java | 6 +-
.../sql/engine/rel/agg/MapReduceAggregates.java | 262 +++++++++++
.../engine/rule/HashAggregateConverterRule.java | 105 +----
.../sql/engine/rule/HashAggregatePushDownRule.java | 210 +++++++++
.../engine/rule/SortAggregateConverterRule.java | 99 -----
.../sql/engine/rule/SortAggregatePushDownRule.java | 218 +++++++++
.../ignite/internal/sql/engine/util/HintUtils.java | 4 +-
.../sql/engine/planner/AggregatePlannerTest.java | 32 +-
.../planner/MapReduceHashAggregatePlannerTest.java | 465 ++++++++++---------
.../planner/MapReduceSortAggregatePlannerTest.java | 492 +++++++++------------
.../internal/sql/BaseSqlIntegrationTest.java | 2 -
12 files changed, 1157 insertions(+), 742 deletions(-)
create mode 100644
modules/sql-engine/src/main/java/org/apache/ignite/internal/sql/engine/rule/HashAggregatePushDownRule.java
create mode 100644
modules/sql-engine/src/main/java/org/apache/ignite/internal/sql/engine/rule/SortAggregatePushDownRule.java