asterixdb.git
3 months agoMerge branch 'gerrit/neo'
Dmitry Lychagin [Fri, 22 Apr 2022 21:30:11 +0000 (14:30 -0700)] 
Merge branch 'gerrit/neo'

Change-Id: I7ba10b2a046866640ab3d646ea6b71aae399f436

4 months ago[NO ISSUE][OTH] Redact field name
Ali Alsuliman [Mon, 4 Apr 2022 12:24:04 +0000 (15:24 +0300)] 
[NO ISSUE][OTH] Redact field name

- user model changes: no
- storage format changes: no
- interface changes: no

Change-Id: Iad7cb5ba2f49088fd30cf8dce6f002191fc808c2
Reviewed-on: https://asterix-gerrit.ics.uci.edu/c/asterixdb/+/16003
Integration-Tests: Jenkins <jenkins@fulliautomatix.ics.uci.edu>
Tested-by: Jenkins <jenkins@fulliautomatix.ics.uci.edu>
Reviewed-by: Ali Alsuliman <ali.al.solaiman@gmail.com>
Reviewed-by: Michael Blow <mblow@apache.org>
4 months ago[NO ISSUE][OTH] Logging Fixes
Murtadha Hubail [Sat, 2 Apr 2022 12:55:26 +0000 (15:55 +0300)] 
[NO ISSUE][OTH] Logging Fixes

- user model changes: no
- storage format changes: no
- interface changes: no

Details:

- Log exception when closing sockets quietly at trace level.
- Fix replication logging levels.
- Fix RemoteLogsNotifier thread name.

Change-Id: I210900a410a18144c22fd5af928151b7e7c4bfbd
Reviewed-on: https://asterix-gerrit.ics.uci.edu/c/asterixdb/+/15983
Reviewed-by: Murtadha Hubail <mhubail@apache.org>
Reviewed-by: Michael Blow <mblow@apache.org>
Integration-Tests: Jenkins <jenkins@fulliautomatix.ics.uci.edu>
Tested-by: Murtadha Hubail <mhubail@apache.org>
4 months ago[NO ISSUE][NET] Attempt to Read SSL Sockets Until EOF
Murtadha Hubail [Fri, 1 Apr 2022 22:05:55 +0000 (01:05 +0300)] 
[NO ISSUE][NET] Attempt to Read SSL Sockets Until EOF

- user model changes: no
- storage format changes: no
- interface changes: no

Details:

- Since SSL sockets may return 0 as read bytes due to failure
  to decrypt a complete encrypted block, we need to attempt
  to read again until a complete block is decrypted.

Change-Id: Ia48b7f9f1725c40b2ebfac6fe77b3eb42c426de3
Reviewed-on: https://asterix-gerrit.ics.uci.edu/c/asterixdb/+/15964
Reviewed-by: Ali Alsuliman <ali.al.solaiman@gmail.com>
Tested-by: Murtadha Hubail <mhubail@apache.org>
4 months ago[NO ISSUE][NET] SSL Socket Fixes
Murtadha Hubail [Fri, 1 Apr 2022 15:07:02 +0000 (18:07 +0300)] 
[NO ISSUE][NET] SSL Socket Fixes

- user model changes: no
- storage format changes: no
- interface changes: no

Details:

- On SSL socket handshake failure, deliver any remaining data to requester.
- Add replica synchronize debug logs.

Change-Id: Ie1f6a4df1ab0cc7c6feb352607a45194f96b3c8b
Reviewed-on: https://asterix-gerrit.ics.uci.edu/c/asterixdb/+/15963
Integration-Tests: Jenkins <jenkins@fulliautomatix.ics.uci.edu>
Tested-by: Jenkins <jenkins@fulliautomatix.ics.uci.edu>
Reviewed-by: Ali Alsuliman <ali.al.solaiman@gmail.com>
4 months ago[NO ISSUE][REP] Updated Replicated Indexes Checkpoint Predicate
Murtadha Hubail [Thu, 31 Mar 2022 23:32:04 +0000 (02:32 +0300)] 
[NO ISSUE][REP] Updated Replicated Indexes Checkpoint Predicate

- user model changes: no
- storage format changes: no
- interface changes: no

Details:

- Remove master partitions filter when selecting replicated
  indexes to checkpoint since the checkpoint will be limited to
  a single partition.
- Ensure any data decrypted before the close is received on SSL
  sockets is delivered to the reader.
- Take a thread dump when an LSN not received from master
  within the timeout to help in diagnosing any synchronization
  issues.

Change-Id: Ie6f11cc10714ec758b824c49c8c1b31ce7794ca5
Reviewed-on: https://asterix-gerrit.ics.uci.edu/c/asterixdb/+/15943
Reviewed-by: Ali Alsuliman <ali.al.solaiman@gmail.com>
Integration-Tests: Jenkins <jenkins@fulliautomatix.ics.uci.edu>
Tested-by: Jenkins <jenkins@fulliautomatix.ics.uci.edu>
4 months ago[NO ISSUE][OTH] Reduce Txn Logs Replication Debug Logs
Murtadha Hubail [Tue, 29 Mar 2022 09:34:22 +0000 (12:34 +0300)] 
[NO ISSUE][OTH] Reduce Txn Logs Replication Debug Logs

- user model changes: no
- storage format changes: no
- interface changes: no

Details:

- Remove or reduce log level of txn log replication
  debug logs.

Change-Id: Ifbbab1799911e6b9becbeb5bc985117c52272ca2
Reviewed-on: https://asterix-gerrit.ics.uci.edu/c/asterixdb/+/15903
Integration-Tests: Jenkins <jenkins@fulliautomatix.ics.uci.edu>
Tested-by: Jenkins <jenkins@fulliautomatix.ics.uci.edu>
Reviewed-by: Murtadha Hubail <mhubail@apache.org>
Reviewed-by: Ali Alsuliman <ali.al.solaiman@gmail.com>
4 months ago[NO ISSUE][HTTP] Prevent CLFLogger NPE if client IP cannot be resolved
Michael Blow [Thu, 24 Mar 2022 19:26:32 +0000 (15:26 -0400)] 
[NO ISSUE][HTTP] Prevent CLFLogger NPE if client IP cannot be resolved

Change-Id: I47bbc3dff77405e29d72755cddde7c9de6c0523f
Reviewed-on: https://asterix-gerrit.ics.uci.edu/c/asterixdb/+/15863
Contrib: Jenkins <jenkins@fulliautomatix.ics.uci.edu>
Tested-by: Jenkins <jenkins@fulliautomatix.ics.uci.edu>
Integration-Tests: Jenkins <jenkins@fulliautomatix.ics.uci.edu>
Reviewed-by: Michael Blow <mblow@apache.org>
Reviewed-by: Ian Maxon <imaxon@uci.edu>
4 months ago[NO ISSUE][REP] Do not sync on resource repository during replication
Murtadha Hubail [Fri, 25 Mar 2022 13:40:28 +0000 (16:40 +0300)] 
[NO ISSUE][REP] Do not sync on resource repository during replication

- user model changes: no
- storage format changes: no
- interface changes: no

Details:

- To avoid blocking other threads while waiting for network operations,
  do not synchronize on resource repository during resource file
  replication/deletion.

Change-Id: I11e0f4b3f7a4db3eb55a2e00e9564e193950d84f
Reviewed-on: https://asterix-gerrit.ics.uci.edu/c/asterixdb/+/15883
Reviewed-by: Ali Alsuliman <ali.al.solaiman@gmail.com>
Integration-Tests: Jenkins <jenkins@fulliautomatix.ics.uci.edu>
Tested-by: Jenkins <jenkins@fulliautomatix.ics.uci.edu>
4 months ago[NO ISSUE][OTH] Txn Logs Replication Trace Logs
Murtadha Hubail [Thu, 24 Mar 2022 21:54:35 +0000 (00:54 +0300)] 
[NO ISSUE][OTH] Txn Logs Replication Trace Logs

- user model changes: no
- storage format changes: no
- interface changes: yes

Details:

- Add debug logs for txn logs replication.

Change-Id: Id4a98e30763f9a86952e1dc1c226af89dddc2b0a
Reviewed-on: https://asterix-gerrit.ics.uci.edu/c/asterixdb/+/15865
Reviewed-by: Ali Alsuliman <ali.al.solaiman@gmail.com>
Integration-Tests: Jenkins <jenkins@fulliautomatix.ics.uci.edu>
Tested-by: Jenkins <jenkins@fulliautomatix.ics.uci.edu>
4 months ago[NO ISSUE][REP] Increase replication ack timeout
Murtadha Hubail [Wed, 23 Mar 2022 22:43:28 +0000 (01:43 +0300)] 
[NO ISSUE][REP] Increase replication ack timeout

- user model changes: no
- storage format changes: no
- interface changes: no

Details:

- Increase replication ack timeout to 120 seconds.

Change-Id: I228620af371d651a84160231cdd832ca1087e7f9
Reviewed-on: https://asterix-gerrit.ics.uci.edu/c/asterixdb/+/15843
Reviewed-by: Ali Alsuliman <ali.al.solaiman@gmail.com>
Integration-Tests: Jenkins <jenkins@fulliautomatix.ics.uci.edu>
Tested-by: Jenkins <jenkins@fulliautomatix.ics.uci.edu>
4 months ago[NO ISSUE][DASHBOARD] Updated dependenices for asterix-dashboard
Miles Hong [Wed, 19 Jan 2022 18:59:55 +0000 (13:59 -0500)] 
[NO ISSUE][DASHBOARD] Updated dependenices for asterix-dashboard

-user model changes: no
-storage format changes: no
-interface changes no

Details:
-Fixed windows resizing issue with query naviagator
-Selecting dataverse will no longer delete current query
-Items per page increase
-Query plan navigator moved to left
-Zoom speed on query plan navigator slowed

Change-Id: I60b4a1a93324d613d71d528206d8b5d0ed6d4f4c
Reviewed-on: https://asterix-gerrit.ics.uci.edu/c/asterixdb/+/14866
Reviewed-by: Michael Blow <mblow@apache.org>
Tested-by: Michael Blow <mblow@apache.org>
4 months agoMerge branch 'gerrit/neo'
Michael Blow [Thu, 17 Mar 2022 14:00:02 +0000 (10:00 -0400)] 
Merge branch 'gerrit/neo'

Change-Id: Iaf06e2c6567837b88205c0faefdca8eb6f4d6d5b

5 months ago[NO ISSUE][STO] Limit flushes to impacted partitions
Murtadha Hubail [Mon, 14 Mar 2022 20:20:08 +0000 (23:20 +0300)] 
[NO ISSUE][STO] Limit flushes to impacted partitions

- user model changes: no
- storage format changes: no
- interface changes: yes

Details:

- When requesting a flush, limit the indexes to be flushed
  to the impacted partitions.
- Invalidate cached resources on replica promotion.
- Invalidate cached resources on resource file deletion.

Change-Id: I4c1408627c8e11240c3575c4b8f190d746588867
Reviewed-on: https://asterix-gerrit.ics.uci.edu/c/asterixdb/+/15683
Integration-Tests: Jenkins <jenkins@fulliautomatix.ics.uci.edu>
Tested-by: Jenkins <jenkins@fulliautomatix.ics.uci.edu>
Reviewed-by: Murtadha Hubail <mhubail@apache.org>
Reviewed-by: Ali Alsuliman <ali.al.solaiman@gmail.com>
5 months agoRefactor ExternalDataUtils/Constants
Hussain Towaileb [Mon, 7 Mar 2022 11:44:47 +0000 (14:44 +0300)] 
Refactor ExternalDataUtils/Constants

Change-Id: Ie1f1499f13968d421bee43ec7352aea0c2749423
Reviewed-on: https://asterix-gerrit.ics.uci.edu/c/asterixdb/+/15644
Tested-by: Jenkins <jenkins@fulliautomatix.ics.uci.edu>
Integration-Tests: Jenkins <jenkins@fulliautomatix.ics.uci.edu>
Reviewed-by: Hussain Towaileb <hussainht@gmail.com>
Reviewed-by: Michael Blow <mblow@apache.org>
5 months ago[NO ISSUE][STO] Make IO operation completed state volatile
Murtadha Hubail [Fri, 11 Mar 2022 17:45:35 +0000 (20:45 +0300)] 
[NO ISSUE][STO] Make IO operation completed state volatile

- user model changes: no
- storage format changes: no
- interface changes: no

Details:

- To avoid a deadlock between checking an IO operation completed
  state and scheduling another flush operation using the same
  IO scheduler, make the IO operation state volatile rather
  synchronizing on the operation.

Change-Id: Ibef0fe3dc52a5a6b36cc29bbac0fb38936944cee
Reviewed-on: https://asterix-gerrit.ics.uci.edu/c/asterixdb/+/15663
Reviewed-by: Ali Alsuliman <ali.al.solaiman@gmail.com>
Integration-Tests: Jenkins <jenkins@fulliautomatix.ics.uci.edu>
Tested-by: Jenkins <jenkins@fulliautomatix.ics.uci.edu>
5 months agoMerge "Merge branch 'gerrit/neo'"
Apache AsterixDB Gerrit [Thu, 10 Mar 2022 19:40:39 +0000 (19:40 +0000)] 
Merge "Merge branch 'gerrit/neo'"

5 months ago[ASTERIXDB-3024][COMP] Visit selectCondition for scan and unnest
Wail Alkowaileet [Wed, 9 Mar 2022 20:25:19 +0000 (12:25 -0800)] 
[ASTERIXDB-3024][COMP] Visit selectCondition for scan and unnest

- user model changes: no
- storage format changes: no
- interface changes: no

Details:
The select condition expression in DataSourceScanOperator and
UnnestMapOperator is not visited by the expression transformer

Change-Id: I1753bbc020ffded7a9e2eb618e23b517dff331f5
Reviewed-on: https://asterix-gerrit.ics.uci.edu/c/asterixdb/+/15464
Contrib: Jenkins <jenkins@fulliautomatix.ics.uci.edu>
Integration-Tests: Jenkins <jenkins@fulliautomatix.ics.uci.edu>
Tested-by: Jenkins <jenkins@fulliautomatix.ics.uci.edu>
Reviewed-by: Wail Alkowaileet <wael.y.k@gmail.com>
Reviewed-by: Ali Alsuliman <ali.al.solaiman@gmail.com>
5 months agoMerge branch 'gerrit/neo'
Michael Blow [Thu, 10 Mar 2022 18:59:46 +0000 (13:59 -0500)] 
Merge branch 'gerrit/neo'

Change-Id: Ice7ee424a7650a4d3d2fa53e9a2a6c5b3201b66b

5 months ago[NO ISSUE][REP] Invalidate resources cache for replicated resources
Murtadha Hubail [Thu, 10 Mar 2022 01:01:06 +0000 (04:01 +0300)] 
[NO ISSUE][REP] Invalidate resources cache for replicated resources

- user model changes: no
- storage format changes: no
- interface changes: no

Details:

- Invalidate the resources cache when a replicate index is
  created or dropped.

Change-Id: I89013addda4e8e1aeafbe1782c7eb12226ba60b7
Reviewed-on: https://asterix-gerrit.ics.uci.edu/c/asterixdb/+/15623
Integration-Tests: Jenkins <jenkins@fulliautomatix.ics.uci.edu>
Tested-by: Jenkins <jenkins@fulliautomatix.ics.uci.edu>
Reviewed-by: Murtadha Hubail <mhubail@apache.org>
Reviewed-by: Ali Alsuliman <ali.al.solaiman@gmail.com>
5 months ago[NO ISSUE][*DB][MISC] pickup 1.9.14-atlassian-6 to quash CVE-2019-10172
Michael Blow [Thu, 10 Mar 2022 14:10:01 +0000 (09:10 -0500)] 
[NO ISSUE][*DB][MISC] pickup 1.9.14-atlassian-6 to quash CVE-2019-10172

Change-Id: I63e60fee8113f48edacbb5ed55dc1282abc21735
Reviewed-on: https://asterix-gerrit.ics.uci.edu/c/asterixdb/+/15643
Reviewed-by: Michael Blow <mblow@apache.org>
Reviewed-by: Ali Alsuliman <ali.al.solaiman@gmail.com>
Tested-by: Michael Blow <mblow@apache.org>
5 months ago[NO ISSUE][*DB][MISC] pickup HADOOP-17225 patch to mitigate CVE-2019-10172
Michael Blow [Mon, 7 Mar 2022 21:34:08 +0000 (16:34 -0500)] 
[NO ISSUE][*DB][MISC] pickup HADOOP-17225 patch to mitigate CVE-2019-10172

Change-Id: If84ef913395c75baf64e4b9c459f0d5b3303efd5
Reviewed-on: https://asterix-gerrit.ics.uci.edu/c/asterixdb/+/15584
Integration-Tests: Jenkins <jenkins@fulliautomatix.ics.uci.edu>
Reviewed-by: Michael Blow <mblow@apache.org>
Reviewed-by: Hussain Towaileb <hussainht@gmail.com>
Tested-by: Jenkins <jenkins@fulliautomatix.ics.uci.edu>
5 months ago[ASTERIXDB-3027]: Update hadoop to 3.3.2
Hussain Towaileb [Mon, 7 Mar 2022 20:49:10 +0000 (23:49 +0300)] 
[ASTERIXDB-3027]: Update hadoop to 3.3.2

Change-Id: I3b81ba96129b59d01cac48136784cd48bbd45402
Reviewed-on: https://asterix-gerrit.ics.uci.edu/c/asterixdb/+/15583
Reviewed-by: Michael Blow <mblow@apache.org>
Integration-Tests: Jenkins <jenkins@fulliautomatix.ics.uci.edu>
Tested-by: Jenkins <jenkins@fulliautomatix.ics.uci.edu>
5 months agoMerge branch 'gerrit/neo'
Michael Blow [Sat, 5 Mar 2022 15:11:21 +0000 (10:11 -0500)] 
Merge branch 'gerrit/neo'

Change-Id: I9e39d970fddd4652f1c459b50c9abb51cb2d0137

5 months ago[NO ISSUE] use isExternal() in lieu of instanceof
Ian Maxon [Fri, 4 Mar 2022 08:41:12 +0000 (00:41 -0800)] 
[NO ISSUE] use isExternal() in lieu of instanceof

- user model changes: no
- storage format changes: no
- interface changes: yes

Details:

Add a default method for determining whether an IFunctionInfo
represents an external function or not, which is overriden by
ExternalFunctionInfo. This is much cleaner than abusing
instanceof to determine this.

Change-Id: I50539b9a8a3419a389590ea89230c7e5642c277b
Reviewed-on: https://asterix-gerrit.ics.uci.edu/c/asterixdb/+/15543
Contrib: Jenkins <jenkins@fulliautomatix.ics.uci.edu>
Contrib: Ian Maxon <imaxon@uci.edu>
Integration-Tests: Jenkins <jenkins@fulliautomatix.ics.uci.edu>
Tested-by: Jenkins <jenkins@fulliautomatix.ics.uci.edu>
Reviewed-by: Ian Maxon <imaxon@uci.edu>
Reviewed-by: Hussain Towaileb <hussainht@gmail.com>
5 months ago[NO ISSUE] Change serialVersionUID for BTreeSearchOperatorDescriptor
Wail Alkowaileet [Thu, 3 Mar 2022 02:42:58 +0000 (18:42 -0800)] 
[NO ISSUE] Change serialVersionUID for BTreeSearchOperatorDescriptor

- user model changes: no
- storage format changes: no
- interface changes: no

Change serialVersionUID for BTreeSearchOperatorDescriptor

Change-Id: I519dd345547f321613088611bd2b6597c60c43a4
Reviewed-on: https://asterix-gerrit.ics.uci.edu/c/asterixdb/+/15524
Contrib: Jenkins <jenkins@fulliautomatix.ics.uci.edu>
Contrib: Michael Blow <mblow@apache.org>
Integration-Tests: Jenkins <jenkins@fulliautomatix.ics.uci.edu>
Tested-by: Jenkins <jenkins@fulliautomatix.ics.uci.edu>
Reviewed-by: Wail Alkowaileet <wael.y.k@gmail.com>
Reviewed-by: Ali Alsuliman <ali.al.solaiman@gmail.com>
5 months ago[ASTERIXDB-3025][HYR] Introduce ITupleProjector
Wail Alkowaileet [Sat, 26 Feb 2022 00:07:43 +0000 (16:07 -0800)] 
[ASTERIXDB-3025][HYR] Introduce ITupleProjector

- user model changes: no
- storage format changes: no
- interface changes: yes

Details:
The TupleProjector is a way to pushdown value accesses
for the internal datasets (similar to Parquet's).

The current default implementation is basically a no-op.
This patch introduces the mechanism for the columnar
format's tuple projector implementation.

Change-Id: I1fadcef70451a7616e021771a1110413de4fb711
Reviewed-on: https://asterix-gerrit.ics.uci.edu/c/asterixdb/+/15465
Contrib: Jenkins <jenkins@fulliautomatix.ics.uci.edu>
Integration-Tests: Jenkins <jenkins@fulliautomatix.ics.uci.edu>
Tested-by: Jenkins <jenkins@fulliautomatix.ics.uci.edu>
Reviewed-by: Wail Alkowaileet <wael.y.k@gmail.com>
Reviewed-by: Ali Alsuliman <ali.al.solaiman@gmail.com>
Reviewed-by: Murtadha Hubail <mhubail@apache.org>
5 months ago[NO ISSUE][OTH] Redact field name
Ali Alsuliman [Wed, 2 Mar 2022 15:56:58 +0000 (18:56 +0300)] 
[NO ISSUE][OTH] Redact field name

- user model changes: no
- storage format changes: no
- interface changes: no

Details:

Change-Id: I360681ff4e1460561eb5b614ce16f7d6519096b2
Reviewed-on: https://asterix-gerrit.ics.uci.edu/c/asterixdb/+/15523
Integration-Tests: Jenkins <jenkins@fulliautomatix.ics.uci.edu>
Tested-by: Jenkins <jenkins@fulliautomatix.ics.uci.edu>
Reviewed-by: Ali Alsuliman <ali.al.solaiman@gmail.com>
Reviewed-by: Dmitry Lychagin <dmitry.lychagin@couchbase.com>
5 months ago[NO ISSUE][STO] Limit local storage clean up to node partitions
Murtadha Hubail [Tue, 1 Mar 2022 23:28:38 +0000 (02:28 +0300)] 
[NO ISSUE][STO] Limit local storage clean up to node partitions

- user model changes: no
- storage format changes: no
- interface changes: no

Details:

- When attempting to delete invalid indexes during global
  recovery, only delete invalid indexes of partitions where
  the node is the current master since the master of each
  partition will ask the replica to delete the invalid indexes.

Change-Id: I9b337e83ee138a1806bc0e38e2fc3e6870c65373
Reviewed-on: https://asterix-gerrit.ics.uci.edu/c/asterixdb/+/15503
Integration-Tests: Jenkins <jenkins@fulliautomatix.ics.uci.edu>
Tested-by: Jenkins <jenkins@fulliautomatix.ics.uci.edu>
Reviewed-by: Murtadha Hubail <mhubail@apache.org>
Reviewed-by: Ali Alsuliman <ali.al.solaiman@gmail.com>
5 months ago[NO ISSUE][EXT] Set Azure request timeout
Ali Alsuliman [Tue, 1 Mar 2022 17:45:40 +0000 (20:45 +0300)] 
[NO ISSUE][EXT] Set Azure request timeout

- user model changes: no
- storage format changes: no
- interface changes: no

Details:
- add azure_request_timeout configurable property
- default timeout to 120 seconds
- catch exceptions from external input stream and
  wrap in a RuntimeDataException to avoid halt due
  to non-serializable exceptions from external sources

Change-Id: Iebf988384b0bc5d6ae7688c65747227dbde062b1
Reviewed-on: https://asterix-gerrit.ics.uci.edu/c/asterixdb/+/15483
Reviewed-by: Murtadha Hubail <mhubail@apache.org>
Tested-by: Ali Alsuliman <ali.al.solaiman@gmail.com>
5 months agoMerge branch 'gerrit/neo'
Michael Blow [Fri, 25 Feb 2022 20:37:42 +0000 (15:37 -0500)] 
Merge branch 'gerrit/neo'

Change-Id: Iae10a9a8b2f64117fd2272dcc80dc0d2d375ef0f

5 months ago[ASTERIXDB-3003][STO] Enable batch point lookups and stateful cursors
Wail Alkowaileet [Fri, 18 Feb 2022 21:50:10 +0000 (13:50 -0800)] 
[ASTERIXDB-3003][STO] Enable batch point lookups and stateful cursors

- user model changes: yes
- storage format changes: no
- interface changes: yes

Details:
- Allow the user to enable stateful and batch point lookups
- A compiler flag 'compiler.batch.lookup' can be set to enable
  batch and stateful point-lookups
- The stateful cursors are used to search for subsequent points
  without the need for searching the BTree's interior nodes for
  each point lookup
- The cursor is kept open, and the page is pinned until:
  - the page is consumed (i.e., no more points can be found in the page)
  - or the cursor is closed
- Introduce IDiskBTreeStatefulPointSearchCursor interface for different
  DiskBTree implementations

Change-Id: I76107f4eb6de620399e2a1142684a7b8dad4e0a1
Reviewed-on: https://asterix-gerrit.ics.uci.edu/c/asterixdb/+/14804
Integration-Tests: Jenkins <jenkins@fulliautomatix.ics.uci.edu>
Tested-by: Jenkins <jenkins@fulliautomatix.ics.uci.edu>
Reviewed-by: Wail Alkowaileet <wael.y.k@gmail.com>
Reviewed-by: Murtadha Hubail <mhubail@apache.org>
5 months ago[ASTERIXDB-3020][COMP] Fix error in sql-compat mode
Dmitry Lychagin [Fri, 25 Feb 2022 00:38:30 +0000 (16:38 -0800)] 
[ASTERIXDB-3020][COMP] Fix error in sql-compat mode

- user model changes: no
- storage format changes: no
- interface changes: no

Details:
- Fix internal compiler error in sql-compat mode

Change-Id: Iacc5de2c48c7a81bd622357c2431fb9ae1642957
Reviewed-on: https://asterix-gerrit.ics.uci.edu/c/asterixdb/+/15443
Integration-Tests: Jenkins <jenkins@fulliautomatix.ics.uci.edu>
Tested-by: Jenkins <jenkins@fulliautomatix.ics.uci.edu>
Reviewed-by: Dmitry Lychagin <dmitry.lychagin@couchbase.com>
Reviewed-by: Ali Alsuliman <ali.al.solaiman@gmail.com>
5 months ago[NO ISSUE][TEST] Use preemptive basic auth in test requests
Murtadha Hubail [Tue, 22 Feb 2022 21:11:55 +0000 (00:11 +0300)] 
[NO ISSUE][TEST] Use preemptive basic auth in test requests

- user model changes: no
- storage format changes: no
- interface changes: no

Details:

- When executing test http requests, use preemptive basic auth
  when set to avoid unnecessary request re-tries

Change-Id: Ib847fc4faea8497b1dd1b635d7378891d4b7c0ce
Reviewed-on: https://asterix-gerrit.ics.uci.edu/c/asterixdb/+/15403
Integration-Tests: Jenkins <jenkins@fulliautomatix.ics.uci.edu>
Tested-by: Jenkins <jenkins@fulliautomatix.ics.uci.edu>
Reviewed-by: Murtadha Hubail <mhubail@apache.org>
Reviewed-by: Michael Blow <mblow@apache.org>
5 months agoRevert "[NO ISSUE][STO] Change default disk force bytes to 1MB"
Murtadha Hubail [Thu, 17 Feb 2022 12:30:13 +0000 (12:30 +0000)] 
Revert "[NO ISSUE][STO] Change default disk force bytes to 1MB"

This reverts commit e4fde26f5aa20e02da931a7c07b6ef4a07299ec8.

Change-Id: Iea7d58b93a6f7e8249b10a674133fef877c3a40c
Reviewed-on: https://asterix-gerrit.ics.uci.edu/c/asterixdb/+/15363
Integration-Tests: Jenkins <jenkins@fulliautomatix.ics.uci.edu>
Tested-by: Jenkins <jenkins@fulliautomatix.ics.uci.edu>
Reviewed-by: Murtadha Hubail <mhubail@apache.org>
Reviewed-by: Ali Alsuliman <ali.al.solaiman@gmail.com>
5 months ago[ASTERIXDB-3016][RT] Fix failure in hash groupby
Dmitry Lychagin [Thu, 17 Feb 2022 00:47:08 +0000 (16:47 -0800)] 
[ASTERIXDB-3016][RT] Fix failure in hash groupby

- user model changes: no
- storage format changes: no
- interface changes: no

Details:
- Modify hash group by to force garbage collection on the
  hash table if a tuple could not be inserted into it
- Make hash group by clean up its run files in case
  of an error

Change-Id: I7a133fa1d0555ebbcb7a9e3cb7445757716c9a2a
Reviewed-on: https://asterix-gerrit.ics.uci.edu/c/asterixdb/+/15325
Integration-Tests: Jenkins <jenkins@fulliautomatix.ics.uci.edu>
Tested-by: Jenkins <jenkins@fulliautomatix.ics.uci.edu>
Reviewed-by: Dmitry Lychagin <dmitry.lychagin@couchbase.com>
Reviewed-by: Till Westmann <till@couchbase.com>
5 months ago[NO-ISSUE][COMP] Making getCompilerOptions not default in interface
ggalvizo [Wed, 16 Feb 2022 20:36:11 +0000 (12:36 -0800)] 
[NO-ISSUE][COMP] Making getCompilerOptions not default in interface

- user model changes: no
- storage format changes: no
- interface changes: no

Change-Id: I6f65f78423b2fdf383c6fcb80585207970ac3545
Reviewed-on: https://asterix-gerrit.ics.uci.edu/c/asterixdb/+/15324
Contrib: Jenkins <jenkins@fulliautomatix.ics.uci.edu>
Integration-Tests: Jenkins <jenkins@fulliautomatix.ics.uci.edu>
Tested-by: Jenkins <jenkins@fulliautomatix.ics.uci.edu>
Reviewed-by: Dmitry Lychagin <dmitry.lychagin@couchbase.com>
5 months ago[NO ISSUE][COMP] Extension-specific SET statements
ggalvizo [Mon, 14 Feb 2022 17:20:46 +0000 (09:20 -0800)] 
[NO ISSUE][COMP] Extension-specific SET statements

- user model changes: no
- storage format changes: no
- interface changes: no

Adding a method to alter the SET parameter whitelist, so as to allow
extensions to more flexibly use the SET statement.

Change-Id: Ib6bafec178b959025e8822925eb27cd41d8bef03
Reviewed-on: https://asterix-gerrit.ics.uci.edu/c/asterixdb/+/15283
Integration-Tests: Jenkins <jenkins@fulliautomatix.ics.uci.edu>
Tested-by: Jenkins <jenkins@fulliautomatix.ics.uci.edu>
Reviewed-by: Ian Maxon <imaxon@uci.edu>
5 months ago[NO ISSUE][HYR][MISC] Remove useless debug log in ConfigManager
Michael Blow [Wed, 16 Feb 2022 15:46:03 +0000 (10:46 -0500)] 
[NO ISSUE][HYR][MISC] Remove useless debug log in ConfigManager

Change-Id: I40ce16c53e18f55bfaf2e403f85bbb1cfacb1371
Reviewed-on: https://asterix-gerrit.ics.uci.edu/c/asterixdb/+/15323
Integration-Tests: Jenkins <jenkins@fulliautomatix.ics.uci.edu>
Tested-by: Jenkins <jenkins@fulliautomatix.ics.uci.edu>
Reviewed-by: Ian Maxon <imaxon@uci.edu>
5 months ago[ASTERIXDB-3015][FUN] Fix avg() handling of first non-number
Dmitry Lychagin [Wed, 16 Feb 2022 04:06:23 +0000 (20:06 -0800)] 
[ASTERIXDB-3015][FUN] Fix avg() handling of first non-number

- user model changes: no
- storage format changes: no
- interface changes: no

Details:
- Fix incorrect result produced by avg() function
  when its first input value is not a number

Change-Id: I21cc52c56fb79a609aabdf994a7b6e19d570b6ea
Reviewed-on: https://asterix-gerrit.ics.uci.edu/c/asterixdb/+/15305
Integration-Tests: Jenkins <jenkins@fulliautomatix.ics.uci.edu>
Tested-by: Jenkins <jenkins@fulliautomatix.ics.uci.edu>
Reviewed-by: Dmitry Lychagin <dmitry.lychagin@couchbase.com>
Reviewed-by: Ali Alsuliman <ali.al.solaiman@gmail.com>
5 months ago[NO ISSUE][TEST] Add CH2 queries to optimizerts
Vijay Sarathy [Mon, 7 Feb 2022 21:45:10 +0000 (13:45 -0800)] 
[NO ISSUE][TEST] Add CH2 queries to optimizerts

- user model changes: no
- storage format changes: no
- interface changes: no

Details:
- Add CH2 queries to optimizer testsuite

Change-Id: Ic5d7362f4ca5a20f2591933de862a072a06c7b12
Reviewed-on: https://asterix-gerrit.ics.uci.edu/c/asterixdb/+/15183
Integration-Tests: Jenkins <jenkins@fulliautomatix.ics.uci.edu>
Tested-by: Jenkins <jenkins@fulliautomatix.ics.uci.edu>
Reviewed-by: Dmitry Lychagin <dmitry.lychagin@couchbase.com>
5 months ago[NO-ISSUE][COMP] Making SqlppFunctionBodyRewriter public
ggalvizo [Mon, 14 Feb 2022 18:27:23 +0000 (10:27 -0800)] 
[NO-ISSUE][COMP] Making SqlppFunctionBodyRewriter public

- user model changes: no
- storage format changes: no
- interface changes: no

Change-Id: I73b8f0dee44219a0e2ba50923772b4f2232f1271
Reviewed-on: https://asterix-gerrit.ics.uci.edu/c/asterixdb/+/15285
Contrib: Jenkins <jenkins@fulliautomatix.ics.uci.edu>
Integration-Tests: Jenkins <jenkins@fulliautomatix.ics.uci.edu>
Tested-by: Jenkins <jenkins@fulliautomatix.ics.uci.edu>
Reviewed-by: Ian Maxon <imaxon@uci.edu>
5 months ago[NO ISSUE][STO] Fix write rate limiter calculation
Murtadha Hubail [Mon, 14 Feb 2022 21:15:08 +0000 (00:15 +0300)] 
[NO ISSUE][STO] Fix write rate limiter calculation

- user model changes: no
- storage format changes: no
- interface changes: no

Details:

- Fix the write request size to the write rate limiter
  by considering the page size.

Change-Id: If875755d65476339b90adcf6e654e32e97655f3d
Reviewed-on: https://asterix-gerrit.ics.uci.edu/c/asterixdb/+/15286
Integration-Tests: Jenkins <jenkins@fulliautomatix.ics.uci.edu>
Tested-by: Murtadha Hubail <mhubail@apache.org>
Reviewed-by: Murtadha Hubail <mhubail@apache.org>
Reviewed-by: Ali Alsuliman <ali.al.solaiman@gmail.com>
5 months ago[NO ISSUE][OTH] Ensure no failures during transaction completion
Murtadha Hubail [Mon, 14 Feb 2022 23:54:13 +0000 (02:54 +0300)] 
[NO ISSUE][OTH] Ensure no failures during transaction completion

- user model changes: no
- storage format changes: no
- interface changes: no

Details:

- When completing a transaction, only untouch an index
  if it was successfully touched at the beginning of the
  transaction.
- Log when an expected index is not found and throw an
  exception to avoid an NPE.

Change-Id: Ie0d4879630ae302485d595060dd87a896d151307
Reviewed-on: https://asterix-gerrit.ics.uci.edu/c/asterixdb/+/15288
Integration-Tests: Jenkins <jenkins@fulliautomatix.ics.uci.edu>
Reviewed-by: Murtadha Hubail <mhubail@apache.org>
Reviewed-by: Ali Alsuliman <ali.al.solaiman@gmail.com>
Tested-by: Murtadha Hubail <mhubail@apache.org>
Tested-by: Jenkins <jenkins@fulliautomatix.ics.uci.edu>
5 months agoMerge branch 'gerrit/neo'
Michael Blow [Tue, 15 Feb 2022 13:22:30 +0000 (08:22 -0500)] 
Merge branch 'gerrit/neo'

Change-Id: Id22e3b96e31924a90c2cc7c7dee2aa828ba18ac6

6 months ago[NO ISSUE][HTTP] Fork the close of response stream on interrupt
Michael Blow [Sat, 12 Feb 2022 13:45:40 +0000 (08:45 -0500)] 
[NO ISSUE][HTTP] Fork the close of response stream on interrupt

Change-Id: I0a49ae5b1d3d59f68e769bef45c39e0242e312bc
Reviewed-on: https://asterix-gerrit.ics.uci.edu/c/asterixdb/+/15243
Integration-Tests: Jenkins <jenkins@fulliautomatix.ics.uci.edu>
Reviewed-by: Michael Blow <mblow@apache.org>
Reviewed-by: Ali Alsuliman <ali.al.solaiman@gmail.com>
Tested-by: Michael Blow <mblow@apache.org>
6 months ago[NO ISSUE][OTH] Rename partition owner to origin
Murtadha Hubail [Sun, 13 Feb 2022 22:04:58 +0000 (01:04 +0300)] 
[NO ISSUE][OTH] Rename partition owner to origin

- user model changes: no
- storage format changes: no
- interface changes: yes

Change-Id: I97838a546ae9bdc1453f397d6809bd08e493f8f8
Reviewed-on: https://asterix-gerrit.ics.uci.edu/c/asterixdb/+/15263
Tested-by: Jenkins <jenkins@fulliautomatix.ics.uci.edu>
Integration-Tests: Jenkins <jenkins@fulliautomatix.ics.uci.edu>
Reviewed-by: Murtadha Hubail <mhubail@apache.org>
Reviewed-by: Michael Blow <mblow@apache.org>
6 months ago[NO ISSUE][API] Add ensureOptionalParameters for extension
Ali Alsuliman [Fri, 11 Feb 2022 23:47:21 +0000 (02:47 +0300)] 
[NO ISSUE][API] Add ensureOptionalParameters for extension

- user model changes: no
- storage format changes: no
- interface changes: no

Details:

Change-Id: Id7e9c5aa9c5a4356d1c7279f10c5602059f550f0
Reviewed-on: https://asterix-gerrit.ics.uci.edu/c/asterixdb/+/15227
Integration-Tests: Jenkins <jenkins@fulliautomatix.ics.uci.edu>
Reviewed-by: Ali Alsuliman <ali.al.solaiman@gmail.com>
Reviewed-by: Michael Blow <mblow@apache.org>
Tested-by: Jenkins <jenkins@fulliautomatix.ics.uci.edu>
6 months ago[NO ISSUE][STO] Log index ref registration and removal
Murtadha Hubail [Fri, 11 Feb 2022 01:04:55 +0000 (04:04 +0300)] 
[NO ISSUE][STO] Log index ref registration and removal

- user model changes: no
- storage format changes: no
- interface changes: no

Change-Id: I95f8565780675798393d7d43c0051c04e2b0a98c
Reviewed-on: https://asterix-gerrit.ics.uci.edu/c/asterixdb/+/15225
Reviewed-by: Ali Alsuliman <ali.al.solaiman@gmail.com>
Tested-by: Jenkins <jenkins@fulliautomatix.ics.uci.edu>
6 months agoMerge branch 'gerrit/neo'
Michael Blow [Fri, 11 Feb 2022 01:17:34 +0000 (20:17 -0500)] 
Merge branch 'gerrit/neo'

Change-Id: Id189559017248b3c9ecdfd54fa7c6d84aa21be08

6 months ago[NO ISSUE][MISC] Add ability to write messages to json object, etc.
Michael Blow [Thu, 10 Feb 2022 14:27:01 +0000 (09:27 -0500)] 
[NO ISSUE][MISC] Add ability to write messages to json object, etc.

- minor cleanup

Change-Id: Ib0a3a0bc2269c3bfa65a08a3c0a77aeb45b16e5d
Reviewed-on: https://asterix-gerrit.ics.uci.edu/c/asterixdb/+/15223
Tested-by: Jenkins <jenkins@fulliautomatix.ics.uci.edu>
Reviewed-by: Ian Maxon <imaxon@uci.edu>
Integration-Tests: Jenkins <jenkins@fulliautomatix.ics.uci.edu>

6 months ago[NO ISSUE][FUN] DATETIME constructor should accept TIME
Dmitry Lychagin [Tue, 8 Feb 2022 19:50:33 +0000 (11:50 -0800)] 
[NO ISSUE][FUN] DATETIME constructor should accept TIME

- user model changes: no
- storage format changes: no
- interface changes: no

Details:
- Fix datetime() constructor function to handle TIME
  argument, instead of returning NULL

Change-Id: I9eab6b3e29642ef6d7f88808e7eb446e8f7c455c
Reviewed-on: https://asterix-gerrit.ics.uci.edu/c/asterixdb/+/15203
Tested-by: Jenkins <jenkins@fulliautomatix.ics.uci.edu>
Integration-Tests: Jenkins <jenkins@fulliautomatix.ics.uci.edu>
Reviewed-by: Dmitry Lychagin <dmitry.lychagin@couchbase.com>
Reviewed-by: Ian Maxon <imaxon@uci.edu>
6 months ago[NO ISSUE][CLUS] Avoid eager refresh cluster state
Murtadha Hubail [Sun, 6 Feb 2022 16:43:56 +0000 (19:43 +0300)] 
[NO ISSUE][CLUS] Avoid eager refresh cluster state

- user model changes: no
- storage format changes: no
- interface changes: no

Details:

- When clearing rebalance required cluster state, let the rebalance
  operation update the cluster state to avoid changing the cluster
  state during the rebalance.
- Make file replication logs debug level.

Change-Id: Ia1f3d84fe8ad82f34d4ad039efd353f7b534d4d6
Reviewed-on: https://asterix-gerrit.ics.uci.edu/c/asterixdb/+/15163
Tested-by: Jenkins <jenkins@fulliautomatix.ics.uci.edu>
Integration-Tests: Jenkins <jenkins@fulliautomatix.ics.uci.edu>
Reviewed-by: Murtadha Hubail <mhubail@apache.org>
Reviewed-by: Ali Alsuliman <ali.al.solaiman@gmail.com>
6 months ago[NO ISSUE][MISC] HTTP error handling, exception message cleanup
Michael Blow [Thu, 27 Jan 2022 15:23:23 +0000 (10:23 -0500)] 
[NO ISSUE][MISC] HTTP error handling, exception message cleanup

Change-Id: If8fc109aee55571aff4a87029cad2a7a0c516d0c
Reviewed-on: https://asterix-gerrit.ics.uci.edu/c/asterixdb/+/15023
Reviewed-by: Hussain Towaileb <hussainht@gmail.com>
Tested-by: Michael Blow <mblow@apache.org>
6 months ago[ASTERIXDB-3009][EXT]: Update Google Cloud Storage to 2.3.0
Hussain Towaileb [Fri, 4 Feb 2022 13:49:13 +0000 (16:49 +0300)] 
[ASTERIXDB-3009][EXT]: Update Google Cloud Storage to 2.3.0

Change-Id: I2df742f11be39c29da4545a7016ed77088e62159
Reviewed-on: https://asterix-gerrit.ics.uci.edu/c/asterixdb/+/15143
Reviewed-by: Michael Blow <mblow@apache.org>
Tested-by: Jenkins <jenkins@fulliautomatix.ics.uci.edu>
Integration-Tests: Hussain Towaileb <hussainht@gmail.com>

6 months ago[NO ISSUE][MISC] Update tomcat-annotations-api
Michael Blow [Thu, 3 Feb 2022 17:36:07 +0000 (12:36 -0500)] 
[NO ISSUE][MISC] Update tomcat-annotations-api

- org.apache.tomcat:tomcat-annotations-api ... 10.0.12 -> 10.0.16

Change-Id: I13af758821d7200fc11cd98324d8cd51eddfcea4
Reviewed-on: https://asterix-gerrit.ics.uci.edu/c/asterixdb/+/15144
Reviewed-by: Michael Blow <mblow@apache.org>
Reviewed-by: Hussain Towaileb <hussainht@gmail.com>
Tested-by: Michael Blow <mblow@apache.org>
Tested-by: Jenkins <jenkins@fulliautomatix.ics.uci.edu>
6 months ago[ASTERIXDB-3008][COMP] Improve translation of inner joins in subplans
Dmitry Lychagin [Thu, 3 Feb 2022 01:22:22 +0000 (17:22 -0800)] 
[ASTERIXDB-3008][COMP] Improve translation of inner joins in subplans

- user model changes: no
- storage format changes: no
- interface changes: no

Details:
- Fix performance regression caused by ASTERIXDB-3006
- Fix incorrect free variable computation by
  FreeVariableVisitor for join clauses

Change-Id: I1f9d0f453202ec79673f2f66b9034fbc6047212b
Reviewed-on: https://asterix-gerrit.ics.uci.edu/c/asterixdb/+/15127
Tested-by: Jenkins <jenkins@fulliautomatix.ics.uci.edu>
Integration-Tests: Jenkins <jenkins@fulliautomatix.ics.uci.edu>
Reviewed-by: Dmitry Lychagin <dmitry.lychagin@couchbase.com>
Reviewed-by: Ali Alsuliman <ali.al.solaiman@gmail.com>
6 months ago[NO ISSUE][STO] Change default disk force bytes to 1MB
Murtadha Hubail [Wed, 2 Feb 2022 23:14:30 +0000 (02:14 +0300)] 
[NO ISSUE][STO] Change default disk force bytes to 1MB

- user model changes: no
- storage format changes: no
- interface changes: no

Change-Id: Ibdf5b4b0803df05e435db779a73a04ce99af9b20
Reviewed-on: https://asterix-gerrit.ics.uci.edu/c/asterixdb/+/15126
Reviewed-by: Ali Alsuliman <ali.al.solaiman@gmail.com>
Tested-by: Jenkins <jenkins@fulliautomatix.ics.uci.edu>
Integration-Tests: Jenkins <jenkins@fulliautomatix.ics.uci.edu>

6 months agoMerge branch 'gerrit/neo'
Michael Blow [Wed, 2 Feb 2022 17:56:19 +0000 (12:56 -0500)] 
Merge branch 'gerrit/neo'

Change-Id: Ib75414ead94a7da9d8b5216c7b28d8ee198f31b5

6 months ago[ASTERIXDB-3007][TEST] Fix PlanVerifierTestBase
Dmitry Lychagin [Wed, 2 Feb 2022 16:42:11 +0000 (08:42 -0800)] 
[ASTERIXDB-3007][TEST] Fix PlanVerifierTestBase

- user model changes: no
- storage format changes: no
- interface changes: no

Details:
- Fix illegal query plan created by PlanVerifierTestBase

Change-Id: Ib0ab584bd5ff71596d84f769aa8584e9223698ec
Reviewed-on: https://asterix-gerrit.ics.uci.edu/c/asterixdb/+/15125
Reviewed-by: Michael Blow <mblow@apache.org>
Tested-by: Michael Blow <mblow@apache.org>
6 months ago(Null) merge branch 'gerrit/stabilization-5e11053887'
Michael Blow [Wed, 2 Feb 2022 13:05:35 +0000 (08:05 -0500)] 
(Null) merge branch 'gerrit/stabilization-5e11053887'

Change-Id: Ib6f57109b6c45ff9ee1eda630df3e462570121fe

6 months agoMerge branch 'gerrit/stabilization-02ea049d7a'
Michael Blow [Wed, 2 Feb 2022 00:25:44 +0000 (19:25 -0500)] 
Merge branch 'gerrit/stabilization-02ea049d7a'

Change-Id: I92fc9437db11351d904644bfed9b56b825d72e48

6 months agoMerge branch 'gerrit/stabilization-5949a1cb71'
Michael Blow [Tue, 1 Feb 2022 22:32:15 +0000 (17:32 -0500)] 
Merge branch 'gerrit/stabilization-5949a1cb71'

Change-Id: I46c5d89fc13ce9b8f3aec55ece7b5281920c8759

6 months ago[NO ISSUE][OTH] Replace usage of FileUtils.listFiles
Murtadha Hubail [Wed, 3 Nov 2021 10:04:16 +0000 (13:04 +0300)] 
[NO ISSUE][OTH] Replace usage of FileUtils.listFiles

- user model changes: no
- storage format changes: no
- interface changes: no

Details:

- Avoid depending on FileUtils.listFiles in production code
  by replacing it with our own implementation.

(cherry picked from commit f6306265e)

Change-Id: I1ecb6143d5840fc12b35a641e1bc73c40bba3676
Reviewed-on: https://asterix-gerrit.ics.uci.edu/c/asterixdb/+/15083
Reviewed-by: Michael Blow <mblow@apache.org>
Reviewed-by: Hussain Towaileb <hussainht@gmail.com>
Integration-Tests: Jenkins <jenkins@fulliautomatix.ics.uci.edu>
Tested-by: Michael Blow <mblow@apache.org>
6 months ago [ASTERIXDB-3007][COMP] Fix ConsolidateWindowOperatorsRule
Dmitry Lychagin [Mon, 31 Jan 2022 22:42:57 +0000 (14:42 -0800)] 
 [ASTERIXDB-3007][COMP] Fix ConsolidateWindowOperatorsRule

- user model changes: no
- storage format changes: no
- interface changes: no

Details:
- Fix ConsolidateWindowOperatorsRule to correclty merge window
  operator with subplans into window operator without subplans
- Fix deep copy visitors for window operator with subplans
- Add compiler sanity check code to verify that each nested tuple
  source operator correctly points to its datasource operator

Change-Id: Ib9077a0331ab57cdd449426be77f05741d0778cc
Reviewed-on: https://asterix-gerrit.ics.uci.edu/c/asterixdb/+/15063
Tested-by: Jenkins <jenkins@fulliautomatix.ics.uci.edu>
Integration-Tests: Jenkins <jenkins@fulliautomatix.ics.uci.edu>
Reviewed-by: Dmitry Lychagin <dmitry.lychagin@couchbase.com>
Reviewed-by: Ali Alsuliman <ali.al.solaiman@gmail.com>
6 months ago[ASTERIXDB-2981][EXT] Handle Parquet specialized types
Wail Alkowaileet [Mon, 31 Jan 2022 18:42:20 +0000 (10:42 -0800)] 
[ASTERIXDB-2981][EXT] Handle Parquet specialized types

- user model changes: yes
- storage format changes: no
- interface changes: no

Details:
- Handle parquet specialized types
- Supported types: Date, Time, Timestamp, Binary, JSON,
  BSON (as Binary), Decimal (converted to double), UUID
- By default, type conversion for decimal is not enabled
  - To enable decimal convertion, an option must be passed
    during dataset creation (see parquet-types.1.ddl.sqlpp)
- UTC-adjusted timestamos values can re-adjusted to local
  values by setting the the timezone ID using "timezone"
  option upon creating a dataset.
- Documentation is also included in this patch

Change-Id: I345809e16aeb91f0a28d6592e1b8799e48434051
Reviewed-on: https://asterix-gerrit.ics.uci.edu/c/asterixdb/+/13903
Reviewed-by: Ali Alsuliman <ali.al.solaiman@gmail.com>
Tested-by: Jenkins <jenkins@fulliautomatix.ics.uci.edu>
Integration-Tests: Jenkins <jenkins@fulliautomatix.ics.uci.edu>

6 months agoMerge release 0.9.7
Ian Maxon [Thu, 27 Jan 2022 19:49:12 +0000 (11:49 -0800)] 
Merge release 0.9.7

(cherry picked from commit 4ba929313)

Change-Id:If97ac8dad8df435c9a0c15ef4d7a7ef12bb3acde
Reviewed-on: https://asterix-gerrit.ics.uci.edu/c/asterixdb/+/15043
Tested-by: Jenkins <jenkins@fulliautomatix.ics.uci.edu>
Integration-Tests: Jenkins <jenkins@fulliautomatix.ics.uci.edu>
Reviewed-by: Michael Blow <mblow@apache.org>
6 months ago[NO ISSUE][CONF] Removed unused active partitions config
Murtadha Hubail [Thu, 27 Jan 2022 20:17:03 +0000 (23:17 +0300)] 
[NO ISSUE][CONF] Removed unused active partitions config

- user model changes: no
- storage format changes: no
- interface changes: no

Details:

- Remove unused active partitions config.
- Improved node partitions logging.
- Logging fixes.

Change-Id: I4f2a611e2846405738401310f485db0e72844031
Reviewed-on: https://asterix-gerrit.ics.uci.edu/c/asterixdb/+/15024
Tested-by: Jenkins <jenkins@fulliautomatix.ics.uci.edu>
Integration-Tests: Jenkins <jenkins@fulliautomatix.ics.uci.edu>
Reviewed-by: Ali Alsuliman <ali.al.solaiman@gmail.com>
6 months ago[NO ISSUE][STO] Skip flush on datasets with no open indexes
Murtadha Hubail [Thu, 27 Jan 2022 22:17:16 +0000 (01:17 +0300)] 
[NO ISSUE][STO] Skip flush on datasets with no open indexes

- user model changes: no
- storage format changes: no
- interface changes: no

Details:

- When attempting to flush a dataset, skip if the dataset has
  no open indexes.
- Halt when no primary index is open while other indexes are
  open to clear the inconsistent memory state.

Change-Id: Ib30f8bbbad03f5563ce27d573553f562d0ae484d
Reviewed-on: https://asterix-gerrit.ics.uci.edu/c/asterixdb/+/15025
Contrib: Jenkins <jenkins@fulliautomatix.ics.uci.edu>
Integration-Tests: Jenkins <jenkins@fulliautomatix.ics.uci.edu>
Reviewed-by: Ali Alsuliman <ali.al.solaiman@gmail.com>
Tested-by: Murtadha Hubail <mhubail@apache.org>
6 months agoMerge release 0.9.7 into master
Ian Maxon [Thu, 27 Jan 2022 19:49:12 +0000 (11:49 -0800)] 
Merge release 0.9.7 into master

Change-Id:If97ac8dad8df435c9a0c15ef4d7a7ef12bb3acde

6 months ago[NO ISSUE][IDX] Do not store source indicators for primary key indexes
Ali Alsuliman [Tue, 25 Jan 2022 21:08:15 +0000 (13:08 -0800)] 
[NO ISSUE][IDX] Do not store source indicators for primary key indexes

- user model changes: no
- storage format changes: no
- interface changes: no

Details:
Since secondary primary key indexes do not have/store SKs, there
should be no matching source indicators.

Change-Id: I6c2b3bb8115b6a079ccde28cb20c28a248b6b95b
Reviewed-on: https://asterix-gerrit.ics.uci.edu/c/asterixdb/+/15004
Tested-by: Jenkins <jenkins@fulliautomatix.ics.uci.edu>
Integration-Tests: Jenkins <jenkins@fulliautomatix.ics.uci.edu>
Reviewed-by: Ali Alsuliman <ali.al.solaiman@gmail.com>
Reviewed-by: Dmitry Lychagin <dmitry.lychagin@couchbase.com>
6 months agoMerge branch 'gerrit/neo'
Ali Alsuliman [Tue, 25 Jan 2022 17:23:27 +0000 (09:23 -0800)] 
Merge branch 'gerrit/neo'

Change-Id: I493e78c38f1a41557fdb4b960b58dbdc20b62104

6 months ago[NO ISSUE][STO] Fix search when switching from memory to disk component
Ali Alsuliman [Tue, 25 Jan 2022 04:40:17 +0000 (20:40 -0800)] 
[NO ISSUE][STO] Fix search when switching from memory to disk component

- user model changes: no
- storage format changes: no
- interface changes: no

Details:
- When searching the index and making the switch from the memory
  components to the disk components, keep the states of the queue and
  the cursors on the switched-to disk components the same as their
  states were on the memory components. If a cursor was the one who
  produced the outputElement, then do not push the next element into
  the queue from the cursor since there should not be an element in
  the queue from this cursor. Restart the search operation at the
  elements that the cursors were at and consume them since they were
  already consumed before we make the switch.

- add test case.

Change-Id: I647641f6044c1edf1477049be1c5d1b697f404c1
Reviewed-on: https://asterix-gerrit.ics.uci.edu/c/asterixdb/+/14885
Tested-by: Jenkins <jenkins@fulliautomatix.ics.uci.edu>
Integration-Tests: Jenkins <jenkins@fulliautomatix.ics.uci.edu>
Reviewed-by: Murtadha Hubail <mhubail@apache.org>
6 months agoMerge branch 'gerrit/neo'
Michael Blow [Tue, 25 Jan 2022 01:39:51 +0000 (20:39 -0500)] 
Merge branch 'gerrit/neo'

Change-Id: I3c5e5c46a7b9e7991cb3bfff4b94275902b7ac7c

6 months ago[NO ISSUE][TEST] Introduce helper methods in TestExecutor
Dmitry Lychagin [Fri, 21 Jan 2022 05:47:06 +0000 (21:47 -0800)] 
[NO ISSUE][TEST] Introduce helper methods in TestExecutor

- user model changes: no
- storage format changes: no
- interface changes: no

Details:
- Extract helper methods to list dataverses,
  datasets and to drop a dataverse

Change-Id: If347992216958d72eab5d8f38c9373f78121bd66
Reviewed-on: https://asterix-gerrit.ics.uci.edu/c/asterixdb/+/14887
Integration-Tests: Jenkins <jenkins@fulliautomatix.ics.uci.edu>
Tested-by: Jenkins <jenkins@fulliautomatix.ics.uci.edu>
Reviewed-by: Dmitry Lychagin <dmitry.lychagin@couchbase.com>
Reviewed-by: Ali Alsuliman <ali.al.solaiman@gmail.com>
6 months agoMerge branch 'gerrit/stabilization-5e11053887'
Michael Blow [Mon, 24 Jan 2022 15:18:28 +0000 (10:18 -0500)] 
Merge branch 'gerrit/stabilization-5e11053887'

Change-Id: I62fe3d7d27eb7906fd0922eb5e36f42aeabcde27

6 months ago[NO ISSUE]: update azure dependencies
Michael Blow [Sun, 23 Jan 2022 17:38:22 +0000 (12:38 -0500)] 
[NO ISSUE]: update azure dependencies

 - com.azure:azure-storage-blob .......... 12.12.0 -> 12.14.3
 - com.azure:azure-storage-common ........ 12.12.0 -> 12.14.2

Change-Id: I6c0c6bc39031675f606d789d00678bf224f3bbfb
Reviewed-on: https://asterix-gerrit.ics.uci.edu/c/asterixdb/+/14944
Integration-Tests: Jenkins <jenkins@fulliautomatix.ics.uci.edu>
Reviewed-by: Michael Blow <mblow@apache.org>
Tested-by: Michael Blow <mblow@apache.org>
6 months agoMerge branch 'gerrit/stabilization-02ea049d7a'
Michael Blow [Sun, 23 Jan 2022 15:38:03 +0000 (10:38 -0500)] 
Merge branch 'gerrit/stabilization-02ea049d7a'

Change-Id: Icde6ac90cccb845b4973155eac5a0380e8f6ff58

6 months ago[NO ISSUE][MISC] Update dependencies
Michael Blow [Sat, 22 Jan 2022 13:08:51 +0000 (08:08 -0500)] 
[NO ISSUE][MISC] Update dependencies

 - AWS Java SDK version ................ 2.10.83 -> 2.17.116
 - org.apache.maven.plugin-tools:
       maven-plugin-annotations ............. 3.6.0 -> 3.6.4
 - org.apache.maven.plugins:
       maven-remote-resources-plugin ........ 1.6.0 -> 1.7.0

Change-Id: Icdd8555e595e7d157578621e918c2d176ca86de0
Reviewed-on: https://asterix-gerrit.ics.uci.edu/c/asterixdb/+/14923
Integration-Tests: Jenkins <jenkins@fulliautomatix.ics.uci.edu>
Tested-by: Jenkins <jenkins@fulliautomatix.ics.uci.edu>
Reviewed-by: Michael Blow <mblow@apache.org>
Reviewed-by: Hussain Towaileb <hussainht@gmail.com>
6 months ago[NO ISSUE][HYR][HDFS] Exclude netty-all transitive dependency from hadoop
Michael Blow [Fri, 21 Jan 2022 13:51:39 +0000 (08:51 -0500)] 
[NO ISSUE][HYR][HDFS] Exclude netty-all transitive dependency from hadoop

Change-Id: I659caef68dea27a55c81a38930760b8c9720601b
Reviewed-on: https://asterix-gerrit.ics.uci.edu/c/asterixdb/+/14903
Integration-Tests: Jenkins <jenkins@fulliautomatix.ics.uci.edu>
Tested-by: Jenkins <jenkins@fulliautomatix.ics.uci.edu>
Reviewed-by: Michael Blow <mblow@apache.org>
Reviewed-by: Hussain Towaileb <hussainht@gmail.com>
6 months agoMerge branch 'gerrit/stabilization-5949a1cb71'
Michael Blow [Fri, 21 Jan 2022 02:42:18 +0000 (21:42 -0500)] 
Merge branch 'gerrit/stabilization-5949a1cb71'

Change-Id: I6d9ed728c40d740cdecde440cadce441ce515798

6 months ago[ASTERIXDB-3003][STO] Make LSMBTree cursors extendable
Wail Alkowaileet [Wed, 19 Jan 2022 01:12:43 +0000 (17:12 -0800)] 
[ASTERIXDB-3003][STO] Make LSMBTree cursors extendable

- user model changes: no
- storage format changes: no
- interface changes: no

Details:
- Make LSMBTree cursors extendable by changing the
  visibility of a few methods
- Introduce LSMBTree#createBatchPointSearchCursor()
  for different implementations for batch point-
  lookup cursors
- Extrct operations as protected methods
  where the columnar format have a different behavior

Change-Id: I5d8d57186e83ff509244185f18a2188b24afabee
Reviewed-on: https://asterix-gerrit.ics.uci.edu/c/asterixdb/+/14803
Integration-Tests: Jenkins <jenkins@fulliautomatix.ics.uci.edu>
Tested-by: Jenkins <jenkins@fulliautomatix.ics.uci.edu>
Reviewed-by: Wail Alkowaileet <wael.y.k@gmail.com>
Reviewed-by: Murtadha Hubail <mhubail@apache.org>
6 months ago[NO ISSUE][MISC] Update dependencies
Michael Blow [Wed, 19 Jan 2022 02:11:26 +0000 (21:11 -0500)] 
[NO ISSUE][MISC] Update dependencies

 - com.fasterxml.jackson.core:jackson-annotations .. 2.13.0 -> 2.13.1
 - com.fasterxml.jackson.core:jackson-core ......... 2.13.0 -> 2.13.1
 - com.fasterxml.jackson.core:jackson-databind ..... 2.13.0 -> 2.13.1
 - commons-io:commons-io ............................ 2.8.0 -> 2.11.0
 - io.netty:netty-buffer ............... 4.1.69.Final -> 4.1.73.Final
 - io.netty:netty-codec ................ 4.1.69.Final -> 4.1.73.Final
 - io.netty:netty-codec-http............ 4.1.69.Final -> 4.1.73.Final
 - io.netty:netty-common ............... 4.1.69.Final -> 4.1.73.Final
 - io.netty:netty-handler .............. 4.1.69.Final -> 4.1.73.Final
 - io.netty:netty-transport ............ 4.1.69.Final -> 4.1.73.Final
 - junit:junit ....................................... 4.13 -> 4.13.2
 - org.apache.maven:maven-artifact ................... 3.8.3 -> 3.8.4
 - org.apache.maven:maven-compat ..................... 3.8.3 -> 3.8.4
 - org.apache.maven:maven-core ....................... 3.8.3 -> 3.8.4
 - org.apache.maven:maven-model ...................... 3.8.3 -> 3.8.4
 - org.apache.maven:maven-plugin-api ................. 3.6.0 -> 3.8.4
 - org.apache.httpcomponents:httpcore .............. 4.4.14 -> 4.4.15
 - org.apache.httpcomponents:httpcore-nio .......... 4.4.10 -> 4.4.15
 - org.freemarker:freemarker ....................... 2.3.29 -> 2.3.31
 - org.slf4j:slf4j-api ............................. 1.7.25 -> 1.7.33
 - org.slf4j:slf4j-simple .......................... 1.7.28 -> 1.7.33

Change-Id: I3d4520195b91630bd75219f0ca23f25589750b31
Reviewed-on: https://asterix-gerrit.ics.uci.edu/c/asterixdb/+/14864
Reviewed-by: Michael Blow <mblow@apache.org>
Reviewed-by: Murtadha Hubail <mhubail@apache.org>
Integration-Tests: Jenkins <jenkins@fulliautomatix.ics.uci.edu>
Tested-by: Michael Blow <mblow@apache.org>
6 months ago[NO ISSUE][MISC] Update log4j2 dependencies 2.15.0 -> 2.17.1
Michael Blow [Tue, 4 Jan 2022 17:07:17 +0000 (12:07 -0500)] 
[NO ISSUE][MISC] Update log4j2 dependencies 2.15.0 -> 2.17.1

Change-Id: I7ecc188266713b9e00828cc3af2b23512e2ca1f3
Reviewed-on: https://asterix-gerrit.ics.uci.edu/c/asterixdb/+/14863
Reviewed-by: Michael Blow <mblow@apache.org>
Reviewed-by: Hussain Towaileb <hussainht@gmail.com>
Tested-by: Michael Blow <mblow@apache.org>
6 months ago[NO ISSUE][MISC] License plugin enhancement to aggregate overrides
Michael Blow [Wed, 19 Jan 2022 13:10:42 +0000 (08:10 -0500)] 
[NO ISSUE][MISC] License plugin enhancement to aggregate overrides

(partial cherry-pick of 5e44128bc13a93a3cadb12a87ecd691218481447)

Change-Id: Ifc2c719a6dc840d2846d68d1b649e12bec9f22db
Reviewed-on: https://asterix-gerrit.ics.uci.edu/c/asterixdb/+/14865
Reviewed-by: Michael Blow <mblow@apache.org>
Reviewed-by: Hussain Towaileb <hussainht@gmail.com>
Tested-by: Michael Blow <mblow@apache.org>
Tested-by: Jenkins <jenkins@fulliautomatix.ics.uci.edu>
Integration-Tests: Jenkins <jenkins@fulliautomatix.ics.uci.edu>

6 months agoMerge branch 'gerrit/neo'
Dmitry Lychagin [Tue, 18 Jan 2022 00:22:26 +0000 (16:22 -0800)] 
Merge branch 'gerrit/neo'

Change-Id: Id5f22a40e2a1beb293219ecae9576b455d9692a2

6 months ago[ASTERIXDB-2950][COMP] Improve error message on type mismatch
Dmitry Lychagin [Mon, 17 Jan 2022 22:19:11 +0000 (14:19 -0800)] 
[ASTERIXDB-2950][COMP] Improve error message on type mismatch

- user model changes: no
- storage format changes: no
- interface changes: no

Details:
- Change NonTaggedGetItemResultType.getResultType() to
  raise ASX1002 instead of failng with ClassCastException

Change-Id: Ie5ce017b4927ea08e102af096a5d2b69e8bef550
Reviewed-on: https://asterix-gerrit.ics.uci.edu/c/asterixdb/+/14844
Integration-Tests: Jenkins <jenkins@fulliautomatix.ics.uci.edu>
Tested-by: Jenkins <jenkins@fulliautomatix.ics.uci.edu>
Reviewed-by: Dmitry Lychagin <dmitry.lychagin@couchbase.com>
Reviewed-by: Ali Alsuliman <ali.al.solaiman@gmail.com>
6 months agoMerge branch 'gerrit/neo'
Dmitry Lychagin [Mon, 17 Jan 2022 17:12:27 +0000 (09:12 -0800)] 
Merge branch 'gerrit/neo'

Change-Id: If30f47986153d2548addc2a2f2f436f8f20554e3

6 months ago[ASTERIXDB-3006][COMP] Change translation of inner joins in subplans
Dmitry Lychagin [Sat, 15 Jan 2022 02:49:50 +0000 (18:49 -0800)] 
[ASTERIXDB-3006][COMP] Change translation of inner joins in subplans

- user model changes: no
- storage format changes: no
- interface changes: no

Details:
- Translate inner join inside subplan into unnest/subplan
  operators instead of a join operator. The join will be
  introduced later by the optimizer
- This translation matches expectations of
  InlineSubplanInputForNestedTupleSourceRule
- Add testcase

Change-Id: I46d6ca1bfaa9f76012adaa21a2aeca56b4d93afb
Reviewed-on: https://asterix-gerrit.ics.uci.edu/c/asterixdb/+/14825
Integration-Tests: Jenkins <jenkins@fulliautomatix.ics.uci.edu>
Tested-by: Jenkins <jenkins@fulliautomatix.ics.uci.edu>
Reviewed-by: Dmitry Lychagin <dmitry.lychagin@couchbase.com>
Reviewed-by: Ali Alsuliman <ali.al.solaiman@gmail.com>
7 months agoMerge branch 'gerrit/neo'
Dmitry Lychagin [Fri, 14 Jan 2022 19:16:36 +0000 (11:16 -0800)] 
Merge branch 'gerrit/neo'

Change-Id: I82dd81835c956e86ba6aee0c7c24745f22f59b46

7 months ago[ASTERIXDB-3004][RT] Improve hash join performance
Dmitry Lychagin [Thu, 13 Jan 2022 01:03:52 +0000 (17:03 -0800)] 
[ASTERIXDB-3004][RT] Improve hash join performance

- user model changes: no
- storage format changes: no
- interface changes: no

Details:
- Improve hash join performance when joined values are NULL/MISSING
- Add SqlppHashJoinRQJTest to test different hash join scenarios

Change-Id: I8f0afb05908e8281f2865775e074d459964fe989
Reviewed-on: https://asterix-gerrit.ics.uci.edu/c/asterixdb/+/14784
Integration-Tests: Jenkins <jenkins@fulliautomatix.ics.uci.edu>
Tested-by: Jenkins <jenkins@fulliautomatix.ics.uci.edu>
Reviewed-by: Dmitry Lychagin <dmitry.lychagin@couchbase.com>
Reviewed-by: Ali Alsuliman <ali.al.solaiman@gmail.com>
7 months ago[ASTERIXDB-3003][STO] Extract bulk-loaders and make LSMBTree extendable
Wail Alkowaileet [Sun, 9 Jan 2022 17:54:17 +0000 (09:54 -0800)] 
[ASTERIXDB-3003][STO] Extract bulk-loaders and make LSMBTree extendable

- user model changes: no
- storage format changes: no
- interface changes: no

Details:
- Extract BTreeNSMBulkLoader and AbstractTreeIndexBulkLoader
- Make LSMBTree extendable by introducing:
  - createCursor()
  - getMergeComponentFactory()
  - getCursorFactory()
  * Those methods can be re-implemented by other classes that extends LSMBTree

Change-Id: I204bb2cfbfdf5ee8c58d8f20880f0624aba1c8ea
Reviewed-on: https://asterix-gerrit.ics.uci.edu/c/asterixdb/+/14743
Contrib: Jenkins <jenkins@fulliautomatix.ics.uci.edu>
Integration-Tests: Jenkins <jenkins@fulliautomatix.ics.uci.edu>
Tested-by: Jenkins <jenkins@fulliautomatix.ics.uci.edu>
Reviewed-by: Wael Alkowaileet <wael.y.k@gmail.com>
Reviewed-by: Murtadha Hubail <mhubail@apache.org>
7 months agoMerge branch 'gerrit/neo'
Michael Blow [Fri, 14 Jan 2022 12:41:49 +0000 (07:41 -0500)] 
Merge branch 'gerrit/neo'

Change-Id: Ib1f7319d96e5d157fbcb226358d5e19444549aca

7 months ago[ASTERIXDB-3005][EXT]: Ignore byte order mark when reading ext data
Hussain Towaileb [Thu, 13 Jan 2022 20:34:51 +0000 (23:34 +0300)] 
[ASTERIXDB-3005][EXT]: Ignore byte order mark when reading ext data

Change-Id: Ic7a863097ec4a6adad018785011f0d26d540f2a5
Reviewed-on: https://asterix-gerrit.ics.uci.edu/c/asterixdb/+/14785
Tested-by: Hussain Towaileb <hussainht@gmail.com>
Integration-Tests: Hussain Towaileb <hussainht@gmail.com>
Reviewed-by: Hussain Towaileb <hussainht@gmail.com>
Reviewed-by: Michael Blow <mblow@apache.org>
7 months agoMerge "Merge branch 'gerrit/mad-hatter'"
Apache AsterixDB Gerrit [Wed, 12 Jan 2022 18:11:39 +0000 (18:11 +0000)] 
Merge "Merge branch 'gerrit/mad-hatter'"

7 months agoMerge branch 'gerrit/mad-hatter'
Michael Blow [Wed, 12 Jan 2022 13:42:37 +0000 (08:42 -0500)] 
Merge branch 'gerrit/mad-hatter'

Change-Id: I3bc19fae68eba9316d8b750e2c8b296de8677b06

7 months ago[No ISSUE] Update notices years
Wail Alkowaileet [Sun, 9 Jan 2022 18:01:04 +0000 (10:01 -0800)] 
[No ISSUE] Update notices years

Update notices years to include 2022

Change-Id: I0f0a21833557b6ff882822dec1b734009350ac53
Reviewed-on: https://asterix-gerrit.ics.uci.edu/c/asterixdb/+/14763
Reviewed-by: Wael Alkowaileet <wael.y.k@gmail.com>
Reviewed-by: Ian Maxon <imaxon@uci.edu>
Contrib: Jenkins <jenkins@fulliautomatix.ics.uci.edu>
Integration-Tests: Jenkins <jenkins@fulliautomatix.ics.uci.edu>
Tested-by: Jenkins <jenkins@fulliautomatix.ics.uci.edu>
7 months ago[NO ISSUE][COMP] Implement SQL-compat mode for UNION ALL
Dmitry Lychagin [Wed, 5 Jan 2022 02:26:15 +0000 (18:26 -0800)] 
[NO ISSUE][COMP] Implement SQL-compat mode for UNION ALL

- user model changes: no
- storage format changes: no
- interface changes: no

Details:
- SQL-compat mode: make UNION ALL follow SQL semantics
  (only named projections are supported, other projection
  kinds fail if used with UNION ALL in this mode)
- Add testcases

Change-Id: Ifb519ff7e6475f11ca5a3d2dc246396ea34886bb
Reviewed-on: https://asterix-gerrit.ics.uci.edu/c/asterixdb/+/14684
Contrib: Jenkins <jenkins@fulliautomatix.ics.uci.edu>
Integration-Tests: Jenkins <jenkins@fulliautomatix.ics.uci.edu>
Tested-by: Jenkins <jenkins@fulliautomatix.ics.uci.edu>
Reviewed-by: Dmitry Lychagin <dmitry.lychagin@couchbase.com>
Reviewed-by: Ali Alsuliman <ali.al.solaiman@gmail.com>
7 months ago[ASTERIXDB-2988][COMP] Fix compile-time error with indexnl hint
Dmitry Lychagin [Thu, 6 Jan 2022 19:36:52 +0000 (11:36 -0800)] 
[ASTERIXDB-2988][COMP] Fix compile-time error with indexnl hint

- user model changes: no
- storage format changes: no
- interface changes: no

- Fixed internal compiler error (ASX1030) when indexnl hint
  is specified and the probe branch does not have a primary
  key. For now ingore the hint in this case

Change-Id: Ic31d9fdc870b4d19a375cab0d2c8d7a452600c55
Reviewed-on: https://asterix-gerrit.ics.uci.edu/c/asterixdb/+/14724
Contrib: Jenkins <jenkins@fulliautomatix.ics.uci.edu>
Integration-Tests: Jenkins <jenkins@fulliautomatix.ics.uci.edu>
Tested-by: Jenkins <jenkins@fulliautomatix.ics.uci.edu>
Reviewed-by: Dmitry Lychagin <dmitry.lychagin@couchbase.com>
Reviewed-by: Ali Alsuliman <ali.al.solaiman@gmail.com>
7 months ago[NO ISSUE][IDX] Clean up validating the indexed fields types
Ali Alsuliman [Thu, 6 Jan 2022 00:32:18 +0000 (16:32 -0800)] 
[NO ISSUE][IDX] Clean up validating the indexed fields types

- user model changes: no
- storage format changes: no
- interface changes: no

Details:
When checking the type of the indexed field, the actual type
is checked. Remove UNION type from valid types of indexed field.

Change-Id: Ib70a3550411617c752b3acead778e2958e61dbb9
Reviewed-on: https://asterix-gerrit.ics.uci.edu/c/asterixdb/+/14703
Contrib: Jenkins <jenkins@fulliautomatix.ics.uci.edu>
Integration-Tests: Jenkins <jenkins@fulliautomatix.ics.uci.edu>
Tested-by: Jenkins <jenkins@fulliautomatix.ics.uci.edu>
Reviewed-by: Ali Alsuliman <ali.al.solaiman@gmail.com>
Reviewed-by: Dmitry Lychagin <dmitry.lychagin@couchbase.com>