Skip to content

Conversation

@Praveen2112
Copy link
Member

Description

Follow-up PR for additional comments as a part of #25704

Additional context and related issues

Release notes

(x) This is not user-visible or is docs only, and no release notes are required.
( ) Release notes are required. Please propose a release note for me.
( ) Release notes are required, with the following suggested text:

## Section
* Fix some things. ({issue}`issuenumber`)

@cla-bot cla-bot bot added the cla-signed label Sep 2, 2025
@Praveen2112 Praveen2112 changed the title Praveen/open lineage pr/fix Minor cleanups in OpenLineage plugin Sep 2, 2025
Copy link
Member

@ebyhr ebyhr left a comment

Choose a reason for hiding this comment

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

We could run "Reformat Code" for the entire trino-openlineage module. There are additional places we can fix.

@Praveen2112 Praveen2112 force-pushed the praveen/open_lineage_pr/fix branch from 358057e to c8fa943 Compare September 2, 2025 06:25
@Praveen2112
Copy link
Member Author

@ebyhr Thanks for pointers - Have updated them as well.

.getFacets()
.getAdditionalProperties()
.get("trino_metadata")
.getAdditionalProperties();
Copy link
Member

Choose a reason for hiding this comment

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

I prefer the following style reducing nested indentations, but feel free to ignore this comment:

        Map<String, Object> trinoQueryContext = result
                .getRun()
                .getFacets()
                .getAdditionalProperties()
                .get("trino_query_context")
                .getAdditionalProperties();

Copy link
Member Author

Choose a reason for hiding this comment

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

Applied them

@Praveen2112 Praveen2112 force-pushed the praveen/open_lineage_pr/fix branch from c8fa943 to 1dda7c0 Compare September 2, 2025 09:28
@Praveen2112 Praveen2112 merged commit f852f61 into trinodb:master Sep 2, 2025
16 checks passed
@github-actions github-actions bot added this to the 477 milestone Sep 2, 2025
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Development

Successfully merging this pull request may close these issues.

5 participants