generated from amazon-archives/__template_Apache-2.0
-
Notifications
You must be signed in to change notification settings - Fork 49
Open
Labels
maintenanceCode refactoringCode refactoring
Description
Currently, DataFrame formatting in FlintJob is scattered across multiple locations:
- SingleStatementExecutionManagerImpl handles DataFrame formatting for streaming queries
- QueryResultWriter.processDataFrame() handles for successful interactive queries
- constructErrorDF handles all failed queries
Consolidating all DataFrame formatting through a single unified approach using QueryResultWriter.processDataFrame method. This will centralize all DataFrame formatting logic in one place.
Notes
The following considerations need to be addressed during implementation:
- Pass
jobTypetoprocessDataFramefor different cleanup logic between streaming and interactive queries - ** Refactor logic for getting requestIndex/ Ensure
requestIndexis available in session context** for streaming queries to maintain current functionality - Handle failed/timeout states generically - either create a new method or extend the existing
processDataFramemethod to handle both success and failure cases
Reactions are currently unavailable
Metadata
Metadata
Assignees
Labels
maintenanceCode refactoringCode refactoring