Skip to content

HIVE-29519: Redundant queryStartTime update#6386

Open
deniskuzZ wants to merge 1 commit intoapache:masterfrom
deniskuzZ:driver_refactor
Open

HIVE-29519: Redundant queryStartTime update#6386
deniskuzZ wants to merge 1 commit intoapache:masterfrom
deniskuzZ:driver_refactor

Conversation

@deniskuzZ
Copy link
Member

@deniskuzZ deniskuzZ commented Mar 21, 2026

What changes were proposed in this pull request?

Removes redundant queryStartTime update call

Why are the changes needed?

The Compiler.createPlan() always sets queryStartTime from QueryDisplay. So every compileInternal call already
handles the start time.

Does this PR introduce any user-facing change?

No

How was this patch tested?

Jenkins

@deniskuzZ deniskuzZ changed the title HIVE-29519: Redundant perfLogger reset and queryStartTime update HIVE-29519: PerfLogger reset and queryStartTime update refactor Mar 21, 2026
private final QueryState queryState;
private final DriverState driverState;
private final PerfLogger perfLogger = SessionState.getPerfLogger();
private final PerfLogger perfLogger = SessionState.getPerfLogger(true);
Copy link
Member Author

Choose a reason for hiding this comment

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

sync with downstream

@deniskuzZ deniskuzZ changed the title HIVE-29519: PerfLogger reset and queryStartTime update refactor HIVE-29519: Redundant queryStartTime update Mar 21, 2026
@sonarqubecloud
Copy link

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.

2 participants