[#46476035] refactor sql streamer to call meta_data only once on sql result_set