This PR separates the Collection payload format from its tsv format. Previously the tsv format called query_to_payload internally, which caused the collection value to attempt to reformat / flatten twice, resulting in exceptions (and would result in users not being able to download TSV files in Timur, if they involved a collection attribute). This change removes the second formatting attempt and also adds a test to check behaviour.
This PR separates the Collection
payload
format from itstsv
format. Previously thetsv
format calledquery_to_payload
internally, which caused the collection value to attempt to reformat / flatten twice, resulting in exceptions (and would result in users not being able to download TSV files in Timur, if they involved a collection attribute). This change removes the second formatting attempt and also adds a test to check behaviour.