Clone Tools
  • last updated 13 mins ago
Constraints: committers
Constraints: files
Constraints: dates
[NO ISSUE][COMP] Reduce memory requirements for monitoring functions

- user model changes: no

- storage format changes: no

- interface changes: no


- Queries that only invoke monitoring/metadata datasource functions

should run with minimal memory requirements

- The functions are: active_requests(), completed_requests(),

dataset_resources(), storage_components(), jobs(), and ping()

Change-Id: If7de53a5b476c8ce0d3fe485bf526a5d425e4c37


Sonar-Qube: Jenkins <>

Contrib: Jenkins <>

Integration-Tests: Jenkins <>

Tested-by: Jenkins <>

Reviewed-by: Dmitry Lychagin <>

Reviewed-by: Ali Alsuliman <>

    • -0
    • +32
    • -0
    • +32
  1. … 26 more files in changeset.
[ASTERIXDB-2194][COMP] Introduce datasource functions

- user model changes: yes

Some functions can be datasources

- storage format changes: no

- interface changes: yes

- Add IDatasourceFunction: A function that is also a datasource

- Add IFunctionToDataSourceTransformer: transform an unnest

function into a datascan during compilation


- Currently, functions are location agnostic and are run on

parameters that are either passed through them during compile

time or runtime.

- An exception to this is the dataset function which has

an associated location constraints running on the nodes

which host the dataset.

- In this change, we introduce a general framework that allows

creation of new functions similar to the dataset function.

- Such functions are called datasource Functions.

- A datasource function takes constant parameters and run on

a set of partitions similar to the dataset function.

- The first example of such functions is the DatasetResources


- The DatasetResources function takes two parameters, a dataverse

and a dataset. It is then run on all nodes and returns a set

of dataset resources.

- Test cases are added for this function.

Change-Id: Ibcf807ac713a21e8f4d59868525467386e801303


Sonar-Qube: Jenkins <>

Integration-Tests: Jenkins <>

Reviewed-by: abdullah alamoudi <>

Tested-by: abdullah alamoudi <>

    • -0
    • +50
    • -0
    • +24
    • -0
    • +20
    • -0
    • +20
    • -0
    • +21
  1. … 37 more files in changeset.