HDFS scan operator may not always return diags info with error entry
Affects | Status | Importance | Assigned to | Milestone | |
---|---|---|---|---|---|
Trafodion |
New
|
Medium
|
Justin Du |
Bug Description
This problem was found when examining the esp core files. The code dump was due to the reason at these lines in sql/executor/
349 ComDiagsArea * da = src_entry-
350 ex_assert(da, "We have a Q_SQLERROR in Tupleflow but no diags area");
351
Further analysis indicates that ExHdfsScanTcb:
When the work method inserts a Q_SQLERROR entry, it expects that the head entry of the parent down queue contains the diags area, which was populated in other steps prior to the HANDLE_ERROR step, or the workAtp_ should have one. Otherwise, it could return that entry without populated the atp_ diags area of the entry.
The more suspicious area is at line 820 of sql/executor/
Changed in trafodion: | |
assignee: | nobody → Justin Du (justin-du-2) |
Changed in trafodion: | |
milestone: | r1.1 → r2.0 |