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

Add trino v360 support #1

Open
wants to merge 65 commits into
base: ranger-2.1
Choose a base branch
from
Open

Add trino v360 support #1

wants to merge 65 commits into from

Commits on Mar 20, 2021

  1. RANGER-3182: Rename Presto to Trino

    Trino uses Jdk11. To build the plugin on JDK11 .This commit includes
    patch from RANGER-2317 and apache#71
    aakashnand authored and root committed Mar 20, 2021
    Configuration menu
    Copy the full SHA
    a916d0c View commit details
    Browse the repository at this point in the history

Commits on Sep 1, 2021

  1. Fix compile

    utk-spartan committed Sep 1, 2021
    Configuration menu
    Copy the full SHA
    69b5942 View commit details
    Browse the repository at this point in the history
  2. [trino] - Add missing func

    nisheet195 authored and utk-spartan committed Sep 1, 2021
    Configuration menu
    Copy the full SHA
    2e70e1c View commit details
    Browse the repository at this point in the history
  3. Revert "[trino] - Add missing func"

    This reverts commit 14385fa.
    utk-spartan committed Sep 1, 2021
    Configuration menu
    Copy the full SHA
    542b63d View commit details
    Browse the repository at this point in the history
  4. Configuration menu
    Copy the full SHA
    6be5a5e View commit details
    Browse the repository at this point in the history
  5. [trino] Trino sdk v357

    utk-spartan committed Sep 1, 2021
    Configuration menu
    Copy the full SHA
    493c020 View commit details
    Browse the repository at this point in the history
  6. Configuration menu
    Copy the full SHA
    dbb3e0c View commit details
    Browse the repository at this point in the history
  7. [trino] Trino sdk v359

    utk-spartan committed Sep 1, 2021
    Configuration menu
    Copy the full SHA
    cb59a39 View commit details
    Browse the repository at this point in the history
  8. Configuration menu
    Copy the full SHA
    46f1e78 View commit details
    Browse the repository at this point in the history
  9. [trino] Trino sdk v360

    utk-spartan committed Sep 1, 2021
    Configuration menu
    Copy the full SHA
    0e1c236 View commit details
    Browse the repository at this point in the history

Commits on Sep 2, 2021

  1. Configuration menu
    Copy the full SHA
    b8c51f9 View commit details
    Browse the repository at this point in the history

Commits on Sep 22, 2021

  1. Configuration menu
    Copy the full SHA
    546ccb2 View commit details
    Browse the repository at this point in the history
  2. RANGER-3204: Upgrade log4j-core to 2.13.3

    Signed-off-by: Mehul Parikh <[email protected]>
    maheshbandal15 authored and utk-spartan committed Sep 22, 2021
    Configuration menu
    Copy the full SHA
    1e42737 View commit details
    Browse the repository at this point in the history
  3. Upgrade slf4j

    utk-spartan committed Sep 22, 2021
    Configuration menu
    Copy the full SHA
    3aadd46 View commit details
    Browse the repository at this point in the history
  4. Get decrypted password in trino init connection

    In TrinoClient the initConnection needs to decrypt the password which is
    retrieved from ranger admin UI and pass it to trino properties before
    initializing the connection. This will fix the autosuggestion bug in
    trino plugin for ranger
    aakashnand authored and utk-spartan committed Sep 22, 2021
    Configuration menu
    Copy the full SHA
    0e5b2f0 View commit details
    Browse the repository at this point in the history

Commits on Sep 24, 2021

  1. Add log4j.properties to classpath

    From trino version 359 onwards, log4j and jackson-core jar file is necessary to be
    present in classpath of ranger-trino plugin. Along with these changes
    log4j.properties file is also necessary to be present in classpath for
    the class RangerConfiguration.
    aakashnand authored and utk-spartan committed Sep 24, 2021
    Configuration menu
    Copy the full SHA
    a19f0c1 View commit details
    Browse the repository at this point in the history

Commits on Oct 7, 2021

  1. Configuration menu
    Copy the full SHA
    6981b40 View commit details
    Browse the repository at this point in the history

Commits on Nov 3, 2021

  1. Configuration menu
    Copy the full SHA
    eaf3770 View commit details
    Browse the repository at this point in the history

Commits on Dec 6, 2021

  1. Configuration menu
    Copy the full SHA
    f5592f7 View commit details
    Browse the repository at this point in the history

Commits on Dec 13, 2021

  1. Upgrade log4j-core version to 2.15.0

    As part of log4j zeroday RCE vulnerability fix
    utk-spartan committed Dec 13, 2021
    Configuration menu
    Copy the full SHA
    6463919 View commit details
    Browse the repository at this point in the history

Commits on Dec 15, 2021

  1. Configuration menu
    Copy the full SHA
    8255941 View commit details
    Browse the repository at this point in the history

Commits on Dec 23, 2021

  1. Configuration menu
    Copy the full SHA
    4203f06 View commit details
    Browse the repository at this point in the history
  2. Configuration menu
    Copy the full SHA
    a1b2db5 View commit details
    Browse the repository at this point in the history

Commits on Dec 29, 2021

  1. Update README

    utk-spartan committed Dec 29, 2021
    Configuration menu
    Copy the full SHA
    721d4bd View commit details
    Browse the repository at this point in the history
  2. Configuration menu
    Copy the full SHA
    bad339a View commit details
    Browse the repository at this point in the history

Commits on Jan 5, 2022

  1. Configuration menu
    Copy the full SHA
    c77746f View commit details
    Browse the repository at this point in the history
  2. Configuration menu
    Copy the full SHA
    9328fb9 View commit details
    Browse the repository at this point in the history

Commits on Jan 9, 2022

  1. [trino] Add more implementations

    deprecated checkCanCreateTable is still being called
    for CREATE TABLE statements without any properties specified
    utk-spartan committed Jan 9, 2022
    Configuration menu
    Copy the full SHA
    b1e1423 View commit details
    Browse the repository at this point in the history

Commits on Jan 12, 2022

  1. Configuration menu
    Copy the full SHA
    b5cb13a View commit details
    Browse the repository at this point in the history

Commits on Jan 25, 2022

  1. Configuration menu
    Copy the full SHA
    f61117b View commit details
    Browse the repository at this point in the history

Commits on Jan 27, 2022

  1. [hive] Enable hive plugin

    utk-spartan committed Jan 27, 2022
    Configuration menu
    Copy the full SHA
    ba0bce3 View commit details
    Browse the repository at this point in the history

Commits on Feb 17, 2022

  1. Configuration menu
    Copy the full SHA
    b9a6a74 View commit details
    Browse the repository at this point in the history

Commits on Apr 3, 2022

  1. Configuration menu
    Copy the full SHA
    54c79d7 View commit details
    Browse the repository at this point in the history

Commits on May 21, 2022

  1. [trino] Update Spi version to 376

    Incorporate following changes
    
    Allow returning multiple filters and masks in SystemAccessControl
    trinodb/trino@ae66a8b
    utk-spartan committed May 21, 2022
    Configuration menu
    Copy the full SHA
    e1836fe View commit details
    Browse the repository at this point in the history
  2. [trino] Update SPI to v380

    Incorporated following changes to spi
    
    Add access control for functions based on full qualified name
    trinodb/trino@3553eab
    utk-spartan committed May 21, 2022
    Configuration menu
    Copy the full SHA
    f3c6183 View commit details
    Browse the repository at this point in the history
  3. Configuration menu
    Copy the full SHA
    694bc56 View commit details
    Browse the repository at this point in the history

Commits on May 30, 2022

  1. Configuration menu
    Copy the full SHA
    fedeb9a View commit details
    Browse the repository at this point in the history

Commits on Jun 2, 2022

  1. [trino] Update spi to v383

    Incorporate following changes
    
    Introduce access control for functions based on FunctionKind
    trinodb/trino#12544
    trinodb/trino@12dda62
    utk-spartan committed Jun 2, 2022
    Configuration menu
    Copy the full SHA
    384dfba View commit details
    Browse the repository at this point in the history

Commits on Jun 6, 2022

  1. Configuration menu
    Copy the full SHA
    c9bda24 View commit details
    Browse the repository at this point in the history

Commits on Jun 16, 2022

  1. Configuration menu
    Copy the full SHA
    b9b5cfc View commit details
    Browse the repository at this point in the history

Commits on Jul 19, 2022

  1. Add semgrep workflow

    utk-spartan committed Jul 19, 2022
    Configuration menu
    Copy the full SHA
    3bbab7e View commit details
    Browse the repository at this point in the history
  2. [trino] Update spi to v388

    Incorporate following changes
    
    Remove obsolete row filter and column mask methods
    trinodb/trino#12998
    trinodb/trino@ac8d2d4
    utk-spartan committed Jul 19, 2022
    Configuration menu
    Copy the full SHA
    db18655 View commit details
    Browse the repository at this point in the history
  3. [trino] Update spi to v390

    Incorporate following changes
    
    Add support for COMMENT ON VIEW statement
    trinodb/trino#11359
    trinodb/trino@241e0be
    utk-spartan committed Jul 19, 2022
    Configuration menu
    Copy the full SHA
    f901296 View commit details
    Browse the repository at this point in the history

Commits on Mar 8, 2023

  1. [trino] Update spi to v396

    Incorporate following changes
    
    Add access control for views with table functions
    trinodb/trino#13944
    trinodb/trino@7426d9c
    utk-spartan committed Mar 8, 2023
    Configuration menu
    Copy the full SHA
    f0914ec View commit details
    Browse the repository at this point in the history
  2. [trino] Update spi to v405

    Incorporate following changes
    
    Pass properties when checking access for CREATE SCHEMA
    trinodb/trino#15153
    trinodb/trino@e16620f
    
    Support ALTER COLUMN SET DATA TYPE statement
    trinodb/trino#11608
    trinodb/trino@ef94c0d
    utk-spartan committed Mar 8, 2023
    Configuration menu
    Copy the full SHA
    5edbcd0 View commit details
    Browse the repository at this point in the history
  3. [trino] Update spi to v406

    Incorporate following changes
    
    Remove deprecated checkCanCreateSchema
    trinodb/trino#15618
    trinodb/trino@0fac087
    
    Disallow multiple masks on a given column
    trinodb/trino#15680
    trinodb/trino@bdd1cb5
    utk-spartan committed Mar 8, 2023
    Configuration menu
    Copy the full SHA
    b2adefd View commit details
    Browse the repository at this point in the history
  4. [trino] Update spi to v408

    Incorporate following changes
    
    Add security checks for CREATE/DROP catalog
    trinodb/trino#13931
    trinodb/trino@86ffb3e
    utk-spartan committed Mar 8, 2023
    Configuration menu
    Copy the full SHA
    cd6b5ad View commit details
    Browse the repository at this point in the history

Commits on Mar 31, 2023

  1. Configuration menu
    Copy the full SHA
    73ccc63 View commit details
    Browse the repository at this point in the history

Commits on Oct 16, 2023

  1. RANGER-3863: fix to enable build in Apple M1/M2 environment

    Signed-off-by: Madhan Neethiraj <[email protected]>
    ttzztztz authored and utk-spartan committed Oct 16, 2023
    Configuration menu
    Copy the full SHA
    74c78ea View commit details
    Browse the repository at this point in the history
  2. [trino] Update spi to v425

    Signed-off-by: Utkarsh Saxena <[email protected]>
    utk-spartan committed Oct 16, 2023
    Configuration menu
    Copy the full SHA
    2a9be4e View commit details
    Browse the repository at this point in the history
  3. [trino] Update spi to v426

    Incorporates following changes
    
    trinodb/trino#18911
    
    Remove deprecated filterViewQueryOwnedBy overload
    trinodb/trino@dc00946
    
    Remove deprecated getColumnMasks variant
    trinodb/trino@221a595
    
    Signed-off-by: Utkarsh Saxena <[email protected]>
    utk-spartan committed Oct 16, 2023
    Configuration menu
    Copy the full SHA
    daca83e View commit details
    Browse the repository at this point in the history
  4. [trino] Update spi to v427

    Incorporates following changes:
    
    Add query start to SystemSecurityContext
    trinodb/trino#19141
    trinodb/trino@925f7e4
    
    Distinguish SystemAccessControl methods not exposing query id
    trinodb/trino#18973
    trinodb/trino@1f46063
    
    Signed-off-by: Utkarsh Saxena <[email protected]>
    utk-spartan committed Oct 16, 2023
    Configuration menu
    Copy the full SHA
    e1c2ae4 View commit details
    Browse the repository at this point in the history

Commits on Oct 18, 2023

  1. [trino] Add debug log to checkCanExecuteQuery

    Signed-off-by: Utkarsh Saxena <[email protected]>
    utk-spartan committed Oct 18, 2023
    Configuration menu
    Copy the full SHA
    90c86fa View commit details
    Browse the repository at this point in the history
  2. [trino] Fix logging in Trino plugin

    Ranger plugin access control class is injected via classloader, its
    logger needs to go through trino's logger.
    
    More details:
    
    facebookarchive/swift#287 (comment)
    
    Signed-off-by: Utkarsh Saxena <[email protected]>
    utk-spartan committed Oct 18, 2023
    Configuration menu
    Copy the full SHA
    b86d1f2 View commit details
    Browse the repository at this point in the history

Commits on Mar 21, 2024

  1. [trino] Update spi to v429

    Incorporates following changes:
    
    Redesign function access control methods
    trinodb/trino@051e53c
    
    Remove function kind from function security checks
    trinodb/trino@77e7ac5
    
    Add security for function listing
    trinodb/trino@f6a6c01
    
    Remove unused checkCanGrantExecuteFunctionPrivilege method
    trinodb/trino@7a9abbd
    
    Convert ViewExpression constructor to a builder
    trinodb/trino@0b5e8b3
    
    Signed-off-by: Utkarsh Saxena <[email protected]>
    utk-spartan committed Mar 21, 2024
    Configuration menu
    Copy the full SHA
    dd03a8e View commit details
    Browse the repository at this point in the history
  2. [trino] Update spi to v431

    Following not implemented:
    
    Add CREATE FUNCTION and DROP FUNCTION
    trinodb/trino@b892a70
    
    Signed-off-by: Utkarsh Saxena <[email protected]>
    utk-spartan committed Mar 21, 2024
    Configuration menu
    Copy the full SHA
    1837553 View commit details
    Browse the repository at this point in the history
  3. [trino] Update spi to v435

    Signed-off-by: Utkarsh Saxena <[email protected]>
    utk-spartan committed Mar 21, 2024
    Configuration menu
    Copy the full SHA
    fdb9d28 View commit details
    Browse the repository at this point in the history
  4. [trino] Update Spi to v438

    Signed-off-by: Utkarsh Saxena <[email protected]>
    utk-spartan committed Mar 21, 2024
    Configuration menu
    Copy the full SHA
    9b3cec3 View commit details
    Browse the repository at this point in the history

Commits on Mar 22, 2024

  1. [trino] Update spi to v439

    Incorporates following changes:
    
    Add syntax and APIs generalizing privilege grants
    trinodb/trino@b5988bf
    
    Signed-off-by: Utkarsh Saxena <[email protected]>
    utk-spartan committed Mar 22, 2024
    Configuration menu
    Copy the full SHA
    1580049 View commit details
    Browse the repository at this point in the history
  2. [trino] Update spi to v442

    Not implemented following changes as they are not relevant:
    
    Fix memory leak when loading SystemAccessControl in tests
    trinodb/trino@995763b
    
    Signed-off-by: Utkarsh Saxena <[email protected]>
    utk-spartan committed Mar 22, 2024
    Configuration menu
    Copy the full SHA
    85be78f View commit details
    Browse the repository at this point in the history

Commits on May 1, 2024

  1. [trino] Update spi to v445

    Incorporates following changes:
    
    Add QueryId to SystemAccessControl#checkCanExecuteQuery
    trinodb/trino@7a2a4e8
    
    Add QueryId to SystemAccessControl#checkCanSetSystemSessionProperty
    trinodb/trino@c2f9cbb
    
    Signed-off-by: Utkarsh Saxena <[email protected]>
    utk-spartan committed May 1, 2024
    Configuration menu
    Copy the full SHA
    3300632 View commit details
    Browse the repository at this point in the history

Commits on May 2, 2024

  1. [trino] Update spi to v446

    Signed-off-by: Utkarsh Saxena <[email protected]>
    utk-spartan committed May 2, 2024
    Configuration menu
    Copy the full SHA
    f184305 View commit details
    Browse the repository at this point in the history

Commits on Sep 4, 2024

  1. [trino] Update spi to v447

    Incorporates following changes:
    
    Add SHOW CREATE FUNCTION
    trinodb/trino@aaff6b5
    
    Signed-off-by: Utkarsh Saxena <[email protected]>
    utk-spartan committed Sep 4, 2024
    Configuration menu
    Copy the full SHA
    221ec1f View commit details
    Browse the repository at this point in the history
  2. [trino] Update spi to v453

    Incorporates following changes:
    
    Add access control SPI function for table column masks
    trinodb/trino@5da64a9
    
    Signed-off-by: Utkarsh Saxena <[email protected]>
    utk-spartan committed Sep 4, 2024
    Configuration menu
    Copy the full SHA
    8bf8dd1 View commit details
    Browse the repository at this point in the history
  3. [trino] Update spi to v455

    Signed-off-by: Utkarsh Saxena <[email protected]>
    utk-spartan committed Sep 4, 2024
    Configuration menu
    Copy the full SHA
    2733a17 View commit details
    Browse the repository at this point in the history