draft of tptWriteTable, way faster than bteq