Skip to content

Fix credentials parsing for redshift - #2262

Merged
iffyio merged 1 commit into
apache:mainfrom
romanoff:fix_credentials_parsing_for_redshift
Mar 4, 2026
Merged

Fix credentials parsing for redshift#2262
iffyio merged 1 commit into
apache:mainfrom
romanoff:fix_credentials_parsing_for_redshift

Conversation

@romanoff

@romanoff romanoff commented Mar 4, 2026

Copy link
Copy Markdown

Fix CREDENTIALS keyword parsing for redshift

Sample query:

COPY table1
FROM 's3://my-bucket/my-file.csv'
CREDENTIALS 'aws_access_key_id=AKIAEXAMPLE;aws_secret_access_key=SECRETEXAMPLE'
CSV;

Spec: https://docs.aws.amazon.com/redshift/latest/dg/copy-parameters-authorization.html?utm_source=chatgpt.com

@iffyio iffyio left a comment

Copy link
Copy Markdown
Contributor

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

LGTM! Thanks @romanoff!

@iffyio
iffyio added this pull request to the merge queue Mar 4, 2026
Merged via the queue into apache:main with commit 6691f31 Mar 4, 2026
10 checks passed
sabir-akhadov-localstack added a commit to localstack/datafusion-sqlparser-rs that referenced this pull request Aug 24, 2026
…h argument types (apache#2262)

* Task LAV-1782: GRANT/REVOKE/SHOW GRANTS on FUNCTION/PROCEDURE with argument types

Parse SHOW GRANTS ON FUNCTION|PROCEDURE <name>(<args>) into a dedicated
ShowGrantsOnRoutine AST node that preserves the parenthesised signature,
route it to the grant-relation reader keyed on the overload-qualified
object name, and reject the parenthesis-less form with the verbatim 090208
(bare routine name). Fix the GRANT OWNERSHIP path to keep the signature in
the stored edge, and teach the grants existence check to resolve routines
by (name, argument_types).

Co-Authored-By: Claude Opus 4.8 <noreply@anthropic.com>

* task LAV-1782: fix CI — omit routine signature from missing-object grant error

---------

Co-authored-by: Claude Opus 4.8 <noreply@anthropic.com>
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

2 participants