Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Master PG12 TEST #1012

Closed
wants to merge 98 commits into from
Closed

Master PG12 TEST #1012

wants to merge 98 commits into from

Commits on Aug 24, 2022

  1. AGE PG12.1.0 ALPHA (apache#246)

    This is an initial version of AGE for PG12.
    
    Co-authored-by: Alex Kwak <[email protected]>
    Co-authored-by: Ibrar Ahmad <[email protected]>
    Co-authored-by: Josh Innis <[email protected]>
    Co-authored-by: John Gemignani <[email protected]>
    5 people committed Aug 24, 2022
    Configuration menu
    Copy the full SHA
    a20169e View commit details
    Browse the repository at this point in the history

Commits on Oct 22, 2022

  1. Patch to AGE for PG12 to remove incubating

    This is a patch to remove the word incubate from AGE for PG12
    jrgemignani committed Oct 22, 2022
    Configuration menu
    Copy the full SHA
    5d86c95 View commit details
    Browse the repository at this point in the history

Commits on Oct 25, 2022

  1. Update files for release

    Updated the README and RELEASE files.
    jrgemignani committed Oct 25, 2022
    Configuration menu
    Copy the full SHA
    1d9d601 View commit details
    Browse the repository at this point in the history

Commits on Dec 1, 2022

  1. Add images for README

    eyab committed Dec 1, 2022
    Configuration menu
    Copy the full SHA
    efce637 View commit details
    Browse the repository at this point in the history
  2. Update Logo for README

    eyab committed Dec 1, 2022
    Configuration menu
    Copy the full SHA
    f0e1973 View commit details
    Browse the repository at this point in the history

Commits on Dec 8, 2022

  1. Issue (apache#318): PGXN Support added. (apache#367)

    Co-authored-by: Ibrar Ahmed <“[email protected]”>
    Ibrar Ahmed and Ibrar Ahmed committed Dec 8, 2022
    Configuration menu
    Copy the full SHA
    84b7549 View commit details
    Browse the repository at this point in the history

Commits on Dec 13, 2022

  1. Add the ability to pass parameters to the cypher function

    Added the ability to pass parameters to the cypher() function via
    a function called age_prepare_cypher().
    
    This extra function is necessary because the cypher() function itself
    isn't actually executed - it is instead transformed and replaced. This
    means that it needs to have its input parameters resolved prior to
    that transform. However, parameters aren't resolved until the
    execution phase. So, another command to resolve them needs to run
    prior to the cypher() function call.
    
    This mainly impacts the drivers, which will need to be updated.
    
    Additionally, modified the golang driver as an example of this new
    usage.
    
    Added regression tests.
    jrgemignani committed Dec 13, 2022
    Configuration menu
    Copy the full SHA
    b9b8b5a View commit details
    Browse the repository at this point in the history

Commits on Dec 14, 2022

  1. Modify the python driver's parameterization

    Modified the python driver to pass parameters to the cypher() function
    via age_prepare_cypher()
    
    Modified README for the python driver
    dehowef committed Dec 14, 2022
    Configuration menu
    Copy the full SHA
    74a415a View commit details
    Browse the repository at this point in the history
  2. Update installcheck.yml

    Temporary update to show diffs.
    jrgemignani committed Dec 14, 2022
    Configuration menu
    Copy the full SHA
    f710edd View commit details
    Browse the repository at this point in the history
  3. Update installcheck.yml

    Temporary change to view regression errors.
    jrgemignani committed Dec 14, 2022
    Configuration menu
    Copy the full SHA
    dd2a6ae View commit details
    Browse the repository at this point in the history
  4. Update installcheck.yml

    Temporary installcheck test
    jrgemignani committed Dec 14, 2022
    Configuration menu
    Copy the full SHA
    ed72c46 View commit details
    Browse the repository at this point in the history
  5. Update installcheck.yml

    Temporary installcheck for debugging
    jrgemignani committed Dec 14, 2022
    Configuration menu
    Copy the full SHA
    16e3b4b View commit details
    Browse the repository at this point in the history
  6. Update installcheck.yml

    On regression test failure, dump the failure to the log.
    jrgemignani committed Dec 14, 2022
    Configuration menu
    Copy the full SHA
    bbe6be8 View commit details
    Browse the repository at this point in the history
  7. Fix compare_agtype_scalar_values returned result

    Fixed compare_agtype_scalar_values returned result. It used a
    function, varstr_cmp, that wasn't guaranteed to return 1, 0, or -1.
    It was only guaranteed to return >0, 0, or <0. This caused some
    builds to fail during the regression tests, as 1, 0, or -1 were
    expected.
    jrgemignani committed Dec 14, 2022
    Configuration menu
    Copy the full SHA
    dd34ea5 View commit details
    Browse the repository at this point in the history

Commits on Dec 15, 2022

  1. Implement CI testing for Golang Driver (apache#372)

    This change will implement running of the go driver unit tests
    upon every pull commit made to the `drivers/golang` code.
    
    It uses the `paths` directive to ensure the github action workflow
    only runs when the go driver code is changed.
    
    The docker-compose file is required to instaniate a postgres
    instance, needed for unit testing.
    lukehinds authored and jrgemignani committed Dec 15, 2022
    Configuration menu
    Copy the full SHA
    1d1254a View commit details
    Browse the repository at this point in the history
  2. Update to go version 1.19, as 1.16 is EOL (apache#373)

    * Update to go version 1.19, as 1.16 is EOL
    
    The current version of the driver is 1.16 which went EOL Feb 2021
    
    This upgrades to 1.19 and also configures CI to retrospectively
    test back to 1.18 (1.17 is EOL). This will give test coverage
    for all actively supported go versions.
    
    * Also update readme go version
    lukehinds authored and jrgemignani committed Dec 15, 2022
    Configuration menu
    Copy the full SHA
    e7465ae View commit details
    Browse the repository at this point in the history

Commits on Jan 5, 2023

  1. Issue apache#388 - Fix python driver build from source (apache#389)

    * Fixed a bug where python driver throws error when build from source
    
    * Moved required packages to requirements.txt
    
    * Update Readme
    
    Rearranged instructions and added instructions to install from requirements.txt
    
    * Fixed a typo in exceptions.py file
    
    Fixed a typo 'SqlExcution' on line 62 in exceptions.py file
    Hunaid2000 authored and jrgemignani committed Jan 5, 2023
    Configuration menu
    Copy the full SHA
    5ee637d View commit details
    Browse the repository at this point in the history

Commits on Jan 18, 2023

  1. Updated files for PG12 AGE release to 1.1.1

        modified:   Makefile
        modified:   README.md
        modified:   RELEASE
        renamed:    age--1.1.0.sql -> age--1.1.1.sql
        modified:   age.control
    jrgemignani committed Jan 18, 2023
    Configuration menu
    Copy the full SHA
    8b8ad5f View commit details
    Browse the repository at this point in the history

Commits on Jan 19, 2023

  1. Updated and added files for PG12 AGE release to 1.1.1

        modified:   NOTICE
        modified:   RELEASE
        new file:   age--1.1.0--1.1.1.sql
    jrgemignani committed Jan 19, 2023
    Configuration menu
    Copy the full SHA
    2f85a37 View commit details
    Browse the repository at this point in the history

Commits on Jan 21, 2023

  1. Update README.md (apache#565)

    added PG12 badge
    jbiz805 committed Jan 21, 2023
    Configuration menu
    Copy the full SHA
    7da8a0e View commit details
    Browse the repository at this point in the history

Commits on Feb 1, 2023

  1. Implement CALL ...[YIELD] for cypher functions. (apache#630)

    Queries can now call functions using the form CALL ... YIELD.
    
    CALL ... YIELD can be used in some of the following forms:
    
        Individual:
        CALL
        CALL YIELD
        CALL YIELD WHERE UPDATE/RETURN
    
        Subqueries:
        READING_CLAUSE CALL YIELD UPDATE/RETURN
        CALL YIELD READING_CLAUSE UPDATE/RETURN
    
    In the future, CALL YIELD support for record returning functions and
    multiple variable output functions can be added.
    
    Known Issue with WHERE clause where a WHERE in a MATCH + CALL subquery
    does not filter results is known.
    
    Co-authored-by: Dehowe Feng <[email protected]>
    MuhammadTahaNaveed and dehowef committed Feb 1, 2023
    Configuration menu
    Copy the full SHA
    005eb05 View commit details
    Browse the repository at this point in the history

Commits on Feb 9, 2023

  1. Configuration menu
    Copy the full SHA
    fd49347 View commit details
    Browse the repository at this point in the history
  2. Updated drivers, minor docs fixes

    Conflicts:
    	README.md
    
    Co-authored-by: John Gemignani <[email protected]>
    Dzordzu and jrgemignani committed Feb 9, 2023
    Configuration menu
    Copy the full SHA
    99afc88 View commit details
    Browse the repository at this point in the history
  3. Fix Bug with CALL... YIELD clause ignores WHERE

    Typo fix where an if statement check was causing a logic error that
    caused the where statement to be ignored.
    
    Regression tests added to address this and thoroughly check WHERE
    clauses as well.
    
    Co-authored by: John Gemignani <[email protected]>
    dehowef authored and jrgemignani committed Feb 9, 2023
    Configuration menu
    Copy the full SHA
    3c65ec8 View commit details
    Browse the repository at this point in the history
  4. Fix EXPLAIN to allow for nested cypher commands

    Fixed the EXPLAIN command to allow for nested cypher commands within
    more complex SQL queries.
    jrgemignani committed Feb 9, 2023
    Configuration menu
    Copy the full SHA
    100bbc1 View commit details
    Browse the repository at this point in the history
  5. Fix delete_global_graphs

    Fixed the delete_global_graphs function. It was not keeping track of
    the previous graph global context pointer.
    
    This was causing a memory leak for multiple graph contexts if
    individual graphs were deleted.
    jrgemignani committed Feb 9, 2023
    Configuration menu
    Copy the full SHA
    d91a632 View commit details
    Browse the repository at this point in the history
  6. Configuration menu
    Copy the full SHA
    423ce19 View commit details
    Browse the repository at this point in the history
  7. Invalid labels now return NULL

    Updated the behavior of invalid labels to return NULL rather than
    throw an error.
    
    Added additional regression tests as well.
    dehowef authored and jrgemignani committed Feb 9, 2023
    Configuration menu
    Copy the full SHA
    1a50ded View commit details
    Browse the repository at this point in the history
  8. Update CONTRIBUTING.md (apache#348)

    Edited the details available in https://age.apache.org/contribution/how
    jbiz805 authored and jrgemignani committed Feb 9, 2023
    Configuration menu
    Copy the full SHA
    2d875a8 View commit details
    Browse the repository at this point in the history
  9. Add license header

    Added license header to the following 3 files -
    
       regress/sql/age_global_graph.sql
       regress/sql/age_load.sql
       regress/sql/index.sql
    
    Adjusted regression tests for these 3.
    jrgemignani committed Feb 9, 2023
    Configuration menu
    Copy the full SHA
    b533a1c View commit details
    Browse the repository at this point in the history
  10. Fix null pointer on name compare (apache#376)

    * Fix null pointer on name compare
    
    * typo in name of test script
    
    * additional regression tests and style fixes
    parvit authored and jrgemignani committed Feb 9, 2023
    Configuration menu
    Copy the full SHA
    0f3fd0c View commit details
    Browse the repository at this point in the history
  11. Fix Travis CI warning message

    Fixed a Travis CI warning message that was overlooked -
    
    warning: ISO C90 forbids mixed declarations and code
    jrgemignani committed Feb 9, 2023
    Configuration menu
    Copy the full SHA
    7d3b89a View commit details
    Browse the repository at this point in the history
  12. Fix Travis CI warning message

    Fixed Travis CI warning message -
    
    warning: unused variable ‘stack’
    jrgemignani committed Feb 9, 2023
    Configuration menu
    Copy the full SHA
    20ffc26 View commit details
    Browse the repository at this point in the history
  13. Regression tests for age_global_graph (apache#341)

    * Modified age_global_graph regression tests
    
    Add files via upload
    
    Add files via upload
    
    Delete age_global_graph.out
    
    Delete age_global_graph.sql
    
    Add files via upload
    
    Add files via upload
    
    * Update age_global_graph.out
    
    * Update age_global_graph.sql
    
    * Update age_global_graph.out
    
    * Update age_global_graph.out
    
    * Update age_global_graph.sql
    PragyanD authored and jrgemignani committed Feb 9, 2023
    Configuration menu
    Copy the full SHA
    1cb098c View commit details
    Browse the repository at this point in the history
  14. Readme Added for AGE-JDBC-Driver (apache#383)

    * added readme for age-jdbc-driver
    imranzaheer612 authored and jrgemignani committed Feb 9, 2023
    Configuration menu
    Copy the full SHA
    5c1e483 View commit details
    Browse the repository at this point in the history
  15. Changed volatility category of functions age_atan2, age_degrees, age_…

    …radians from STABLE to IMMUTABLE (apache#412)
    
    Reasons:
    - These math functions will not scan/lookup database
    - They simply take the input (int, float or numeric), applies operation on it and returns the result
    - They cannot modify database
    - They are guaranteed to return the same results given the same arguments forever
    Hunaid2000 authored and jrgemignani committed Feb 9, 2023
    Configuration menu
    Copy the full SHA
    b2d695c View commit details
    Browse the repository at this point in the history
  16. Changed age_split, age_replace, age_sin from STABLE TO IMMUTABLE (apa…

    …che#402)
    
    Generally reasons for changing signature of these functions are:
    1.These functions do not need to perform database lookup.
    2.These functions neither perform database modification.
    3.These functions are guaranteed to return the same constant results given the same argument.
    Zahid07 authored and jrgemignani committed Feb 9, 2023
    Configuration menu
    Copy the full SHA
    991f528 View commit details
    Browse the repository at this point in the history
  17. Modified the Volatility Category of functions age_asin and age_acos f…

    …rom STABLE TO IMMUTABLE (apache#404)
    
    * Modified the Volatility Category of functions age_asin and age_acos from STABLE to IMMUTABLE
    
    * Corrected the Volatility Category of functions age_asin and age_acos from STABLE TO IMMUTABLE
    
    Co-authored-by: RC-adaptive <[email protected]>
    2 people authored and jrgemignani committed Feb 9, 2023
    Configuration menu
    Copy the full SHA
    0c4a50e View commit details
    Browse the repository at this point in the history
  18. Changed age_head, age_last and age_properties to IMMUTABLE (apache#406)

    Co-authored-by: Matheus Matsumoto <[email protected]>
    2 people authored and jrgemignani committed Feb 9, 2023
    Configuration menu
    Copy the full SHA
    cbd84c3 View commit details
    Browse the repository at this point in the history
  19. Changed age_id, age_start_id and age_end_id function signatures to IM…

    …MUTABLE (apache#405)
    
    * Changed some function signatures to IMMUTABLE
    
    Changed age_id(agtype), age_start_id(agtype) and age_end_id(agtype) from STABLE to IMMUTABLE.
    
    * Revert "Changed some function signatures to IMMUTABLE"
    
    This reverts commit 92ac40d.
    
    * Changed age_id signature to IMMUTABLE
    
    * Function signature was changed from STABLE to IMMUTABLE;
    * Function receives a vertex or edge container (or null), and analyze its contents to return the "id" stored in said container;
    * As it acts only on its arguments, it will always return the same result, given the same arguments, even across multiple SQL statements, being classified as IMMUTABLE function.
    
    * Changed age_start_id signature to IMMUTABLE
    
    * Function signature was changed from STABLE to IMMUTABLE;
    * Function receives an edge container (or null), and analyze its contents to return the "start_id" stored in said container;
    * As it acts only on its arguments, it will always return the same result, given the same arguments, even across multiple SQL statements, being classified as IMMUTABLE function.
    
    * Changed age_end_id signature to IMMUTABLE
    
    * Function signature was changed from STABLE to IMMUTABLE;
    * Function receives an edge container (or null), and analyze its contents to return the "end_id" stored in said container;
    * As it acts only on its arguments, it will always return the same result, given the same arguments, even across multiple SQL statements, being classified as IMMUTABLE function.
    markgomer authored and jrgemignani committed Feb 9, 2023
    Configuration menu
    Copy the full SHA
    ab44d0c View commit details
    Browse the repository at this point in the history
  20. Changed age_sqrt & age_floor volatility to IMMUTABLE (apache#411)

    * Changed volatility categories of functions from STABLE to IMMUTABLE
    * As their result depends upon their input arguments only
    * Both are guaranteed to return the same result given the same arguments forever
    * They fulfill the requirements to be IMMUTABLE functions
    imranzaheer612 authored and jrgemignani committed Feb 9, 2023
    Configuration menu
    Copy the full SHA
    ab370c6 View commit details
    Browse the repository at this point in the history
  21. Configuration menu
    Copy the full SHA
    9881837 View commit details
    Browse the repository at this point in the history
  22. Configuration menu
    Copy the full SHA
    436e2be View commit details
    Browse the repository at this point in the history
  23. Configuration menu
    Copy the full SHA
    bf2fd10 View commit details
    Browse the repository at this point in the history
  24. Changed volatility category of age_rtrim,age_ltrim,age_trim (apache#410)

    * changing function definations of age_rtrim,ltrim,trim from stable to
    immutable
    
    * Changed volatility category of functions age_ltrim, age_rtrim, age_trim
    from STABLE to IMMUTABLE
    
    Reasons:
    - These functions will not scan/lookup database
    - They simply take the input (String), applies operation on it and returns the result
    - They cannot modify database
    - They are guaranteed to return the same results given the same arguments forever
    fatimafatimaprogrammer authored and jrgemignani committed Feb 9, 2023
    Configuration menu
    Copy the full SHA
    c7ef62e View commit details
    Browse the repository at this point in the history
  25. Configuration menu
    Copy the full SHA
    53190af View commit details
    Browse the repository at this point in the history
  26. Fix function signature (age_length, age_toboolean, age_tofloat) from …

    …stable to immutable (apache#416)
    
    * Fix comment
    - IS_A_AGTYPE_SCALAR() checks that type is between AGTV_NULL and AGTV_ARRAY instead of AGTV_BOOL.
    
    * Fix function signatures
    
    - The functions age_length takes a set(path) of nodes(vertices and edges) as
      an argument and computes the length of path.This function does not
      modify database and is guaranteed to return same result given the same
      arguments forever.
    - The function age_toboolean just converts bool values in other data types
      passed as an argument to agtype. This function is also guaranteed to return
      same result given the same arguments forever.
    - The function age_tofloat also just converts float value in other data types
      passed as an argument to agtype. This function is also guaranteed to return
      same result given the same arguments forever.
    
    All these functions only performs operations on the arguments provided. These
    functions don't depend on table data at all.
    MuhammadTahaNaveed authored and jrgemignani committed Feb 9, 2023
    Configuration menu
    Copy the full SHA
    f4d61c9 View commit details
    Browse the repository at this point in the history
  27. Configuration menu
    Copy the full SHA
    835e439 View commit details
    Browse the repository at this point in the history
  28. Configuration menu
    Copy the full SHA
    59dfcbd View commit details
    Browse the repository at this point in the history
  29. Configuration menu
    Copy the full SHA
    e04ba68 View commit details
    Browse the repository at this point in the history
  30. Configuration menu
    Copy the full SHA
    a1729e0 View commit details
    Browse the repository at this point in the history
  31. Configuration menu
    Copy the full SHA
    d3d8135 View commit details
    Browse the repository at this point in the history
  32. Update age_log10, age_e, age_exp VOLATILITY Classes (apache#427)

    -age_log10, age_e,age_exp function VOLATILITY changed from STABLE to IMMUTABLE
    -No database lookup or external configuration required for these functions
    -IMMUTABLE class allows the optimizer to build an index for faster processing
    moeed-k authored and jrgemignani committed Feb 9, 2023
    Configuration menu
    Copy the full SHA
    7d44cbf View commit details
    Browse the repository at this point in the history
  33. Configuration menu
    Copy the full SHA
    d990835 View commit details
    Browse the repository at this point in the history
  34. Configuration menu
    Copy the full SHA
    acecd5b View commit details
    Browse the repository at this point in the history
  35. Configuration menu
    Copy the full SHA
    4b5df4f View commit details
    Browse the repository at this point in the history
  36. Fix bug apache#339 - entities in WHERE clause have wrong Expr (apache…

    …#391)
    
    Whenever a node or an edge within a WHERE clause uses a Var type
    expr retrieved from a different cypher parsestate, the Var->varlevelsup
    is adjusted.
    rafsun42 authored and jrgemignani committed Feb 9, 2023
    Configuration menu
    Copy the full SHA
    f4be1ba View commit details
    Browse the repository at this point in the history

Commits on Feb 10, 2023

  1. create complete graph function (apache#342) (apache#662)

    * create complete graph function
    
    * fix get_label_name
    
    * add regression tests
    
    Changes related to PG12
    
    * heap_open -> table_open
    * heap_close -> table_close
    * change oid to uint32 wherever required
    * change function return type to void from Oid wherever required
    
    Co-authored-by: Utkarsh Kansal <[email protected]>
    MuhammadTahaNaveed and susano0 committed Feb 10, 2023
    Configuration menu
    Copy the full SHA
    d0738b0 View commit details
    Browse the repository at this point in the history
  2. Issue 317: Graph naming convention (apache#349)

    * add name validation for graphs and labels
    
    * update test script to use valid graph name
    Conflicts:
    	regress/expected/catalog.out
    	regress/sql/catalog.sql
    
    Co-authored-by: John Gemignani <[email protected]>
    rafsun42 and jrgemignani committed Feb 10, 2023
    Configuration menu
    Copy the full SHA
    f77e9f0 View commit details
    Browse the repository at this point in the history
  3. Fixed typos at multiple locations (apache#470)

    Conflicts:
    	README.md
    	drivers/python/age/exceptions.py
    	src/backend/executor/cypher_merge.c
    
    Co-authored-by: John Gemignani <[email protected]>
    uhayat and jrgemignani committed Feb 10, 2023
    Configuration menu
    Copy the full SHA
    bdb7f17 View commit details
    Browse the repository at this point in the history
  4. Update SET clause to support assigning a map to a variable (apache#468)

    For example, 'SET v = {..}' will remove all properties of
    v and set the provided map as its properties.
    rafsun42 authored and jrgemignani committed Feb 10, 2023
    Configuration menu
    Copy the full SHA
    4656620 View commit details
    Browse the repository at this point in the history

Commits on Feb 13, 2023

  1. Patch to address PR 203 that appears to be inactive. (apache#671)

    This patch is credited to deem0n (Dmitriy Dorofeev). Many thanks!
    
    Added the ag_graph and ag_label tables to the pg_dump output.
    
    Co-authored-by: John Gemignani <[email protected]>
    MuhammadTahaNaveed and jrgemignani committed Feb 13, 2023
    Configuration menu
    Copy the full SHA
    bf512f7 View commit details
    Browse the repository at this point in the history

Commits on Feb 14, 2023

  1. Added some comments for create_graph function (apache#582)

    * Added comments for create_graph function
    intrigued-rishi authored and jrgemignani committed Feb 14, 2023
    Configuration menu
    Copy the full SHA
    f73b16f View commit details
    Browse the repository at this point in the history
  2. Optimize age_exists function (apache#586)

    -age_exists, which is the executor for exists(property) function, was making up to 3 redundant memory accesses.
    -exists(property) predicate function only serves to check if a property exists or not.
    -In Cypher, if a property is assigned the value of NULL, this is considered the same as the property not existing at all. Thus the function calls to get the value type is not needed as the check for the null argument itself filters out all NULL inputs. If a property passes this check, it implies existence.
    moeed-k authored and jrgemignani committed Feb 14, 2023
    Configuration menu
    Copy the full SHA
    8956e65 View commit details
    Browse the repository at this point in the history
  3. Implement plus-equal operator in SET clause (apache#638)

    Additional changes:
    Null properties are removed from cypher maps in certain cases.
    A new property `cypher_map.keep_null` is added. It is set while
    transforming CREATE, MATCH and SET clause. Based on its value,
    transform_cypher_map tells executor whether to keep the null
    properties in maps that appear in the mentioned clauses.
    
    Cases of null removal:
      - For CREATE and SET with equal operator, nulls are removed.
    
      - For MATCH, nulls are not removed.
    
      - For SET with plus-equal operator, nulls are kept during
      transformation, but removed after execution.
    
      - For any other cases, nulls are removed by default.
    
    Co-authored by: John Gemignani <[email protected]>
    rafsun42 authored and jrgemignani committed Feb 14, 2023
    Configuration menu
    Copy the full SHA
    8351fda View commit details
    Browse the repository at this point in the history
  4. Implement CI test for python driver (apache#587)

    - This CI workflow will run python driver unit tests and ensure that any
      PR/commit that modifies files under age/drivers/python is passing the tests.
    - Moved docker-compose.yaml file in age/drivers/golang to age/drivers,because
      this is required to instaniate a postgres instance, needed for unit testing.
    - Modified host address of connection params to localhost in 'test_age_py.py'
      to connect to postgres instance running in docker container.
    Conflicts:
    	drivers/python/test_age_py.py
    
    Co-authored-by: John Gemignani <[email protected]>
    MuhammadTahaNaveed and jrgemignani committed Feb 14, 2023
    Configuration menu
    Copy the full SHA
    bc9eb17 View commit details
    Browse the repository at this point in the history
  5. Update readme (apache#649)

    Updated developer mailing list email
    Conflicts:
    	README.md
    
    Co-authored-by: John Gemignani <[email protected]>
    Nandhini1809 and jrgemignani committed Feb 14, 2023
    Configuration menu
    Copy the full SHA
    0652ac1 View commit details
    Browse the repository at this point in the history
  6. Update Readme (apache#650)

    Added user mailing list subscription
    yadav9887 authored and jrgemignani committed Feb 14, 2023
    Configuration menu
    Copy the full SHA
    08dc623 View commit details
    Browse the repository at this point in the history
  7. Add video links (apache#634)

    Added different video tutorials in it which will help in installation of Apache Age on Windows and MacOS.
    waleedahmed0001 authored and jrgemignani committed Feb 14, 2023
    Configuration menu
    Copy the full SHA
    05039fe View commit details
    Browse the repository at this point in the history
  8. Update README.md (apache#651)

    udaiganny67 authored and jrgemignani committed Feb 14, 2023
    Configuration menu
    Copy the full SHA
    b24cd9a View commit details
    Browse the repository at this point in the history
  9. Move from travis CI to github actions for build (apache#673)

    - Updated the existing installcheck.yaml
    - Removed .travis.yaml file
    MuhammadTahaNaveed committed Feb 14, 2023
    Configuration menu
    Copy the full SHA
    2610579 View commit details
    Browse the repository at this point in the history

Commits on Feb 17, 2023

  1. Update python driver CI to run on every PR/commit (apache#686)

    - Removed path directive
    - Changed trigger branch to PG12
    - Changed TEST_USER to postgres as it is required to connect to docker
      instance
    MuhammadTahaNaveed committed Feb 17, 2023
    Configuration menu
    Copy the full SHA
    64ab297 View commit details
    Browse the repository at this point in the history
  2. Update go driver CI to run on every PR/commit (apache#685)

    - Removed path directive
    - Changed trigger branch to PG12
    MuhammadTahaNaveed committed Feb 17, 2023
    Configuration menu
    Copy the full SHA
    e7bd40b View commit details
    Browse the repository at this point in the history

Commits on Feb 23, 2023

  1. Update README.md (apache#705)

    Updated overall readme starting from What is Apache AGE.
    jbiz805 committed Feb 23, 2023
    Configuration menu
    Copy the full SHA
    c042b32 View commit details
    Browse the repository at this point in the history

Commits on Mar 23, 2023

  1. Updated Readme for drivers folder (apache#642)

    * Updated Readme for drivers folder and added important links related to
    Apache-AGE project which were included in other readme files.
    
    * Updated NodeJS driver readme and added important links of Apache-AGE
    project as included in other readme files.
    fatimafatimaprogrammer authored and jrgemignani committed Mar 23, 2023
    Configuration menu
    Copy the full SHA
    888d0fa View commit details
    Browse the repository at this point in the history
  2. Removed async from function definitions (apache#680)

    Found async function without any await expressions in NodeJS Driver. Async keyword is used in Asynchronous programming and for the functions that wait for some responses. These functions dont need to be Asynchronous.
    FahadZaheerfzr authored and jrgemignani committed Mar 23, 2023
    Configuration menu
    Copy the full SHA
    f6fccd8 View commit details
    Browse the repository at this point in the history

Commits on Mar 24, 2023

  1. Barbell graph generation (apache#648)

    * Added function to create a Barbell Graph
    
    * Created auxiliary function to get_next_val_internal;
    * Currently creates a bridge of no vertexes between graphs,
    will be implemented next.
    
    * Added signature to age_create_barbell_graph
    
    * Moved bracket to next line to macth code standards
    
    * Fixed patterns to match code standards
    
    * moved PG_FUNCTION_INFO_V1(age_create_barbell_graph) next to
      age_create_barbell_graph function;
    * added brackets to if/else conditions if just one line;
    * moved get_nextval_internal auxiliary function to the beggining of
      the file.
    
    Conflicts:
    	src/backend/utils/graph_generation.c
    
    Co-authored-by: John Gemignani <[email protected]>
    markgomer and jrgemignani committed Mar 24, 2023
    Configuration menu
    Copy the full SHA
    a9099c9 View commit details
    Browse the repository at this point in the history
  2. UPDATED Python Driver ANTLR 4.9.3 -> 4.11.1 (apache#706)

    Conflicts:
    	drivers/python/setup.py
    
    Co-authored-by: John Gemignani <[email protected]>
    aru-d-at and jrgemignani committed Mar 24, 2023
    Configuration menu
    Copy the full SHA
    30d20c4 View commit details
    Browse the repository at this point in the history
  3. Fix WITH ignoring WHERE clause (apache#646)

    * Fix WITH ignoring WHERE clause
    
    - When transforming WITH clause into return clause, WHERE was getting
      ignored because that case wasn't handled in tranform_cypher_clause_with_where.
    - Had to revert to the previous function header of tranform_cypher_clause_with_where
      which had a explicit parameter of where node, because after tranforming cypher_with
      into cypher_return, the wrapper clause now has cypher_return and the where node of
      cypher_with was lost.
    
    * Fix WITH clause segmentation fault
    
    - When transforming columnrefs in WITH clause, it should only check
      referenced Columns in its parsestate or parent parsestate.
    
    - If only expr_kind is WHERE, try to find the columnRef as a transform_entity
      and extract the expr. This will happen in case of (MATCH/WHERE).
    
    * Add regression tests for cypher_with
    MuhammadTahaNaveed authored and jrgemignani committed Mar 24, 2023
    Configuration menu
    Copy the full SHA
    ceebd75 View commit details
    Browse the repository at this point in the history
  4. Implement isEmpty() predicate function (apache#710)

    - Added isEmpty() predicate function to check if a List, map or string is
      empty.
    
    - Added regression tests for isEmpty() function.
    
    Co-authored-by: John Gemignani <[email protected]>
    MuhammadTahaNaveed and jrgemignani committed Mar 24, 2023
    Configuration menu
    Copy the full SHA
    fb95472 View commit details
    Browse the repository at this point in the history
  5. Barbell regress tests (apache#708)

    * Fixed bug where the system was crashing
    when graph_name was passed as NULL.
    
    * added checks for possible NULL arguments before
    calling create_complete_graph.
    
    * Added regress tests for Barbell graph generation
    
    Conflicts:
    	src/backend/utils/graph_generation.c
    
    Co-authored-by: John Gemignani <[email protected]>
    markgomer and jrgemignani committed Mar 24, 2023
    Configuration menu
    Copy the full SHA
    0631b5a View commit details
    Browse the repository at this point in the history
  6. Fix cypher function input argument checks (issue apache#718)

    Fixed issue apache#718 which was due to a lack of input checks for an
    edge case and added regression tests.
    
    Addition of the driver parameter patch caused 2 additional edge
    cases that needed to be checked -
    
        SELECT * FROM cypher() AS (result agtype);
        SELECT * FROM cypher(NULL) AS (result agtype);
    jrgemignani committed Mar 24, 2023
    Configuration menu
    Copy the full SHA
    eda403d View commit details
    Browse the repository at this point in the history
  7. Fix Issue apache#693 - server termination from return exists(path) (a…

    …pache#721)
    
    - Updated assert to pass EXPR_KIND_SELECT_TARGET.
    - Added regression tests.
    MuhammadTahaNaveed authored and jrgemignani committed Mar 24, 2023
    Configuration menu
    Copy the full SHA
    0f9c895 View commit details
    Browse the repository at this point in the history
  8. Update regression tests for cypher_with (apache#725)

    - Used a small dataset for regression tests.
    MuhammadTahaNaveed authored and jrgemignani committed Mar 24, 2023
    Configuration menu
    Copy the full SHA
    1123878 View commit details
    Browse the repository at this point in the history
  9. Fix issue apache#733 - create_complete_graph() terminates the server (a…

    …pache#734)
    
    - A vertex and  an edge cannot have the same label within the same
      graph, so added a check for that.
    
    - insert_simple_vertex() and insert_simple_edge() functions were not
      checking for the kind of label. Since a vertex cannot be
      inserted into a label relation of edge and vice versa, this was
      causing the server termination. Added a check for that.
    
    - Added regression tests.
    
    Conflicts:
    	src/backend/utils/graph_generation.c
    	src/include/catalog/ag_label.h
    
    Co-authored-by: John Gemignani <[email protected]>
    MuhammadTahaNaveed and jrgemignani committed Mar 24, 2023
    Configuration menu
    Copy the full SHA
    9fefd36 View commit details
    Browse the repository at this point in the history
  10. Prevent MATCH from following OPTIONAL MATCH (apache#740)

    Added logic to prevent match from following optional match. This
    syntax is considered invalid, add logic to throw an error when
    this happens.
    
    Also added regression tests to test this logic.
    dehowef authored and jrgemignani committed Mar 24, 2023
    Configuration menu
    Copy the full SHA
    8102847 View commit details
    Browse the repository at this point in the history
  11. Fix property constraints against resolved variables in concurrent MAT…

    …CH clauses(apache#701) (apache#747)
    
    Fixed an issue where an already resolved variable, when used for
    a property constraint in a second MATCH clause, errored out.
    See apache#701 and apache#724  for more details. This is part of a series of
    PRs done to refactor MATCH clause behavior.
    
    This also fixed a regression test that was erroring out, but was
    overlooked.
    
    Adjusted and added additional regression tests.
    
    Co-authored-by: Dehowe Feng <[email protected]>
    jrgemignani and dehowef committed Mar 24, 2023
    Configuration menu
    Copy the full SHA
    87a7d10 View commit details
    Browse the repository at this point in the history
  12. Fix property constraints against resolved variables (apache#724) (apa…

    …che#751)
    
    Fixed an issue where an already resolved variable, when used for
    a property constraint, errored out. See apache#724 for more details.
    
    This is the second part of the fix for the match property constraint
    bug regarding variable reuse. The prior fix addressed clause-to-clause,
    this fix addresses within a clause.
    
    Adjusted and added additional regression tests.
    
    Co-authored-by: Dehowe Feng <[email protected]>
    jrgemignani and dehowef committed Mar 24, 2023
    Configuration menu
    Copy the full SHA
    e7e8c98 View commit details
    Browse the repository at this point in the history
  13. Include invalid labels in reused variables. (apache#751) (apache#762)

    Fixed a segmentation fault edge case regarding invalid labels
    being used in a repeated variable.
    dehowef authored and jrgemignani committed Mar 24, 2023
    Configuration menu
    Copy the full SHA
    15ea678 View commit details
    Browse the repository at this point in the history

Commits on Mar 28, 2023

  1. Fix update_entity_tuple to use correct CommandId (apache#769)

    - Replaced estate->es_output_cid with getCurrentCommandId(true) in
      update_entity_tuple to use the correct CommandId for error checks.
    
    - Added regression tests.
    MuhammadTahaNaveed committed Mar 28, 2023
    Configuration menu
    Copy the full SHA
    bcc6c37 View commit details
    Browse the repository at this point in the history
  2. Remove check for scalar agtypes in unwind (apache#736)

    - Added regression tests for unwind.
    MuhammadTahaNaveed authored and jrgemignani committed Mar 28, 2023
    Configuration menu
    Copy the full SHA
    4cf7a9e View commit details
    Browse the repository at this point in the history
  3. [PG12] Update CI workflows (apache#776)

    * Implement CI test for jdbc driver
    
    - Modify jdbc driver to pull correct AGE image from docker hub.
    - Also added logger to display the result of tests i.e. passing,
      failing etc.
    
    * Implement CI test for nodejs driver
    
    - Modified connection params to connect with running docker instance.
    - Fixed failing tests by modifying the expected outcomes.
    - Include asf header as key/value to avoid EJSONPARSE error.
      "//" key will never be used by npm for any purpose,
      and is reserved for comments.
    
    * Update docker-compose to pull age image from corresponding pg version tag
    MuhammadTahaNaveed committed Mar 28, 2023
    Configuration menu
    Copy the full SHA
    53a5654 View commit details
    Browse the repository at this point in the history

Commits on Mar 30, 2023

  1. Update readme and version for python driver (apache#780)

    - Removed external links from readme.
    - Updated version to 1.0.0
    MuhammadTahaNaveed authored and jrgemignani committed Mar 30, 2023
    Configuration menu
    Copy the full SHA
    fc0d729 View commit details
    Browse the repository at this point in the history

Commits on Apr 5, 2023

  1. Update files for PG12 AGE release to 1.3.0

        modified:   Makefile
        modified:   README.md
        modified:   RELEASE
        renamed:    age--1.1.1.sql -> age--1.3.0.sql
        modified:   age.control
    jrgemignani committed Apr 5, 2023
    Configuration menu
    Copy the full SHA
    49d0a79 View commit details
    Browse the repository at this point in the history
  2. Correct RELEASE notes

    Corrected an entry in the RELEASE notes for release.
    jrgemignani committed Apr 5, 2023
    Configuration menu
    Copy the full SHA
    01486ef View commit details
    Browse the repository at this point in the history

Commits on Apr 21, 2023

  1. Correct RELEASE notes

    Corrected the RELEASE notes. One entry was pointing to an incorrect
    pull request.
    jrgemignani committed Apr 21, 2023
    Configuration menu
    Copy the full SHA
    61e73f7 View commit details
    Browse the repository at this point in the history

Commits on Jul 3, 2023

  1. Merge branch 'PG12' into master_PG12 (local)

    Conflicts:
    	.github/workflows/go-driver.yml
    	.github/workflows/jdbc-driver.yaml
    	.github/workflows/nodejs-driver.yaml
    	.github/workflows/python-driver.yaml
    	.gitignore
    	CONTRIBUTING.md
    	Dockerfile
    	NOTICE
    	README.md
    	RELEASE
    	age--1.3.0.sql
    	drivers/README
    	drivers/docker-compose.yml
    	drivers/golang/README.md
    	drivers/golang/age/builder.go
    	drivers/golang/age/mapper.go
    	drivers/golang/go.mod
    	drivers/golang/go.sum
    	drivers/golang/parser/README.md
    	drivers/jdbc/README.md
    	drivers/jdbc/lib/build.gradle.kts
    	drivers/jdbc/lib/src/test/java/org/apache/age/jdbc/BaseDockerizedTest.java
    	drivers/nodejs/README.md
    	drivers/python/README.md
    	drivers/python/age/age.py
    	drivers/python/age/exceptions.py
    	drivers/python/setup.py
    	drivers/python/test_age_py.py
    	regress/expected/age_global_graph.out
    	regress/expected/catalog.out
    	regress/expected/cypher_call.out
    	regress/expected/cypher_match.out
    	regress/expected/cypher_merge.out
    	regress/expected/cypher_set.out
    	regress/sql/age_global_graph.sql
    	regress/sql/cypher_call.sql
    	regress/sql/cypher_match.sql
    	regress/sql/cypher_set.sql
    	src/backend/catalog/ag_label.c
    	src/backend/commands/label_commands.c
    	src/backend/executor/cypher_create.c
    	src/backend/executor/cypher_merge.c
    	src/backend/executor/cypher_set.c
    	src/backend/parser/cypher_analyze.c
    	src/backend/parser/cypher_clause.c
    	src/backend/parser/cypher_gram.y
    	src/backend/utils/adt/agtype.c
    	src/backend/utils/cache/ag_cache.c
    	src/backend/utils/graph_generation.c
    	src/backend/utils/load/age_load.c
    	src/include/catalog/ag_label.h
    	src/include/commands/label_commands.h
    jrgemignani committed Jul 3, 2023
    Configuration menu
    Copy the full SHA
    cdbd533 View commit details
    Browse the repository at this point in the history

Commits on Jul 5, 2023

  1. Post merge corrections and modifications

    On branch master_PG12 modified the following files -
    
        modified:   src/backend/executor/cypher_set.c
        modified:   src/backend/parser/cypher_clause.c
        modified:   src/backend/utils/adt/agtype.c
        modified:   src/backend/utils/adt/graphid.c
        modified:   age--1.3.0.sql
        modified:   regress/expected/catalog.out
        modified:   regress/sql/catalog.sql
    jrgemignani committed Jul 5, 2023
    Configuration menu
    Copy the full SHA
    73372da View commit details
    Browse the repository at this point in the history