added materialization step before an insert and a scan/join of the same dataset.
23 files changed