Skip to content

HIVE-28312: Save query error message on Driver level#5289

Merged
abstractdog merged 1 commit intoapache:masterfrom
abstractdog:HIVE-28312
Jun 10, 2024
Merged

HIVE-28312: Save query error message on Driver level#5289
abstractdog merged 1 commit intoapache:masterfrom
abstractdog:HIVE-28312

Conversation

@abstractdog
Copy link
Contributor

@abstractdog abstractdog commented Jun 7, 2024

What changes were proposed in this pull request?

Store the query error message in a variable in DriverContext.

Why are the changes needed?

Because a simple failure reason message should be available for later analysis or query-tracking purposes.

Does this PR introduce any user-facing change?

No.

Is the change a dependency upgrade?

No.

How was this patch tested?

New unit test class with related methods is included: TestDriver.

@sonarqubecloud
Copy link

sonarqubecloud bot commented Jun 8, 2024

Quality Gate Passed Quality Gate passed

Issues
1 New issue
0 Accepted issues

Measures
0 Security Hotspots
No data about Coverage
No data about Duplication

See analysis details on SonarCloud

Copy link
Member

@simhadri-g simhadri-g left a comment

Choose a reason for hiding this comment

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

LGTM +1

@abstractdog abstractdog merged commit f0de203 into apache:master Jun 10, 2024
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Projects

None yet

Development

Successfully merging this pull request may close these issues.

3 participants