Fixed a bug that some columns become null for in-memory tables when lateral view explode is used.