Skip to content

feat(optimizer)!: annotate type for SHA and SHA2#5346

Merged
geooo109 merged 1 commit intomainfrom
geooo109/sha1_256_512_annotate_type
Jul 3, 2025
Merged

feat(optimizer)!: annotate type for SHA and SHA2#5346
geooo109 merged 1 commit intomainfrom
geooo109/sha1_256_512_annotate_type

Conversation

@geooo109
Copy link
Collaborator

@geooo109 geooo109 commented Jul 3, 2025

This PR adds support for the type annotation of SHA and SHA2.
These expressions are used also from BigQuery with a rename_func in order to generate the corresponding SHA1, SHA256, SHA512.

DOCS
BigQuery SHA functions

@geooo109 geooo109 requested a review from georgesittas July 3, 2025 15:09
@geooo109 geooo109 merged commit 0337c4d into main Jul 3, 2025
7 checks passed
@geooo109 geooo109 deleted the geooo109/sha1_256_512_annotate_type branch July 3, 2025 15:15
readjfb pushed a commit to readjfb/sqlglot that referenced this pull request Jul 3, 2025
georgesittas pushed a commit that referenced this pull request Jul 5, 2025
* feat(teradata): parse column format syntax

Support Teradata FORMAT column syntax

Add Teradata format tests

Add comments and docs for Teradata FORMAT column

Modified Comments

* style and linter modifications

* feat(optimizer)!: annotate type for SHA and SHA2 (#5346)

* chore(optimizer)!: annotate type SHA1, SHA256, SHA512 for BigQuery (#5347)

* additional linter cleanup

---------

Co-authored-by: Giorgos Michas <geomichas96@gmail.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